repo_name
stringlengths 5
122
| path
stringlengths 3
232
| text
stringlengths 6
1.05M
|
---|---|---|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UPathFollowingManager.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManagePathFollowingManager.h"
#include "Runtime/AIModule/Classes/Navigation/PathFollowingManager.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\AIModule\Classes\Navigation\PathFollowingManager.h:13
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UPathFollowingManager(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UPathFollowingManager>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UPathFollowingManager_IsFollowingAPath(UPathFollowingManager* Self, AController& Controller)
{
auto& _p0 = Controller;
return Self->IsFollowingAPath(_p0);
}
DOTNET_EXPORT auto E_UPathFollowingManager_StopMovement(UPathFollowingManager* Self, AController& Controller)
{
auto& _p0 = Controller;
Self->StopMovement(_p0);
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_BeginDestroy(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_FinishDestroy(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PostCDOContruct(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PostEditImport(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PostInitProperties(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PostLoad(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PostNetReceive(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PostRepNotifies(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManagePathFollowingManager*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PreDestroyFromReplication(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_PreNetReceive(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_ShutdownAfterError(UObject* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_CreateCluster(UObjectBaseUtility* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UPathFollowingManager_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManagePathFollowingManager*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/DotnetMetadata.h | <reponame>mrkriv/UnrealDotNet
#pragma once
#include "CoreMinimal.h"
#include "DotnetMetadata.generated.h"
class FJsonObject;
USTRUCT(BlueprintType)
struct UNREALDOTNETRUNTIME_API FDotnetMetadata_Property
{
GENERATED_BODY()
FString Name;
FString Type;
FString Default;
bool bCanEdit;
FDotnetMetadata_Property() {}
FDotnetMetadata_Property(TSharedPtr<FJsonObject> json);
};
USTRUCT(BlueprintType)
struct UNREALDOTNETRUNTIME_API FDotnetMetadata_Type
{
GENERATED_BODY()
FString Name;
FString Base;
bool bIsManage;
FString ManageClassName;
TArray<FDotnetMetadata_Property> Propertys;
FDotnetMetadata_Type() {}
FDotnetMetadata_Type(TSharedPtr<FJsonObject> json);
class UClass* GetCppClass() const;
};
USTRUCT(BlueprintType)
struct UNREALDOTNETRUNTIME_API FDotnetMetadata
{
GENERATED_BODY()
TArray<FDotnetMetadata_Type> Types;
FDotnetMetadata() {}
FDotnetMetadata(TSharedPtr<FJsonObject> json);
};
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UBoxReflectionCaptureComponent.h | <gh_stars>10-100
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/Engine/Classes/Components/BoxReflectionCaptureComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\BoxReflectionCaptureComponent.h:13
extern "C"
{
DOTNET_EXPORT auto E_PROP_UBoxReflectionCaptureComponent_BoxTransitionDistance_GET(UBoxReflectionCaptureComponent* Ptr) { return Ptr->BoxTransitionDistance; }
DOTNET_EXPORT void E_PROP_UBoxReflectionCaptureComponent_BoxTransitionDistance_SET(UBoxReflectionCaptureComponent* Ptr, float Value) { Ptr->BoxTransitionDistance = Value; }
DOTNET_EXPORT auto E_PROP_UBoxReflectionCaptureComponent_PreviewCaptureBox_GET(UBoxReflectionCaptureComponent* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->PreviewCaptureBox); }
DOTNET_EXPORT void E_PROP_UBoxReflectionCaptureComponent_PreviewCaptureBox_SET(UBoxReflectionCaptureComponent* Ptr, UBoxComponent* Value) { Ptr->PreviewCaptureBox = Value; }
DOTNET_EXPORT auto E_PROP_UBoxReflectionCaptureComponent_PreviewInfluenceBox_GET(UBoxReflectionCaptureComponent* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->PreviewInfluenceBox); }
DOTNET_EXPORT void E_PROP_UBoxReflectionCaptureComponent_PreviewInfluenceBox_SET(UBoxReflectionCaptureComponent* Ptr, UBoxComponent* Value) { Ptr->PreviewInfluenceBox = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UBoxReflectionCaptureComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UBoxReflectionCaptureComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UHierarchicalLODSetup.h | <gh_stars>10-100
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageHierarchicalLODSetup.h"
#include "Runtime/Engine/Classes/GameFramework/WorldSettings.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\WorldSettings.h:338
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UHierarchicalLODSetup(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UHierarchicalLODSetup>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_BeginDestroy(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_FinishDestroy(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PostCDOContruct(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PostEditImport(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PostInitProperties(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PostLoad(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PostNetReceive(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PostRepNotifies(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageHierarchicalLODSetup*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PreDestroyFromReplication(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_PreNetReceive(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_ShutdownAfterError(UObject* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_CreateCluster(UObjectBaseUtility* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UHierarchicalLODSetup_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageHierarchicalLODSetup*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UOnlineSession.h | <filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UOnlineSession.h
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageOnlineSession.h"
#include "Runtime/Engine/Classes/GameFramework/OnlineSession.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\OnlineSession.h:18
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UOnlineSession(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UOnlineSession>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UOnlineSession_ClearOnlineDelegates(UOnlineSession* Self)
{
Self->ClearOnlineDelegates();
}
DOTNET_EXPORT auto E_UOnlineSession_EndOnlineSession(UOnlineSession* Self, char* SessionName)
{
auto _p0 = ConvertFromManage_FName(SessionName);
Self->EndOnlineSession(_p0);
}
DOTNET_EXPORT auto E_UOnlineSession_RegisterOnlineDelegates(UOnlineSession* Self)
{
Self->RegisterOnlineDelegates();
}
DOTNET_EXPORT auto E_UOnlineSession_StartOnlineSession(UOnlineSession* Self, char* SessionName)
{
auto _p0 = ConvertFromManage_FName(SessionName);
Self->StartOnlineSession(_p0);
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_ClearOnlineDelegates(UOnlineSession* Self)
{
((UManageOnlineSession*)Self)->_Supper__ClearOnlineDelegates();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_RegisterOnlineDelegates(UOnlineSession* Self)
{
((UManageOnlineSession*)Self)->_Supper__RegisterOnlineDelegates();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_BeginDestroy(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_FinishDestroy(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PostCDOContruct(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PostEditImport(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PostInitProperties(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PostLoad(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PostNetReceive(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PostRepNotifies(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageOnlineSession*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PreDestroyFromReplication(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_PreNetReceive(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_ShutdownAfterError(UObject* Self)
{
((UManageOnlineSession*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_CreateCluster(UObjectBaseUtility* Self)
{
((UManageOnlineSession*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UOnlineSession_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageOnlineSession*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/ManageObject.h | <filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/ManageObject.h
#pragma once
#include "CoreMinimal.h"
#include "CoreShell.h"
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UMaterialBillboardComponent.h | <reponame>mrkriv/UnrealDotNet
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageMaterialBillboardComponent.h"
#include "Runtime/Engine/Classes/Components/MaterialBillboardComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\MaterialBillboardComponent.h:61
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UMaterialBillboardComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UMaterialBillboardComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnComponentCollisionSettingsChanged(UPrimitiveComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnComponentCollisionSettingsChanged();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PutAllRigidBodiesToSleep(UPrimitiveComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PutAllRigidBodiesToSleep();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetAllMassScale(UPrimitiveComponent* Self, float InMassScale)
{
auto _p0 = InMassScale;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetAllMassScale(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetAllUseCCD(UPrimitiveComponent* Self, bool InUseCCD)
{
auto _p0 = InUseCCD;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetAllUseCCD(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetAngularDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetAngularDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetEnableGravity(UPrimitiveComponent* Self, bool bGravityEnabled)
{
auto _p0 = bGravityEnabled;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetEnableGravity(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetLinearDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetLinearDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetNotifyRigidBodyCollision(UPrimitiveComponent* Self, bool bNewNotifyRigidBodyCollision)
{
auto _p0 = bNewNotifyRigidBodyCollision;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetNotifyRigidBodyCollision(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetSimulatePhysics(UPrimitiveComponent* Self, bool bSimulate)
{
auto _p0 = bSimulate;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetSimulatePhysics(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_UnWeldChildren(UPrimitiveComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__UnWeldChildren();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_UnWeldFromParent(UPrimitiveComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__UnWeldFromParent();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_UpdatePhysicsToRBChannels(UPrimitiveComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__UpdatePhysicsToRBChannels();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_WakeAllRigidBodies(UPrimitiveComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__WakeAllRigidBodies();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageMaterialBillboardComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_UpdateBounds(USceneComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageMaterialBillboardComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageMaterialBillboardComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_BeginPlay(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_Deactivate(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageMaterialBillboardComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_InitializeComponent(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageMaterialBillboardComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageMaterialBillboardComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnRegister(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnUnregister(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageMaterialBillboardComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageMaterialBillboardComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_ToggleActive(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_BeginDestroy(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_FinishDestroy(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PostCDOContruct(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PostEditImport(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PostInitProperties(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PostLoad(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PostNetReceive(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PostRepNotifies(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageMaterialBillboardComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_PreNetReceive(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_ShutdownAfterError(UObject* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UMaterialBillboardComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageMaterialBillboardComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/APlayerController.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManagePlayerController.h"
#include "Runtime/Engine/Classes/GameFramework/PlayerController.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\PlayerController.h:237
class E_PROTECTED_WRAP_APlayerController : protected APlayerController
{
public:
void BeginPlayingState_WRAP()
{
BeginPlayingState();
}
void EndPlayingState_WRAP()
{
EndPlayingState();
}
};
extern "C"
{
DOTNET_EXPORT auto E_PROP_APlayerController_AcknowledgedPawn_GET(APlayerController* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->AcknowledgedPawn); }
DOTNET_EXPORT void E_PROP_APlayerController_AcknowledgedPawn_SET(APlayerController* Ptr, APawn* Value) { Ptr->AcknowledgedPawn = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_bAutoManageActiveCameraTarget_GET(APlayerController* Ptr) { return Ptr->bAutoManageActiveCameraTarget; }
DOTNET_EXPORT void E_PROP_APlayerController_bAutoManageActiveCameraTarget_SET(APlayerController* Ptr, bool Value) { Ptr->bAutoManageActiveCameraTarget = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_BlendedTargetViewRotation_GET(APlayerController* Ptr) { return (INT_PTR)&(Ptr->BlendedTargetViewRotation); }
DOTNET_EXPORT void E_PROP_APlayerController_BlendedTargetViewRotation_SET(APlayerController* Ptr, INT_PTR Value) { Ptr->BlendedTargetViewRotation = *(FRotator*)Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_bRenderPrimitiveComponents_GET(APlayerController* Ptr) { return Ptr->bRenderPrimitiveComponents; }
DOTNET_EXPORT void E_PROP_APlayerController_bRenderPrimitiveComponents_SET(APlayerController* Ptr, bool Value) { Ptr->bRenderPrimitiveComponents = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_CheatManager_GET(APlayerController* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->CheatManager); }
DOTNET_EXPORT void E_PROP_APlayerController_CheatManager_SET(APlayerController* Ptr, UCheatManager* Value) { Ptr->CheatManager = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_ClientCap_GET(APlayerController* Ptr) { return Ptr->ClientCap; }
DOTNET_EXPORT void E_PROP_APlayerController_ClientCap_SET(APlayerController* Ptr, int32 Value) { Ptr->ClientCap = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_ForceFeedbackScale_GET(APlayerController* Ptr) { return Ptr->ForceFeedbackScale; }
DOTNET_EXPORT void E_PROP_APlayerController_ForceFeedbackScale_SET(APlayerController* Ptr, float Value) { Ptr->ForceFeedbackScale = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_HitResultTraceDistance_GET(APlayerController* Ptr) { return Ptr->HitResultTraceDistance; }
DOTNET_EXPORT void E_PROP_APlayerController_HitResultTraceDistance_SET(APlayerController* Ptr, float Value) { Ptr->HitResultTraceDistance = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_InputPitchScale_GET(APlayerController* Ptr) { return Ptr->InputPitchScale; }
DOTNET_EXPORT void E_PROP_APlayerController_InputPitchScale_SET(APlayerController* Ptr, float Value) { Ptr->InputPitchScale = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_InputRollScale_GET(APlayerController* Ptr) { return Ptr->InputRollScale; }
DOTNET_EXPORT void E_PROP_APlayerController_InputRollScale_SET(APlayerController* Ptr, float Value) { Ptr->InputRollScale = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_InputYawScale_GET(APlayerController* Ptr) { return Ptr->InputYawScale; }
DOTNET_EXPORT void E_PROP_APlayerController_InputYawScale_SET(APlayerController* Ptr, float Value) { Ptr->InputYawScale = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_LastSpectatorStateSynchTime_GET(APlayerController* Ptr) { return Ptr->LastSpectatorStateSynchTime; }
DOTNET_EXPORT void E_PROP_APlayerController_LastSpectatorStateSynchTime_SET(APlayerController* Ptr, float Value) { Ptr->LastSpectatorStateSynchTime = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_LastSpectatorSyncLocation_GET(APlayerController* Ptr) { return (INT_PTR)&(Ptr->LastSpectatorSyncLocation); }
DOTNET_EXPORT void E_PROP_APlayerController_LastSpectatorSyncLocation_SET(APlayerController* Ptr, INT_PTR Value) { Ptr->LastSpectatorSyncLocation = *(FVector*)Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_LastSpectatorSyncRotation_GET(APlayerController* Ptr) { return (INT_PTR)&(Ptr->LastSpectatorSyncRotation); }
DOTNET_EXPORT void E_PROP_APlayerController_LastSpectatorSyncRotation_SET(APlayerController* Ptr, INT_PTR Value) { Ptr->LastSpectatorSyncRotation = *(FRotator*)Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_LocalPlayerCachedLODDistanceFactor_GET(APlayerController* Ptr) { return Ptr->LocalPlayerCachedLODDistanceFactor; }
DOTNET_EXPORT void E_PROP_APlayerController_LocalPlayerCachedLODDistanceFactor_SET(APlayerController* Ptr, float Value) { Ptr->LocalPlayerCachedLODDistanceFactor = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_MuteList_GET(APlayerController* Ptr) { return (INT_PTR)&(Ptr->MuteList); }
DOTNET_EXPORT void E_PROP_APlayerController_MuteList_SET(APlayerController* Ptr, INT_PTR Value) { Ptr->MuteList = *(FPlayerMuteList*)Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_MyHUD_GET(APlayerController* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->MyHUD); }
DOTNET_EXPORT void E_PROP_APlayerController_MyHUD_SET(APlayerController* Ptr, AHUD* Value) { Ptr->MyHUD = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_NetPlayerIndex_GET(APlayerController* Ptr) { return Ptr->NetPlayerIndex; }
DOTNET_EXPORT void E_PROP_APlayerController_NetPlayerIndex_SET(APlayerController* Ptr, uint8 Value) { Ptr->NetPlayerIndex = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_Player_GET(APlayerController* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->Player); }
DOTNET_EXPORT void E_PROP_APlayerController_Player_SET(APlayerController* Ptr, UPlayer* Value) { Ptr->Player = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_PlayerCameraManager_GET(APlayerController* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->PlayerCameraManager); }
DOTNET_EXPORT void E_PROP_APlayerController_PlayerCameraManager_SET(APlayerController* Ptr, APlayerCameraManager* Value) { Ptr->PlayerCameraManager = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_PlayerInput_GET(APlayerController* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->PlayerInput); }
DOTNET_EXPORT void E_PROP_APlayerController_PlayerInput_SET(APlayerController* Ptr, UPlayerInput* Value) { Ptr->PlayerInput = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_RotationInput_GET(APlayerController* Ptr) { return (INT_PTR)&(Ptr->RotationInput); }
DOTNET_EXPORT void E_PROP_APlayerController_RotationInput_SET(APlayerController* Ptr, INT_PTR Value) { Ptr->RotationInput = *(FRotator*)Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_SmoothTargetViewRotationSpeed_GET(APlayerController* Ptr) { return Ptr->SmoothTargetViewRotationSpeed; }
DOTNET_EXPORT void E_PROP_APlayerController_SmoothTargetViewRotationSpeed_SET(APlayerController* Ptr, float Value) { Ptr->SmoothTargetViewRotationSpeed = Value; }
DOTNET_EXPORT auto E_PROP_APlayerController_TargetViewRotation_GET(APlayerController* Ptr) { return (INT_PTR)&(Ptr->TargetViewRotation); }
DOTNET_EXPORT void E_PROP_APlayerController_TargetViewRotation_SET(APlayerController* Ptr, INT_PTR Value) { Ptr->TargetViewRotation = *(FRotator*)Value; }
DOTNET_EXPORT INT_PTR E_NewObject_APlayerController(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<APlayerController>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_APlayerController_ActivateTouchInterface(APlayerController* Self, UTouchInterface* NewTouchInterface)
{
auto _p0 = NewTouchInterface;
Self->ActivateTouchInterface(_p0);
}
DOTNET_EXPORT auto E_APlayerController_AddPitchInput(APlayerController* Self, float Val)
{
auto _p0 = Val;
Self->AddPitchInput(_p0);
}
DOTNET_EXPORT auto E_APlayerController_AddRollInput(APlayerController* Self, float Val)
{
auto _p0 = Val;
Self->AddRollInput(_p0);
}
DOTNET_EXPORT auto E_APlayerController_AddYawInput(APlayerController* Self, float Val)
{
auto _p0 = Val;
Self->AddYawInput(_p0);
}
DOTNET_EXPORT auto E_APlayerController_BeginPlayingState(APlayerController* Self)
{
((E_PROTECTED_WRAP_APlayerController*)Self)->BeginPlayingState_WRAP();
}
DOTNET_EXPORT auto E_APlayerController_Camera(APlayerController* Self, char* NewMode)
{
auto _p0 = ConvertFromManage_FName(NewMode);
Self->Camera(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientAddTextureStreamingLoc(APlayerController* Self, INT_PTR InLoc, float Duration, bool bOverrideLocation)
{
auto _p0 = *(FVector*)InLoc;
auto _p1 = Duration;
auto _p2 = bOverrideLocation;
Self->ClientAddTextureStreamingLoc(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_ClientCancelPendingMapChange(APlayerController* Self)
{
Self->ClientCancelPendingMapChange();
}
DOTNET_EXPORT auto E_APlayerController_ClientCapBandwidth(APlayerController* Self, int32 Cap)
{
auto _p0 = Cap;
Self->ClientCapBandwidth(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientClearCameraLensEffects(APlayerController* Self)
{
Self->ClientClearCameraLensEffects();
}
DOTNET_EXPORT auto E_APlayerController_ClientCommitMapChange(APlayerController* Self)
{
Self->ClientCommitMapChange();
}
DOTNET_EXPORT auto E_APlayerController_ClientEnableNetworkVoice(APlayerController* Self, bool bEnable)
{
auto _p0 = bEnable;
Self->ClientEnableNetworkVoice(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientEndOnlineSession(APlayerController* Self)
{
Self->ClientEndOnlineSession();
}
DOTNET_EXPORT auto E_APlayerController_ClientFlushLevelStreaming(APlayerController* Self)
{
Self->ClientFlushLevelStreaming();
}
DOTNET_EXPORT auto E_APlayerController_ClientForceGarbageCollection(APlayerController* Self)
{
Self->ClientForceGarbageCollection();
}
DOTNET_EXPORT auto E_APlayerController_ClientGameEnded(APlayerController* Self, AActor* EndGameFocus, bool bIsWinner)
{
auto _p0 = EndGameFocus;
auto _p1 = bIsWinner;
Self->ClientGameEnded(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_ClientGotoState(APlayerController* Self, char* NewState)
{
auto _p0 = ConvertFromManage_FName(NewState);
Self->ClientGotoState(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientIgnoreLookInput(APlayerController* Self, bool bIgnore)
{
auto _p0 = bIgnore;
Self->ClientIgnoreLookInput(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientIgnoreMoveInput(APlayerController* Self, bool bIgnore)
{
auto _p0 = bIgnore;
Self->ClientIgnoreMoveInput(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientMessage(APlayerController* Self, char* S, char* Type, float MsgLifeTime)
{
auto _p0 = ConvertFromManage_FString(S);
auto _p1 = ConvertFromManage_FName(Type);
auto _p2 = MsgLifeTime;
Self->ClientMessage(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_ClientPrepareMapChange(APlayerController* Self, char* LevelName, bool bFirst, bool bLast)
{
auto _p0 = ConvertFromManage_FName(LevelName);
auto _p1 = bFirst;
auto _p2 = bLast;
Self->ClientPrepareMapChange(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_ClientPrestreamTextures(APlayerController* Self, AActor* ForcedActor, float ForceDuration, bool bEnableStreaming, int32 CinematicTextureGroups)
{
auto _p0 = ForcedActor;
auto _p1 = ForceDuration;
auto _p2 = bEnableStreaming;
auto _p3 = CinematicTextureGroups;
Self->ClientPrestreamTextures(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_APlayerController_ClientRepObjRef(APlayerController* Self, UObject* Object)
{
auto _p0 = Object;
Self->ClientRepObjRef(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientReset(APlayerController* Self)
{
Self->ClientReset();
}
DOTNET_EXPORT auto E_APlayerController_ClientRestart(APlayerController* Self, APawn* NewPawn)
{
auto _p0 = NewPawn;
Self->ClientRestart(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientRetryClientRestart(APlayerController* Self, APawn* NewPawn)
{
auto _p0 = NewPawn;
Self->ClientRetryClientRestart(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientReturnToMainMenu(APlayerController* Self, char* ReturnReason)
{
auto _p0 = ConvertFromManage_FString(ReturnReason);
Self->ClientReturnToMainMenu(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientReturnToMainMenuWithTextReason(APlayerController* Self, char* ReturnReason)
{
auto _p0 = ConvertFromManage_FText(ReturnReason);
Self->ClientReturnToMainMenuWithTextReason(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientSetBlockOnAsyncLoading(APlayerController* Self)
{
Self->ClientSetBlockOnAsyncLoading();
}
DOTNET_EXPORT auto E_APlayerController_ClientSetCameraFade(APlayerController* Self, bool bEnableFading)
{
auto _p0 = bEnableFading;
Self->ClientSetCameraFade(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientSetCameraMode(APlayerController* Self, char* NewCamMode)
{
auto _p0 = ConvertFromManage_FName(NewCamMode);
Self->ClientSetCameraMode(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientSetCinematicMode(APlayerController* Self, bool bInCinematicMode, bool bAffectsMovement, bool bAffectsTurning, bool bAffectsHUD)
{
auto _p0 = bInCinematicMode;
auto _p1 = bAffectsMovement;
auto _p2 = bAffectsTurning;
auto _p3 = bAffectsHUD;
Self->ClientSetCinematicMode(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_APlayerController_ClientSetSpectatorWaiting(APlayerController* Self, bool bWaiting)
{
auto _p0 = bWaiting;
Self->ClientSetSpectatorWaiting(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ClientSetViewTarget(APlayerController* Self, AActor* A, INT_PTR TransitionParams)
{
auto _p0 = A;
auto _p1 = *(FViewTargetTransitionParams*)TransitionParams;
Self->ClientSetViewTarget(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_ClientStartOnlineSession(APlayerController* Self)
{
Self->ClientStartOnlineSession();
}
DOTNET_EXPORT auto E_APlayerController_ClientTeamMessage(APlayerController* Self, APlayerState* SenderPlayerState, char* S, char* Type, float MsgLifeTime)
{
auto _p0 = SenderPlayerState;
auto _p1 = ConvertFromManage_FString(S);
auto _p2 = ConvertFromManage_FName(Type);
auto _p3 = MsgLifeTime;
Self->ClientTeamMessage(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_APlayerController_ClientTravel(APlayerController* Self, char* URL, ETravelType TravelType, bool bSeamless)
{
auto _p0 = ConvertFromManage_FString(URL);
auto _p1 = TravelType;
auto _p2 = bSeamless;
Self->ClientTravel(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_ClientTravelInternal(APlayerController* Self, char* URL, ETravelType TravelType, bool bSeamless)
{
auto _p0 = ConvertFromManage_FString(URL);
auto _p1 = TravelType;
auto _p2 = bSeamless;
Self->ClientTravelInternal(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_ClientUpdateLevelStreamingStatus(APlayerController* Self, char* PackageName, bool bNewShouldBeLoaded, bool bNewShouldBeVisible, bool bNewShouldBlockOnLoad, int32 LODIndex)
{
auto _p0 = ConvertFromManage_FName(PackageName);
auto _p1 = bNewShouldBeLoaded;
auto _p2 = bNewShouldBeVisible;
auto _p3 = bNewShouldBlockOnLoad;
auto _p4 = LODIndex;
Self->ClientUpdateLevelStreamingStatus(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E_APlayerController_ClientVoiceHandshakeComplete(APlayerController* Self)
{
Self->ClientVoiceHandshakeComplete();
}
DOTNET_EXPORT auto E_APlayerController_ClientWasKicked(APlayerController* Self, char* KickReason)
{
auto _p0 = ConvertFromManage_FText(KickReason);
Self->ClientWasKicked(_p0);
}
DOTNET_EXPORT auto E_APlayerController_DelayedPrepareMapChange(APlayerController* Self)
{
Self->DelayedPrepareMapChange();
}
DOTNET_EXPORT auto E_APlayerController_DeprojectMousePositionToWorld(APlayerController* Self, INT_PTR WorldLocation, INT_PTR WorldDirection)
{
auto& _p0 = *(FVector*)WorldLocation;
auto& _p1 = *(FVector*)WorldDirection;
return Self->DeprojectMousePositionToWorld(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_DeprojectScreenPositionToWorld(APlayerController* Self, float ScreenX, float ScreenY, INT_PTR WorldLocation, INT_PTR WorldDirection)
{
auto _p0 = ScreenX;
auto _p1 = ScreenY;
auto& _p2 = *(FVector*)WorldLocation;
auto& _p3 = *(FVector*)WorldDirection;
return Self->DeprojectScreenPositionToWorld(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_APlayerController_EnableCheats(APlayerController* Self)
{
Self->EnableCheats();
}
DOTNET_EXPORT auto E_APlayerController_EndPlayingState(APlayerController* Self)
{
((E_PROTECTED_WRAP_APlayerController*)Self)->EndPlayingState_WRAP();
}
DOTNET_EXPORT auto E_APlayerController_FOV(APlayerController* Self, float NewFOV)
{
auto _p0 = NewFOV;
Self->FOV(_p0);
}
DOTNET_EXPORT auto E_APlayerController_GetHitResultAtScreenPosition(APlayerController* Self, INT_PTR ScreenPosition, ECollisionChannel TraceChannel, INT_PTR CollisionQueryParams, INT_PTR HitResult)
{
auto _p0 = *(FVector2D*)ScreenPosition;
auto _p1 = TraceChannel;
auto& _p2 = *(FCollisionQueryParams*)CollisionQueryParams;
auto& _p3 = *(FHitResult*)HitResult;
return Self->GetHitResultAtScreenPosition(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_APlayerController_GetHitResultAtScreenPosition_o1(APlayerController* Self, INT_PTR ScreenPosition, ECollisionChannel TraceChannel, bool bTraceComplex, INT_PTR HitResult)
{
auto _p0 = *(FVector2D*)ScreenPosition;
auto _p1 = TraceChannel;
auto _p2 = bTraceComplex;
auto& _p3 = *(FHitResult*)HitResult;
return Self->GetHitResultAtScreenPosition(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_APlayerController_GetHitResultAtScreenPosition_o2(APlayerController* Self, INT_PTR ScreenPosition, ETraceTypeQuery TraceChannel, bool bTraceComplex, INT_PTR HitResult)
{
auto _p0 = *(FVector2D*)ScreenPosition;
auto _p1 = TraceChannel;
auto _p2 = bTraceComplex;
auto& _p3 = *(FHitResult*)HitResult;
return Self->GetHitResultAtScreenPosition(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_APlayerController_GetHitResultUnderCursor(APlayerController* Self, ECollisionChannel TraceChannel, bool bTraceComplex, INT_PTR HitResult)
{
auto _p0 = TraceChannel;
auto _p1 = bTraceComplex;
auto& _p2 = *(FHitResult*)HitResult;
return Self->GetHitResultUnderCursor(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_GetHitResultUnderCursorByChannel(APlayerController* Self, ETraceTypeQuery TraceChannel, bool bTraceComplex, INT_PTR HitResult)
{
auto _p0 = TraceChannel;
auto _p1 = bTraceComplex;
auto& _p2 = *(FHitResult*)HitResult;
return Self->GetHitResultUnderCursorByChannel(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_GetHUD(APlayerController* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetHUD());
}
DOTNET_EXPORT auto E_APlayerController_GetInputMotionState(APlayerController* Self, INT_PTR Tilt, INT_PTR RotationRate, INT_PTR Gravity, INT_PTR Acceleration)
{
auto& _p0 = *(FVector*)Tilt;
auto& _p1 = *(FVector*)RotationRate;
auto& _p2 = *(FVector*)Gravity;
auto& _p3 = *(FVector*)Acceleration;
Self->GetInputMotionState(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_APlayerController_GetInputMouseDelta(APlayerController* Self, float DeltaX, float DeltaY)
{
auto& _p0 = DeltaX;
auto& _p1 = DeltaY;
Self->GetInputMouseDelta(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_GetMinRespawnDelay(APlayerController* Self)
{
return Self->GetMinRespawnDelay();
}
DOTNET_EXPORT auto E_APlayerController_GetMousePosition(APlayerController* Self, float LocationX, float LocationY)
{
auto& _p0 = LocationX;
auto& _p1 = LocationY;
return Self->GetMousePosition(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_GetViewportSize(APlayerController* Self, int32 SizeX, int32 SizeY)
{
auto& _p0 = SizeX;
auto& _p1 = SizeY;
Self->GetViewportSize(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_LocalTravel(APlayerController* Self, char* URL)
{
auto _p0 = ConvertFromManage_FString(URL);
Self->LocalTravel(_p0);
}
DOTNET_EXPORT auto E_APlayerController_NotifyLoadedWorld(APlayerController* Self, char* WorldPackageName, bool bFinalDest)
{
auto _p0 = ConvertFromManage_FName(WorldPackageName);
auto _p1 = bFinalDest;
Self->NotifyLoadedWorld(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_Pause(APlayerController* Self)
{
Self->Pause();
}
DOTNET_EXPORT auto E_APlayerController_PlayerTick(APlayerController* Self, float DeltaTime)
{
auto _p0 = DeltaTime;
Self->PlayerTick(_p0);
}
DOTNET_EXPORT auto E_APlayerController_PostProcessInput(APlayerController* Self, float DeltaTime, bool bGamePaused)
{
auto _p0 = DeltaTime;
auto _p1 = bGamePaused;
Self->PostProcessInput(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_PostProcessWorldToScreen(APlayerController* Self, INT_PTR WorldLocation, INT_PTR ScreenLocation, bool bPlayerViewportRelative)
{
auto _p0 = *(FVector*)WorldLocation;
auto& _p1 = *(FVector2D*)ScreenLocation;
auto _p2 = bPlayerViewportRelative;
return Self->PostProcessWorldToScreen(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_PostSeamlessTravel(APlayerController* Self)
{
Self->PostSeamlessTravel();
}
DOTNET_EXPORT auto E_APlayerController_PreProcessInput(APlayerController* Self, float DeltaTime, bool bGamePaused)
{
auto _p0 = DeltaTime;
auto _p1 = bGamePaused;
Self->PreProcessInput(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_ProjectWorldLocationToScreen(APlayerController* Self, INT_PTR WorldLocation, INT_PTR ScreenLocation, bool bPlayerViewportRelative)
{
auto _p0 = *(FVector*)WorldLocation;
auto& _p1 = *(FVector2D*)ScreenLocation;
auto _p2 = bPlayerViewportRelative;
return Self->ProjectWorldLocationToScreen(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_ProjectWorldLocationToScreenWithDistance(APlayerController* Self, INT_PTR WorldLocation, INT_PTR ScreenLocation, bool bPlayerViewportRelative)
{
auto _p0 = *(FVector*)WorldLocation;
auto& _p1 = *(FVector*)ScreenLocation;
auto _p2 = bPlayerViewportRelative;
return Self->ProjectWorldLocationToScreenWithDistance(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_ResetControllerLightColor(APlayerController* Self)
{
Self->ResetControllerLightColor();
}
DOTNET_EXPORT auto E_APlayerController_RestartLevel(APlayerController* Self)
{
Self->RestartLevel();
}
DOTNET_EXPORT auto E_APlayerController_SafeRetryClientRestart(APlayerController* Self)
{
Self->SafeRetryClientRestart();
}
DOTNET_EXPORT auto E_APlayerController_SafeServerCheckClientPossession(APlayerController* Self)
{
Self->SafeServerCheckClientPossession();
}
DOTNET_EXPORT auto E_APlayerController_SafeServerUpdateSpectatorState(APlayerController* Self)
{
Self->SafeServerUpdateSpectatorState();
}
DOTNET_EXPORT auto E_APlayerController_SeamlessTravelFrom(APlayerController* Self, APlayerController* OldPC)
{
auto _p0 = OldPC;
Self->SeamlessTravelFrom(_p0);
}
DOTNET_EXPORT auto E_APlayerController_SeamlessTravelTo(APlayerController* Self, APlayerController* NewPC)
{
auto _p0 = NewPC;
Self->SeamlessTravelTo(_p0);
}
DOTNET_EXPORT auto E_APlayerController_SendToConsole(APlayerController* Self, char* Command)
{
auto _p0 = ConvertFromManage_FString(Command);
Self->SendToConsole(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ServerAcknowledgePossession(APlayerController* Self, APawn* P)
{
auto _p0 = P;
Self->ServerAcknowledgePossession(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ServerCamera(APlayerController* Self, char* NewMode)
{
auto _p0 = ConvertFromManage_FName(NewMode);
Self->ServerCamera(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ServerChangeName(APlayerController* Self, char* S)
{
auto _p0 = ConvertFromManage_FString(S);
Self->ServerChangeName(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ServerCheckClientPossession(APlayerController* Self)
{
Self->ServerCheckClientPossession();
}
DOTNET_EXPORT auto E_APlayerController_ServerCheckClientPossessionReliable(APlayerController* Self)
{
Self->ServerCheckClientPossessionReliable();
}
DOTNET_EXPORT auto E_APlayerController_ServerNotifyLoadedWorld(APlayerController* Self, char* WorldPackageName)
{
auto _p0 = ConvertFromManage_FName(WorldPackageName);
Self->ServerNotifyLoadedWorld(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ServerPause(APlayerController* Self)
{
Self->ServerPause();
}
DOTNET_EXPORT auto E_APlayerController_ServerRestartPlayer(APlayerController* Self)
{
Self->ServerRestartPlayer();
}
DOTNET_EXPORT auto E_APlayerController_ServerSetSpectatorLocation(APlayerController* Self, INT_PTR NewLoc, INT_PTR NewRot)
{
auto _p0 = *(FVector*)NewLoc;
auto _p1 = *(FRotator*)NewRot;
Self->ServerSetSpectatorLocation(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_ServerSetSpectatorWaiting(APlayerController* Self, bool bWaiting)
{
auto _p0 = bWaiting;
Self->ServerSetSpectatorWaiting(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ServerShortTimeout(APlayerController* Self)
{
Self->ServerShortTimeout();
}
DOTNET_EXPORT auto E_APlayerController_ServerToggleAILogging(APlayerController* Self)
{
Self->ServerToggleAILogging();
}
DOTNET_EXPORT auto E_APlayerController_ServerUpdateCamera(APlayerController* Self, INT_PTR CamLoc, int32 CamPitchAndYaw)
{
auto _p0 = *(FVector_NetQuantize*)CamLoc;
auto _p1 = CamPitchAndYaw;
Self->ServerUpdateCamera(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_ServerUpdateLevelVisibility(APlayerController* Self, char* PackageName, bool bIsVisible)
{
auto _p0 = ConvertFromManage_FName(PackageName);
auto _p1 = bIsVisible;
Self->ServerUpdateLevelVisibility(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_ServerVerifyViewTarget(APlayerController* Self)
{
Self->ServerVerifyViewTarget();
}
DOTNET_EXPORT auto E_APlayerController_ServerViewNextPlayer(APlayerController* Self)
{
Self->ServerViewNextPlayer();
}
DOTNET_EXPORT auto E_APlayerController_ServerViewPrevPlayer(APlayerController* Self)
{
Self->ServerViewPrevPlayer();
}
DOTNET_EXPORT auto E_APlayerController_ServerViewSelf(APlayerController* Self, INT_PTR TransitionParams)
{
auto _p0 = *(FViewTargetTransitionParams*)TransitionParams;
Self->ServerViewSelf(_p0);
}
DOTNET_EXPORT auto E_APlayerController_SetCinematicMode(APlayerController* Self, bool bInCinematicMode, bool bAffectsMovement, bool bAffectsTurning)
{
auto _p0 = bInCinematicMode;
auto _p1 = bAffectsMovement;
auto _p2 = bAffectsTurning;
Self->SetCinematicMode(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_APlayerController_SetDisableHaptics(APlayerController* Self, bool bNewDisabled)
{
auto _p0 = bNewDisabled;
Self->SetDisableHaptics(_p0);
}
DOTNET_EXPORT auto E_APlayerController_SetMouseLocation(APlayerController* Self, int X, int Y)
{
auto _p0 = X;
auto _p1 = Y;
Self->SetMouseLocation(_p0, _p1);
}
DOTNET_EXPORT auto E_APlayerController_SetName(APlayerController* Self, char* S)
{
auto _p0 = ConvertFromManage_FString(S);
Self->SetName(_p0);
}
DOTNET_EXPORT auto E_APlayerController_SetPause(APlayerController* Self, bool bPause)
{
auto _p0 = bPause;
return Self->SetPause(_p0);
}
DOTNET_EXPORT auto E_APlayerController_SetViewTargetWithBlend(APlayerController* Self, AActor* NewViewTarget, float BlendTime, EViewTargetBlendFunction BlendFunc, float BlendExp, bool bLockOutgoing)
{
auto _p0 = NewViewTarget;
auto _p1 = BlendTime;
auto _p2 = BlendFunc;
auto _p3 = BlendExp;
auto _p4 = bLockOutgoing;
Self->SetViewTargetWithBlend(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E_APlayerController_SetVirtualJoystickVisibility(APlayerController* Self, bool bVisible)
{
auto _p0 = bVisible;
Self->SetVirtualJoystickVisibility(_p0);
}
DOTNET_EXPORT auto E_APlayerController_StartFire(APlayerController* Self, uint8 FireModeNum)
{
auto _p0 = FireModeNum;
Self->StartFire(_p0);
}
DOTNET_EXPORT auto E_APlayerController_StartTalking(APlayerController* Self)
{
Self->StartTalking();
}
DOTNET_EXPORT auto E_APlayerController_StopTalking(APlayerController* Self)
{
Self->StopTalking();
}
DOTNET_EXPORT auto E_APlayerController_SwitchLevel(APlayerController* Self, char* URL)
{
auto _p0 = ConvertFromManage_FString(URL);
Self->SwitchLevel(_p0);
}
DOTNET_EXPORT auto E_APlayerController_ToggleSpeaking(APlayerController* Self, bool bInSpeaking)
{
auto _p0 = bInSpeaking;
Self->ToggleSpeaking(_p0);
}
DOTNET_EXPORT auto E_APlayerController_UnFreeze(APlayerController* Self)
{
Self->UnFreeze();
}
DOTNET_EXPORT auto E_APlayerController_UpdateRotation(APlayerController* Self, float DeltaTime)
{
auto _p0 = DeltaTime;
Self->UpdateRotation(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_AddPitchInput(APlayerController* Self, float Val)
{
auto _p0 = Val;
((AManagePlayerController*)Self)->_Supper__AddPitchInput(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_AddRollInput(APlayerController* Self, float Val)
{
auto _p0 = Val;
((AManagePlayerController*)Self)->_Supper__AddRollInput(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_AddYawInput(APlayerController* Self, float Val)
{
auto _p0 = Val;
((AManagePlayerController*)Self)->_Supper__AddYawInput(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_BeginPlayingState(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__BeginPlayingState();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ClientClearCameraLensEffects(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__ClientClearCameraLensEffects();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ClientEnableNetworkVoice(APlayerController* Self, bool bEnable)
{
auto _p0 = bEnable;
((AManagePlayerController*)Self)->_Supper__ClientEnableNetworkVoice(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_ClientVoiceHandshakeComplete(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__ClientVoiceHandshakeComplete();
}
DOTNET_EXPORT auto E__Supper__APlayerController_DelayedPrepareMapChange(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__DelayedPrepareMapChange();
}
DOTNET_EXPORT auto E__Supper__APlayerController_EnableCheats(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__EnableCheats();
}
DOTNET_EXPORT auto E__Supper__APlayerController_EndPlayingState(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__EndPlayingState();
}
DOTNET_EXPORT auto E__Supper__APlayerController_FOV(APlayerController* Self, float NewFOV)
{
auto _p0 = NewFOV;
((AManagePlayerController*)Self)->_Supper__FOV(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_Pause(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__Pause();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PlayerTick(APlayerController* Self, float DeltaTime)
{
auto _p0 = DeltaTime;
((AManagePlayerController*)Self)->_Supper__PlayerTick(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostProcessInput(APlayerController* Self, float DeltaTime, bool bGamePaused)
{
auto _p0 = DeltaTime;
auto _p1 = bGamePaused;
((AManagePlayerController*)Self)->_Supper__PostProcessInput(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostSeamlessTravel(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__PostSeamlessTravel();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PreProcessInput(APlayerController* Self, float DeltaTime, bool bGamePaused)
{
auto _p0 = DeltaTime;
auto _p1 = bGamePaused;
((AManagePlayerController*)Self)->_Supper__PreProcessInput(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__APlayerController_RestartLevel(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__RestartLevel();
}
DOTNET_EXPORT auto E__Supper__APlayerController_SafeRetryClientRestart(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__SafeRetryClientRestart();
}
DOTNET_EXPORT auto E__Supper__APlayerController_SafeServerCheckClientPossession(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__SafeServerCheckClientPossession();
}
DOTNET_EXPORT auto E__Supper__APlayerController_SetCinematicMode(APlayerController* Self, bool bInCinematicMode, bool bAffectsMovement, bool bAffectsTurning)
{
auto _p0 = bInCinematicMode;
auto _p1 = bAffectsMovement;
auto _p2 = bAffectsTurning;
((AManagePlayerController*)Self)->_Supper__SetCinematicMode(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__APlayerController_SetDisableHaptics(APlayerController* Self, bool bNewDisabled)
{
auto _p0 = bNewDisabled;
((AManagePlayerController*)Self)->_Supper__SetDisableHaptics(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_SetVirtualJoystickVisibility(APlayerController* Self, bool bVisible)
{
auto _p0 = bVisible;
((AManagePlayerController*)Self)->_Supper__SetVirtualJoystickVisibility(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_StartFire(APlayerController* Self, uint8 FireModeNum)
{
auto _p0 = FireModeNum;
((AManagePlayerController*)Self)->_Supper__StartFire(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_ToggleSpeaking(APlayerController* Self, bool bInSpeaking)
{
auto _p0 = bInSpeaking;
((AManagePlayerController*)Self)->_Supper__ToggleSpeaking(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_UnFreeze(APlayerController* Self)
{
((AManagePlayerController*)Self)->_Supper__UnFreeze();
}
DOTNET_EXPORT auto E__Supper__APlayerController_UpdateRotation(APlayerController* Self, float DeltaTime)
{
auto _p0 = DeltaTime;
((AManagePlayerController*)Self)->_Supper__UpdateRotation(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_BeginInactiveState(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__BeginInactiveState();
}
DOTNET_EXPORT auto E__Supper__APlayerController_CleanupPlayerState(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__CleanupPlayerState();
}
DOTNET_EXPORT auto E__Supper__APlayerController_CurrentLevelUnloaded(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__CurrentLevelUnloaded();
}
DOTNET_EXPORT auto E__Supper__APlayerController_DetachFromPawn(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__DetachFromPawn();
}
DOTNET_EXPORT auto E__Supper__APlayerController_EndInactiveState(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__EndInactiveState();
}
DOTNET_EXPORT auto E__Supper__APlayerController_FailedToSpawnPawn(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__FailedToSpawnPawn();
}
DOTNET_EXPORT auto E__Supper__APlayerController_InitPlayerState(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__InitPlayerState();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnRep_Pawn(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__OnRep_Pawn();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnRep_PlayerState(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__OnRep_PlayerState();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnUnPossess(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__OnUnPossess();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ResetIgnoreInputFlags(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__ResetIgnoreInputFlags();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ResetIgnoreLookInput(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__ResetIgnoreLookInput();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ResetIgnoreMoveInput(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__ResetIgnoreMoveInput();
}
DOTNET_EXPORT auto E__Supper__APlayerController_SetIgnoreLookInput(AController* Self, bool bNewLookInput)
{
auto _p0 = bNewLookInput;
((AManagePlayerController*)Self)->_Supper__SetIgnoreLookInput(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_SetIgnoreMoveInput(AController* Self, bool bNewMoveInput)
{
auto _p0 = bNewMoveInput;
((AManagePlayerController*)Self)->_Supper__SetIgnoreMoveInput(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_StopMovement(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__StopMovement();
}
DOTNET_EXPORT auto E__Supper__APlayerController_UpdateNavigationComponents(AController* Self)
{
((AManagePlayerController*)Self)->_Supper__UpdateNavigationComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerController_BeginPlay(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ClearCrossLevelReferences(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__ClearCrossLevelReferences();
}
DOTNET_EXPORT auto E__Supper__APlayerController_Destroyed(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__Destroyed();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ForceNetRelevant(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__ForceNetRelevant();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ForceNetUpdate(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__ForceNetUpdate();
}
DOTNET_EXPORT auto E__Supper__APlayerController_GatherCurrentMovement(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__GatherCurrentMovement();
}
DOTNET_EXPORT auto E__Supper__APlayerController_InvalidateLightingCacheDetailed(AActor* Self, bool bTranslationOnly)
{
auto _p0 = bTranslationOnly;
((AManagePlayerController*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_K2_DestroyActor(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__K2_DestroyActor();
}
DOTNET_EXPORT auto E__Supper__APlayerController_LifeSpanExpired(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__LifeSpanExpired();
}
DOTNET_EXPORT auto E__Supper__APlayerController_MarkComponentsAsPendingKill(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__MarkComponentsAsPendingKill();
}
DOTNET_EXPORT auto E__Supper__APlayerController_NotifyActorBeginCursorOver(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__NotifyActorBeginCursorOver();
}
DOTNET_EXPORT auto E__Supper__APlayerController_NotifyActorEndCursorOver(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__NotifyActorEndCursorOver();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnRep_AttachmentReplication(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__OnRep_AttachmentReplication();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnRep_Instigator(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__OnRep_Instigator();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnRep_Owner(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__OnRep_Owner();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnRep_ReplicatedMovement(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__OnRep_ReplicatedMovement();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnRep_ReplicateMovement(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__OnRep_ReplicateMovement();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnReplicationPausedChanged(AActor* Self, bool bIsReplicationPaused)
{
auto _p0 = bIsReplicationPaused;
((AManagePlayerController*)Self)->_Supper__OnReplicationPausedChanged(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_OutsideWorldBounds(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__OutsideWorldBounds();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostActorCreated(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PostActorCreated();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostInitializeComponents(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PostInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostNetInit(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PostNetInit();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostNetReceiveLocationAndRotation(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PostNetReceiveLocationAndRotation();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostNetReceivePhysicState(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PostNetReceivePhysicState();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostNetReceiveRole(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PostNetReceiveRole();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostRegisterAllComponents(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PostRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostUnregisterAllComponents(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PostUnregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PreInitializeComponents(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PreInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PreRegisterAllComponents(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__PreRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PrestreamTextures(AActor* Self, float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups)
{
auto _p0 = Seconds;
auto _p1 = bEnableStreaming;
auto _p2 = CinematicTextureGroups;
((AManagePlayerController*)Self)->_Supper__PrestreamTextures(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__APlayerController_RegisterActorTickFunctions(AActor* Self, bool bRegister)
{
auto _p0 = bRegister;
((AManagePlayerController*)Self)->_Supper__RegisterActorTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_RegisterAllComponents(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__RegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ReregisterAllComponents(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__ReregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerController_RerunConstructionScripts(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__RerunConstructionScripts();
}
DOTNET_EXPORT auto E__Supper__APlayerController_Reset(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__Reset();
}
DOTNET_EXPORT auto E__Supper__APlayerController_RewindForReplay(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__RewindForReplay();
}
DOTNET_EXPORT auto E__Supper__APlayerController_SetActorHiddenInGame(AActor* Self, bool bNewHidden)
{
auto _p0 = bNewHidden;
((AManagePlayerController*)Self)->_Supper__SetActorHiddenInGame(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_SetLifeSpan(AActor* Self, float InLifespan)
{
auto _p0 = InLifespan;
((AManagePlayerController*)Self)->_Supper__SetLifeSpan(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_SetReplicateMovement(AActor* Self, bool bInReplicateMovement)
{
auto _p0 = bInReplicateMovement;
((AManagePlayerController*)Self)->_Supper__SetReplicateMovement(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_TearOff(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__TearOff();
}
DOTNET_EXPORT auto E__Supper__APlayerController_TeleportSucceeded(AActor* Self, bool bIsATest)
{
auto _p0 = bIsATest;
((AManagePlayerController*)Self)->_Supper__TeleportSucceeded(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_Tick(AActor* Self, float DeltaSeconds)
{
auto _p0 = DeltaSeconds;
((AManagePlayerController*)Self)->_Supper__Tick(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_TornOff(AActor* Self)
{
((AManagePlayerController*)Self)->_Supper__TornOff();
}
DOTNET_EXPORT auto E__Supper__APlayerController_UnregisterAllComponents(AActor* Self, bool bForReregister)
{
auto _p0 = bForReregister;
((AManagePlayerController*)Self)->_Supper__UnregisterAllComponents(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_BeginDestroy(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__APlayerController_FinishDestroy(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__APlayerController_MarkAsEditorOnlySubobject(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostCDOContruct(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostEditImport(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostInitProperties(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostLoad(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostNetReceive(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostRepNotifies(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((AManagePlayerController*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerController_PreDestroyFromReplication(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__APlayerController_PreNetReceive(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__APlayerController_ShutdownAfterError(UObject* Self)
{
((AManagePlayerController*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__APlayerController_CreateCluster(UObjectBaseUtility* Self)
{
((AManagePlayerController*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__APlayerController_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((AManagePlayerController*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/ManualImplement/Index.h | #pragma once
#include "AActor.h"
#include "ActorFactoryManageActor.h"
#include "InputComponent.h" |
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Manage/ManageCharacterMovementComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreShell.h"
#include "ManageObject.h"
#include "TypeConvertor.h"
#include "Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h"
#include "ManageCharacterMovementComponent.generated.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\CharacterMovementComponent.h:159
UCLASS()
class UNREALDOTNETRUNTIME_API UManageCharacterMovementComponent : public UCharacterMovementComponent, public IManageObject
{
GENERATED_BODY()
public:
bool bIsManageAttach = false;
bool AddWrapperIfNotAttach() override;
void SetManageType(const FDotnetTypeName& ManageType) override;
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "C#")
FDotnetTypeName ManageClassName;
virtual void AdjustFloorHeight() override;
virtual void AdjustProxyCapsuleSize() override;
virtual void ApplyAccumulatedForces(float DeltaSeconds) override;
virtual void ApplyDownwardForce(float DeltaSeconds) override;
virtual void ApplyNetworkMovementMode(const uint8 ReceivedMode) override;
virtual void ApplyRepulsionForce(float DeltaSeconds) override;
virtual void ApplyVelocityBraking(float DeltaTime, float Friction, float BrakingDeceleration) override;
virtual void CalcVelocity(float DeltaTime, float Friction, bool bFluid, float BrakingDeceleration) override;
virtual void ClearAccumulatedForces() override;
virtual void ClientAckGoodMove(float TimeStamp) override;
virtual void ClientAckGoodMove_Implementation(float TimeStamp) override;
virtual void Crouch(bool bClientSimulation) override;
virtual void DisableMovement() override;
virtual void ForceReplicationUpdate() override;
virtual void MaintainHorizontalGroundVelocity() override;
virtual void MaybeSaveBaseLocation() override;
virtual void MaybeUpdateBasedMovement(float DeltaSeconds) override;
virtual void NotifyJumpApex() override;
virtual void OnClientTimeStampResetDetected() override;
virtual void OnTimeDiscrepancyDetected(float CurrentTimeDiscrepancy, float LifetimeRawTimeDiscrepancy, float Lifetime, float CurrentMoveError) override;
virtual void PerformMovement(float DeltaTime) override;
virtual void PhysCustom(float deltaTime, int32 Iterations) override;
virtual void PhysFalling(float deltaTime, int32 Iterations) override;
virtual void PhysFlying(float deltaTime, int32 Iterations) override;
virtual void PhysicsRotation(float DeltaTime) override;
virtual void PhysNavWalking(float deltaTime, int32 Iterations) override;
virtual void PhysSwimming(float deltaTime, int32 Iterations) override;
virtual void PhysWalking(float deltaTime, int32 Iterations) override;
virtual void SaveBaseLocation() override;
virtual void SetDefaultMovementMode() override;
virtual void SetNavWalkingPhysics(bool bEnable) override;
virtual void SimulateMovement(float DeltaTime) override;
virtual void SmoothClientPosition(float DeltaSeconds) override;
virtual void StartNewPhysics(float deltaTime, int32 Iterations) override;
virtual void UnCrouch(bool bClientSimulation) override;
virtual void UpdateBasedMovement(float DeltaSeconds) override;
virtual void UpdateCharacterStateAfterMovement(float DeltaSeconds) override;
virtual void UpdateCharacterStateBeforeMovement(float DeltaSeconds) override;
virtual void UpdateFloorFromAdjustment() override;
virtual void UpdateFromCompressedFlags(uint8 Flags) override;
virtual void UpdateProxyAcceleration() override;
virtual void StopActiveMovement() override;
virtual void OnTeleported() override;
virtual void SetPlaneConstraintEnabled(bool bEnabled) override;
virtual void SnapUpdatedComponentToPlane() override;
virtual void StopMovementImmediately() override;
virtual void UpdateComponentVelocity() override;
virtual void UpdateTickRegistration() override;
virtual void Activate(bool bReset) override;
virtual void BeginPlay() override;
virtual void CreateRenderState_Concurrent() override;
virtual void Deactivate() override;
virtual void DestroyComponent(bool bPromoteChildren) override;
virtual void DestroyRenderState_Concurrent() override;
virtual void InitializeComponent() override;
virtual void InvalidateLightingCacheDetailed(bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly) override;
virtual void OnActorEnableCollisionChanged() override;
virtual void OnComponentCreated() override;
virtual void OnComponentDestroyed(bool bDestroyingHierarchy) override;
virtual void OnCreatePhysicsState() override;
virtual void OnDestroyPhysicsState() override;
virtual void OnRegister() override;
virtual void OnRep_IsActive() override;
virtual void OnUnregister() override;
virtual void RegisterComponentTickFunctions(bool bRegister) override;
virtual void SendRenderDynamicData_Concurrent() override;
virtual void SendRenderTransform_Concurrent() override;
virtual void SetActive(bool bNewActive, bool bReset) override;
virtual void SetAutoActivate(bool bNewAutoActivate) override;
virtual void SetComponentTickEnabled(bool bEnabled) override;
virtual void SetComponentTickEnabledAsync(bool bEnabled) override;
virtual void ToggleActive() override;
virtual void UninitializeComponent() override;
virtual void BeginDestroy() override;
virtual void FinishDestroy() override;
virtual void MarkAsEditorOnlySubobject() override;
virtual void PostCDOContruct() override;
virtual void PostEditImport() override;
virtual void PostInitProperties() override;
virtual void PostLoad() override;
virtual void PostNetReceive() override;
virtual void PostRepNotifies() override;
virtual void PostSaveRoot(bool bCleanupIsRequired) override;
virtual void PreDestroyFromReplication() override;
virtual void PreNetReceive() override;
virtual void ShutdownAfterError() override;
virtual void CreateCluster() override;
virtual void OnClusterMarkedAsPendingKill() override;
void _Supper__AdjustFloorHeight();
void _Supper__AdjustProxyCapsuleSize();
void _Supper__ApplyAccumulatedForces(float DeltaSeconds);
void _Supper__ApplyDownwardForce(float DeltaSeconds);
void _Supper__ApplyNetworkMovementMode(const uint8 ReceivedMode);
void _Supper__ApplyRepulsionForce(float DeltaSeconds);
void _Supper__ApplyVelocityBraking(float DeltaTime, float Friction, float BrakingDeceleration);
void _Supper__CalcVelocity(float DeltaTime, float Friction, bool bFluid, float BrakingDeceleration);
void _Supper__ClearAccumulatedForces();
void _Supper__ClientAckGoodMove(float TimeStamp);
void _Supper__ClientAckGoodMove_Implementation(float TimeStamp);
void _Supper__Crouch(bool bClientSimulation);
void _Supper__DisableMovement();
void _Supper__ForceReplicationUpdate();
void _Supper__MaintainHorizontalGroundVelocity();
void _Supper__MaybeSaveBaseLocation();
void _Supper__MaybeUpdateBasedMovement(float DeltaSeconds);
void _Supper__NotifyJumpApex();
void _Supper__OnClientTimeStampResetDetected();
void _Supper__OnTimeDiscrepancyDetected(float CurrentTimeDiscrepancy, float LifetimeRawTimeDiscrepancy, float Lifetime, float CurrentMoveError);
void _Supper__PerformMovement(float DeltaTime);
void _Supper__PhysCustom(float deltaTime, int32 Iterations);
void _Supper__PhysFalling(float deltaTime, int32 Iterations);
void _Supper__PhysFlying(float deltaTime, int32 Iterations);
void _Supper__PhysicsRotation(float DeltaTime);
void _Supper__PhysNavWalking(float deltaTime, int32 Iterations);
void _Supper__PhysSwimming(float deltaTime, int32 Iterations);
void _Supper__PhysWalking(float deltaTime, int32 Iterations);
void _Supper__SaveBaseLocation();
void _Supper__SetDefaultMovementMode();
void _Supper__SetNavWalkingPhysics(bool bEnable);
void _Supper__SimulateMovement(float DeltaTime);
void _Supper__SmoothClientPosition(float DeltaSeconds);
void _Supper__StartNewPhysics(float deltaTime, int32 Iterations);
void _Supper__UnCrouch(bool bClientSimulation);
void _Supper__UpdateBasedMovement(float DeltaSeconds);
void _Supper__UpdateCharacterStateAfterMovement(float DeltaSeconds);
void _Supper__UpdateCharacterStateBeforeMovement(float DeltaSeconds);
void _Supper__UpdateFloorFromAdjustment();
void _Supper__UpdateFromCompressedFlags(uint8 Flags);
void _Supper__UpdateProxyAcceleration();
void _Supper__StopActiveMovement();
void _Supper__OnTeleported();
void _Supper__SetPlaneConstraintEnabled(bool bEnabled);
void _Supper__SnapUpdatedComponentToPlane();
void _Supper__StopMovementImmediately();
void _Supper__UpdateComponentVelocity();
void _Supper__UpdateTickRegistration();
void _Supper__Activate(bool bReset);
void _Supper__BeginPlay();
void _Supper__CreateRenderState_Concurrent();
void _Supper__Deactivate();
void _Supper__DestroyComponent(bool bPromoteChildren);
void _Supper__DestroyRenderState_Concurrent();
void _Supper__InitializeComponent();
void _Supper__InvalidateLightingCacheDetailed(bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly);
void _Supper__OnActorEnableCollisionChanged();
void _Supper__OnComponentCreated();
void _Supper__OnComponentDestroyed(bool bDestroyingHierarchy);
void _Supper__OnCreatePhysicsState();
void _Supper__OnDestroyPhysicsState();
void _Supper__OnRegister();
void _Supper__OnRep_IsActive();
void _Supper__OnUnregister();
void _Supper__RegisterComponentTickFunctions(bool bRegister);
void _Supper__SendRenderDynamicData_Concurrent();
void _Supper__SendRenderTransform_Concurrent();
void _Supper__SetActive(bool bNewActive, bool bReset);
void _Supper__SetAutoActivate(bool bNewAutoActivate);
void _Supper__SetComponentTickEnabled(bool bEnabled);
void _Supper__SetComponentTickEnabledAsync(bool bEnabled);
void _Supper__ToggleActive();
void _Supper__UninitializeComponent();
void _Supper__BeginDestroy();
void _Supper__FinishDestroy();
void _Supper__MarkAsEditorOnlySubobject();
void _Supper__PostCDOContruct();
void _Supper__PostEditImport();
void _Supper__PostInitProperties();
void _Supper__PostLoad();
void _Supper__PostNetReceive();
void _Supper__PostRepNotifies();
void _Supper__PostSaveRoot(bool bCleanupIsRequired);
void _Supper__PreDestroyFromReplication();
void _Supper__PreNetReceive();
void _Supper__ShutdownAfterError();
void _Supper__CreateCluster();
void _Supper__OnClusterMarkedAsPendingKill();
};
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/APlayerState.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManagePlayerState.h"
#include "Runtime/Engine/Classes/GameFramework/PlayerState.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\PlayerState.h:64
class E_PROTECTED_WRAP_APlayerState : protected APlayerState
{
public:
void CopyProperties_WRAP(APlayerState* PlayerState)
{
CopyProperties(PlayerState);
}
void HandleWelcomeMessage_WRAP()
{
HandleWelcomeMessage();
}
void OverrideWith_WRAP(APlayerState* PlayerState)
{
OverrideWith(PlayerState);
}
void ReceiveCopyProperties_WRAP(APlayerState* NewPlayerState)
{
ReceiveCopyProperties(NewPlayerState);
}
void ReceiveOverrideWith_WRAP(APlayerState* OldPlayerState)
{
ReceiveOverrideWith(OldPlayerState);
}
void SetShouldUpdateReplicatedPing_WRAP(bool bInShouldUpdateReplicatedPing)
{
SetShouldUpdateReplicatedPing(bInShouldUpdateReplicatedPing);
}
};
extern "C"
{
DOTNET_EXPORT auto E_PROP_APlayerState_bFromPreviousLevel_GET(APlayerState* Ptr) { return Ptr->bFromPreviousLevel; }
DOTNET_EXPORT void E_PROP_APlayerState_bFromPreviousLevel_SET(APlayerState* Ptr, uint8 Value) { Ptr->bFromPreviousLevel = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_bHasBeenWelcomed_GET(APlayerState* Ptr) { return Ptr->bHasBeenWelcomed; }
DOTNET_EXPORT void E_PROP_APlayerState_bHasBeenWelcomed_SET(APlayerState* Ptr, uint8 Value) { Ptr->bHasBeenWelcomed = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_bIsABot_GET(APlayerState* Ptr) { return Ptr->bIsABot; }
DOTNET_EXPORT void E_PROP_APlayerState_bIsABot_SET(APlayerState* Ptr, uint8 Value) { Ptr->bIsABot = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_bIsInactive_GET(APlayerState* Ptr) { return Ptr->bIsInactive; }
DOTNET_EXPORT void E_PROP_APlayerState_bIsInactive_SET(APlayerState* Ptr, uint8 Value) { Ptr->bIsInactive = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_bIsSpectator_GET(APlayerState* Ptr) { return Ptr->bIsSpectator; }
DOTNET_EXPORT void E_PROP_APlayerState_bIsSpectator_SET(APlayerState* Ptr, uint8 Value) { Ptr->bIsSpectator = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_bOnlySpectator_GET(APlayerState* Ptr) { return Ptr->bOnlySpectator; }
DOTNET_EXPORT void E_PROP_APlayerState_bOnlySpectator_SET(APlayerState* Ptr, uint8 Value) { Ptr->bOnlySpectator = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_bUseCustomPlayerNames_GET(APlayerState* Ptr) { return Ptr->bUseCustomPlayerNames; }
DOTNET_EXPORT void E_PROP_APlayerState_bUseCustomPlayerNames_SET(APlayerState* Ptr, uint8 Value) { Ptr->bUseCustomPlayerNames = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_ExactPing_GET(APlayerState* Ptr) { return Ptr->ExactPing; }
DOTNET_EXPORT void E_PROP_APlayerState_ExactPing_SET(APlayerState* Ptr, float Value) { Ptr->ExactPing = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_ExactPingV2_GET(APlayerState* Ptr) { return Ptr->ExactPingV2; }
DOTNET_EXPORT void E_PROP_APlayerState_ExactPingV2_SET(APlayerState* Ptr, float Value) { Ptr->ExactPingV2 = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_OldName_GET(APlayerState* Ptr) { return ConvertToManage_StringWrapper(Ptr->OldName); }
DOTNET_EXPORT void E_PROP_APlayerState_OldName_SET(APlayerState* Ptr, char* Value) { Ptr->OldName = ConvertFromManage_FString(Value); }
DOTNET_EXPORT auto E_PROP_APlayerState_Ping_GET(APlayerState* Ptr) { return Ptr->Ping; }
DOTNET_EXPORT void E_PROP_APlayerState_Ping_SET(APlayerState* Ptr, uint8 Value) { Ptr->Ping = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_PlayerId_GET(APlayerState* Ptr) { return Ptr->PlayerId; }
DOTNET_EXPORT void E_PROP_APlayerState_PlayerId_SET(APlayerState* Ptr, int32 Value) { Ptr->PlayerId = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_PlayerName_GET(APlayerState* Ptr) { return ConvertToManage_StringWrapper(Ptr->PlayerName); }
DOTNET_EXPORT void E_PROP_APlayerState_PlayerName_SET(APlayerState* Ptr, char* Value) { Ptr->PlayerName = ConvertFromManage_FString(Value); }
DOTNET_EXPORT auto E_PROP_APlayerState_SavedNetworkAddress_GET(APlayerState* Ptr) { return ConvertToManage_StringWrapper(Ptr->SavedNetworkAddress); }
DOTNET_EXPORT void E_PROP_APlayerState_SavedNetworkAddress_SET(APlayerState* Ptr, char* Value) { Ptr->SavedNetworkAddress = ConvertFromManage_FString(Value); }
DOTNET_EXPORT auto E_PROP_APlayerState_Score_GET(APlayerState* Ptr) { return Ptr->Score; }
DOTNET_EXPORT void E_PROP_APlayerState_Score_SET(APlayerState* Ptr, float Value) { Ptr->Score = Value; }
DOTNET_EXPORT auto E_PROP_APlayerState_SessionName_GET(APlayerState* Ptr) { return ConvertToManage_StringWrapper(Ptr->SessionName); }
DOTNET_EXPORT void E_PROP_APlayerState_SessionName_SET(APlayerState* Ptr, char* Value) { Ptr->SessionName = ConvertFromManage_FName(Value); }
DOTNET_EXPORT auto E_PROP_APlayerState_StartTime_GET(APlayerState* Ptr) { return Ptr->StartTime; }
DOTNET_EXPORT void E_PROP_APlayerState_StartTime_SET(APlayerState* Ptr, int32 Value) { Ptr->StartTime = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_APlayerState(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<APlayerState>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_APlayerState_ClientInitialize(APlayerState* Self, AController* C)
{
auto _p0 = C;
Self->ClientInitialize(_p0);
}
DOTNET_EXPORT auto E_APlayerState_CopyProperties(APlayerState* Self, APlayerState* PlayerState)
{
auto _p0 = PlayerState;
((E_PROTECTED_WRAP_APlayerState*)Self)->CopyProperties_WRAP(_p0);
}
DOTNET_EXPORT auto E_APlayerState_DispatchCopyProperties(APlayerState* Self, APlayerState* PlayerState)
{
auto _p0 = PlayerState;
Self->DispatchCopyProperties(_p0);
}
DOTNET_EXPORT auto E_APlayerState_DispatchOverrideWith(APlayerState* Self, APlayerState* PlayerState)
{
auto _p0 = PlayerState;
Self->DispatchOverrideWith(_p0);
}
DOTNET_EXPORT auto E_APlayerState_Duplicate(APlayerState* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->Duplicate());
}
DOTNET_EXPORT auto E_APlayerState_GetOldPlayerName(APlayerState* Self)
{
return ConvertToManage_StringWrapper(Self->GetOldPlayerName());
}
DOTNET_EXPORT auto E_APlayerState_GetPawn(APlayerState* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetPawn());
}
DOTNET_EXPORT auto E_APlayerState_GetPlayerName(APlayerState* Self)
{
return ConvertToManage_StringWrapper(Self->GetPlayerName());
}
DOTNET_EXPORT auto E_APlayerState_GetPlayerNameCustom(APlayerState* Self)
{
return ConvertToManage_StringWrapper(Self->GetPlayerNameCustom());
}
DOTNET_EXPORT auto E_APlayerState_HandleWelcomeMessage(APlayerState* Self)
{
((E_PROTECTED_WRAP_APlayerState*)Self)->HandleWelcomeMessage_WRAP();
}
DOTNET_EXPORT auto E_APlayerState_IsPrimaryPlayer(APlayerState* Self)
{
return Self->IsPrimaryPlayer();
}
DOTNET_EXPORT auto E_APlayerState_OnDeactivated(APlayerState* Self)
{
Self->OnDeactivated();
}
DOTNET_EXPORT auto E_APlayerState_OnReactivated(APlayerState* Self)
{
Self->OnReactivated();
}
DOTNET_EXPORT auto E_APlayerState_OnRep_bIsInactive(APlayerState* Self)
{
Self->OnRep_bIsInactive();
}
DOTNET_EXPORT auto E_APlayerState_OnRep_PlayerId(APlayerState* Self)
{
Self->OnRep_PlayerId();
}
DOTNET_EXPORT auto E_APlayerState_OnRep_PlayerName(APlayerState* Self)
{
Self->OnRep_PlayerName();
}
DOTNET_EXPORT auto E_APlayerState_OnRep_Score(APlayerState* Self)
{
Self->OnRep_Score();
}
DOTNET_EXPORT auto E_APlayerState_OnRep_UniqueId(APlayerState* Self)
{
Self->OnRep_UniqueId();
}
DOTNET_EXPORT auto E_APlayerState_OverrideWith(APlayerState* Self, APlayerState* PlayerState)
{
auto _p0 = PlayerState;
((E_PROTECTED_WRAP_APlayerState*)Self)->OverrideWith_WRAP(_p0);
}
DOTNET_EXPORT auto E_APlayerState_RecalculateAvgPing(APlayerState* Self)
{
Self->RecalculateAvgPing();
}
DOTNET_EXPORT auto E_APlayerState_ReceiveCopyProperties(APlayerState* Self, APlayerState* NewPlayerState)
{
auto _p0 = NewPlayerState;
((E_PROTECTED_WRAP_APlayerState*)Self)->ReceiveCopyProperties_WRAP(_p0);
}
DOTNET_EXPORT auto E_APlayerState_ReceiveOverrideWith(APlayerState* Self, APlayerState* OldPlayerState)
{
auto _p0 = OldPlayerState;
((E_PROTECTED_WRAP_APlayerState*)Self)->ReceiveOverrideWith_WRAP(_p0);
}
DOTNET_EXPORT auto E_APlayerState_RegisterPlayerWithSession(APlayerState* Self, bool bWasFromInvite)
{
auto _p0 = bWasFromInvite;
Self->RegisterPlayerWithSession(_p0);
}
DOTNET_EXPORT auto E_APlayerState_SeamlessTravelTo(APlayerState* Self, APlayerState* NewPlayerState)
{
auto _p0 = NewPlayerState;
Self->SeamlessTravelTo(_p0);
}
DOTNET_EXPORT auto E_APlayerState_SetOldPlayerName(APlayerState* Self, char* S)
{
auto _p0 = ConvertFromManage_FString(S);
Self->SetOldPlayerName(_p0);
}
DOTNET_EXPORT auto E_APlayerState_SetPlayerName(APlayerState* Self, char* S)
{
auto _p0 = ConvertFromManage_FString(S);
Self->SetPlayerName(_p0);
}
DOTNET_EXPORT auto E_APlayerState_SetPlayerNameInternal(APlayerState* Self, char* S)
{
auto _p0 = ConvertFromManage_FString(S);
Self->SetPlayerNameInternal(_p0);
}
DOTNET_EXPORT auto E_APlayerState_SetShouldUpdateReplicatedPing(APlayerState* Self, bool bInShouldUpdateReplicatedPing)
{
auto _p0 = bInShouldUpdateReplicatedPing;
((E_PROTECTED_WRAP_APlayerState*)Self)->SetShouldUpdateReplicatedPing_WRAP(_p0);
}
DOTNET_EXPORT auto E_APlayerState_ShouldBroadCastWelcomeMessage(APlayerState* Self, bool bExiting)
{
auto _p0 = bExiting;
return Self->ShouldBroadCastWelcomeMessage(_p0);
}
DOTNET_EXPORT auto E_APlayerState_UnregisterPlayerWithSession(APlayerState* Self)
{
Self->UnregisterPlayerWithSession();
}
DOTNET_EXPORT auto E_APlayerState_UpdatePing(APlayerState* Self, float InPing)
{
auto _p0 = InPing;
Self->UpdatePing(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_HandleWelcomeMessage(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__HandleWelcomeMessage();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnDeactivated(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__OnDeactivated();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnReactivated(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__OnReactivated();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_bIsInactive(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_bIsInactive();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_PlayerId(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_PlayerId();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_PlayerName(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_PlayerName();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_Score(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_Score();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_UniqueId(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_UniqueId();
}
DOTNET_EXPORT auto E__Supper__APlayerState_RecalculateAvgPing(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__RecalculateAvgPing();
}
DOTNET_EXPORT auto E__Supper__APlayerState_RegisterPlayerWithSession(APlayerState* Self, bool bWasFromInvite)
{
auto _p0 = bWasFromInvite;
((AManagePlayerState*)Self)->_Supper__RegisterPlayerWithSession(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_UnregisterPlayerWithSession(APlayerState* Self)
{
((AManagePlayerState*)Self)->_Supper__UnregisterPlayerWithSession();
}
DOTNET_EXPORT auto E__Supper__APlayerState_UpdatePing(APlayerState* Self, float InPing)
{
auto _p0 = InPing;
((AManagePlayerState*)Self)->_Supper__UpdatePing(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_BeginPlay(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__APlayerState_ClearCrossLevelReferences(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__ClearCrossLevelReferences();
}
DOTNET_EXPORT auto E__Supper__APlayerState_Destroyed(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__Destroyed();
}
DOTNET_EXPORT auto E__Supper__APlayerState_ForceNetRelevant(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__ForceNetRelevant();
}
DOTNET_EXPORT auto E__Supper__APlayerState_ForceNetUpdate(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__ForceNetUpdate();
}
DOTNET_EXPORT auto E__Supper__APlayerState_GatherCurrentMovement(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__GatherCurrentMovement();
}
DOTNET_EXPORT auto E__Supper__APlayerState_InvalidateLightingCacheDetailed(AActor* Self, bool bTranslationOnly)
{
auto _p0 = bTranslationOnly;
((AManagePlayerState*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_K2_DestroyActor(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__K2_DestroyActor();
}
DOTNET_EXPORT auto E__Supper__APlayerState_LifeSpanExpired(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__LifeSpanExpired();
}
DOTNET_EXPORT auto E__Supper__APlayerState_MarkComponentsAsPendingKill(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__MarkComponentsAsPendingKill();
}
DOTNET_EXPORT auto E__Supper__APlayerState_NotifyActorBeginCursorOver(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__NotifyActorBeginCursorOver();
}
DOTNET_EXPORT auto E__Supper__APlayerState_NotifyActorEndCursorOver(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__NotifyActorEndCursorOver();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_AttachmentReplication(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_AttachmentReplication();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_Instigator(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_Instigator();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_Owner(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_Owner();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_ReplicatedMovement(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_ReplicatedMovement();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnRep_ReplicateMovement(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__OnRep_ReplicateMovement();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnReplicationPausedChanged(AActor* Self, bool bIsReplicationPaused)
{
auto _p0 = bIsReplicationPaused;
((AManagePlayerState*)Self)->_Supper__OnReplicationPausedChanged(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_OutsideWorldBounds(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__OutsideWorldBounds();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostActorCreated(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PostActorCreated();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostInitializeComponents(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PostInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostNetInit(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PostNetInit();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostNetReceiveLocationAndRotation(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PostNetReceiveLocationAndRotation();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostNetReceivePhysicState(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PostNetReceivePhysicState();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostNetReceiveRole(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PostNetReceiveRole();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostRegisterAllComponents(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PostRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostUnregisterAllComponents(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PostUnregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PreInitializeComponents(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PreInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PreRegisterAllComponents(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__PreRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PrestreamTextures(AActor* Self, float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups)
{
auto _p0 = Seconds;
auto _p1 = bEnableStreaming;
auto _p2 = CinematicTextureGroups;
((AManagePlayerState*)Self)->_Supper__PrestreamTextures(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__APlayerState_RegisterActorTickFunctions(AActor* Self, bool bRegister)
{
auto _p0 = bRegister;
((AManagePlayerState*)Self)->_Supper__RegisterActorTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_RegisterAllComponents(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__RegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerState_ReregisterAllComponents(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__ReregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__APlayerState_RerunConstructionScripts(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__RerunConstructionScripts();
}
DOTNET_EXPORT auto E__Supper__APlayerState_Reset(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__Reset();
}
DOTNET_EXPORT auto E__Supper__APlayerState_RewindForReplay(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__RewindForReplay();
}
DOTNET_EXPORT auto E__Supper__APlayerState_SetActorHiddenInGame(AActor* Self, bool bNewHidden)
{
auto _p0 = bNewHidden;
((AManagePlayerState*)Self)->_Supper__SetActorHiddenInGame(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_SetLifeSpan(AActor* Self, float InLifespan)
{
auto _p0 = InLifespan;
((AManagePlayerState*)Self)->_Supper__SetLifeSpan(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_SetReplicateMovement(AActor* Self, bool bInReplicateMovement)
{
auto _p0 = bInReplicateMovement;
((AManagePlayerState*)Self)->_Supper__SetReplicateMovement(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_TearOff(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__TearOff();
}
DOTNET_EXPORT auto E__Supper__APlayerState_TeleportSucceeded(AActor* Self, bool bIsATest)
{
auto _p0 = bIsATest;
((AManagePlayerState*)Self)->_Supper__TeleportSucceeded(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_Tick(AActor* Self, float DeltaSeconds)
{
auto _p0 = DeltaSeconds;
((AManagePlayerState*)Self)->_Supper__Tick(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_TornOff(AActor* Self)
{
((AManagePlayerState*)Self)->_Supper__TornOff();
}
DOTNET_EXPORT auto E__Supper__APlayerState_UnregisterAllComponents(AActor* Self, bool bForReregister)
{
auto _p0 = bForReregister;
((AManagePlayerState*)Self)->_Supper__UnregisterAllComponents(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_BeginDestroy(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__APlayerState_FinishDestroy(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__APlayerState_MarkAsEditorOnlySubobject(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostCDOContruct(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostEditImport(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostInitProperties(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostLoad(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostNetReceive(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostRepNotifies(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((AManagePlayerState*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__APlayerState_PreDestroyFromReplication(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__APlayerState_PreNetReceive(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__APlayerState_ShutdownAfterError(UObject* Self)
{
((AManagePlayerState*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__APlayerState_CreateCluster(UObjectBaseUtility* Self)
{
((AManagePlayerState*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__APlayerState_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((AManagePlayerState*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/ULocalLightComponent.h | <filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/ULocalLightComponent.h
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/Engine/Classes/Components/LocalLightComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\LocalLightComponent.h:17
extern "C"
{
DOTNET_EXPORT auto E_PROP_ULocalLightComponent_AttenuationRadius_GET(ULocalLightComponent* Ptr) { return Ptr->AttenuationRadius; }
DOTNET_EXPORT void E_PROP_ULocalLightComponent_AttenuationRadius_SET(ULocalLightComponent* Ptr, float Value) { Ptr->AttenuationRadius = Value; }
DOTNET_EXPORT auto E_PROP_ULocalLightComponent_IntensityUnits_GET(ULocalLightComponent* Ptr) { return Ptr->IntensityUnits; }
DOTNET_EXPORT void E_PROP_ULocalLightComponent_IntensityUnits_SET(ULocalLightComponent* Ptr, ELightUnits Value) { Ptr->IntensityUnits = Value; }
DOTNET_EXPORT auto E_PROP_ULocalLightComponent_LightmassSettings_GET(ULocalLightComponent* Ptr) { return (INT_PTR)&(Ptr->LightmassSettings); }
DOTNET_EXPORT void E_PROP_ULocalLightComponent_LightmassSettings_SET(ULocalLightComponent* Ptr, INT_PTR Value) { Ptr->LightmassSettings = *(FLightmassPointLightSettings*)Value; }
DOTNET_EXPORT auto E_PROP_ULocalLightComponent_Radius_DEPRECATED_GET(ULocalLightComponent* Ptr) { return Ptr->Radius_DEPRECATED; }
DOTNET_EXPORT void E_PROP_ULocalLightComponent_Radius_DEPRECATED_SET(ULocalLightComponent* Ptr, float Value) { Ptr->Radius_DEPRECATED = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_ULocalLightComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<ULocalLightComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_ULocalLightComponent_GetUnitsConversionFactor(ULocalLightComponent* Self, ELightUnits SrcUnits, ELightUnits TargetUnits, float CosHalfConeAngle)
{
auto _p0 = SrcUnits;
auto _p1 = TargetUnits;
auto _p2 = CosHalfConeAngle;
return Self->GetUnitsConversionFactor(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_ULocalLightComponent_SetAttenuationRadius(ULocalLightComponent* Self, float NewRadius)
{
auto _p0 = NewRadius;
Self->SetAttenuationRadius(_p0);
}
DOTNET_EXPORT auto E_ULocalLightComponent_SetIntensityUnits(ULocalLightComponent* Self, ELightUnits NewIntensityUnits)
{
auto _p0 = NewIntensityUnits;
Self->SetIntensityUnits(_p0);
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UPawnNoiseEmitterComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManagePawnNoiseEmitterComponent.h"
#include "Runtime/Engine/Classes/Components/PawnNoiseEmitterComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\PawnNoiseEmitterComponent.h:19
extern "C"
{
DOTNET_EXPORT auto E_PROP_UPawnNoiseEmitterComponent_LastRemoteNoisePosition_GET(UPawnNoiseEmitterComponent* Ptr) { return (INT_PTR)&(Ptr->LastRemoteNoisePosition); }
DOTNET_EXPORT void E_PROP_UPawnNoiseEmitterComponent_LastRemoteNoisePosition_SET(UPawnNoiseEmitterComponent* Ptr, INT_PTR Value) { Ptr->LastRemoteNoisePosition = *(FVector*)Value; }
DOTNET_EXPORT auto E_PROP_UPawnNoiseEmitterComponent_NoiseLifetime_GET(UPawnNoiseEmitterComponent* Ptr) { return Ptr->NoiseLifetime; }
DOTNET_EXPORT void E_PROP_UPawnNoiseEmitterComponent_NoiseLifetime_SET(UPawnNoiseEmitterComponent* Ptr, float Value) { Ptr->NoiseLifetime = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UPawnNoiseEmitterComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UPawnNoiseEmitterComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UPawnNoiseEmitterComponent_GetLastNoiseTime(UPawnNoiseEmitterComponent* Self, bool bSourceWithinNoiseEmitter)
{
auto _p0 = bSourceWithinNoiseEmitter;
return Self->GetLastNoiseTime(_p0);
}
DOTNET_EXPORT auto E_UPawnNoiseEmitterComponent_GetLastNoiseVolume(UPawnNoiseEmitterComponent* Self, bool bSourceWithinNoiseEmitter)
{
auto _p0 = bSourceWithinNoiseEmitter;
return Self->GetLastNoiseVolume(_p0);
}
DOTNET_EXPORT auto E_UPawnNoiseEmitterComponent_MakeNoise(UPawnNoiseEmitterComponent* Self, AActor* NoiseMaker, float Loudness, INT_PTR NoiseLocation)
{
auto _p0 = NoiseMaker;
auto _p1 = Loudness;
auto& _p2 = *(FVector*)NoiseLocation;
Self->MakeNoise(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_BeginPlay(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_Deactivate(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_InitializeComponent(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnComponentCreated(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnRegister(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnUnregister(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_ToggleActive(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_UninitializeComponent(UActorComponent* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_BeginDestroy(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_FinishDestroy(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PostCDOContruct(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PostEditImport(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PostInitProperties(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PostLoad(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PostNetReceive(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PostRepNotifies(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PreDestroyFromReplication(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_PreNetReceive(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_ShutdownAfterError(UObject* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UPawnNoiseEmitterComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManagePawnNoiseEmitterComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/TypeConvertor.h | <gh_stars>10-100
#pragma once
#include "ExportUtilites.h"
#include "CoreShell.h"
INT_PTR PushToTransferBeffer(INT_PTR source, size_t len);
StringWrapper ConvertToManage_StringWrapper(FString string);
StringWrapper ConvertToManage_StringWrapper(FText text);
StringWrapper ConvertToManage_StringWrapper(FName name);
UClassWrapper ConvertToManage_UClassWrapper(UClass* Class);
ObjectPointerDescription ConvertToManage_ObjectPointerDescription(const UObject* object);
template<class T>
TemplatePointerDescription ConvertToManage_TemplatePointerDescription(T sourceTemplate)
{
return TemplatePointerDescription();
}
TCHAR* ConvertFromManage_TCHAR(char* String);
FString ConvertFromManage_FString(char* String);
FName ConvertFromManage_FName(char* String);
FText ConvertFromManage_FText(char* String);
UClass* ConvertFromManage_UClass(char* ClassName); |
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/USpotLightComponent.h | <filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/USpotLightComponent.h
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageSpotLightComponent.h"
#include "Runtime/Engine/Classes/Components/SpotLightComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\SpotLightComponent.h:16
extern "C"
{
DOTNET_EXPORT auto E_PROP_USpotLightComponent_InnerConeAngle_GET(USpotLightComponent* Ptr) { return Ptr->InnerConeAngle; }
DOTNET_EXPORT void E_PROP_USpotLightComponent_InnerConeAngle_SET(USpotLightComponent* Ptr, float Value) { Ptr->InnerConeAngle = Value; }
DOTNET_EXPORT auto E_PROP_USpotLightComponent_LightShaftConeAngle_GET(USpotLightComponent* Ptr) { return Ptr->LightShaftConeAngle; }
DOTNET_EXPORT void E_PROP_USpotLightComponent_LightShaftConeAngle_SET(USpotLightComponent* Ptr, float Value) { Ptr->LightShaftConeAngle = Value; }
DOTNET_EXPORT auto E_PROP_USpotLightComponent_OuterConeAngle_GET(USpotLightComponent* Ptr) { return Ptr->OuterConeAngle; }
DOTNET_EXPORT void E_PROP_USpotLightComponent_OuterConeAngle_SET(USpotLightComponent* Ptr, float Value) { Ptr->OuterConeAngle = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_USpotLightComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<USpotLightComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_USpotLightComponent_GetCosHalfConeAngle(USpotLightComponent* Self)
{
return Self->GetCosHalfConeAngle();
}
DOTNET_EXPORT auto E_USpotLightComponent_GetHalfConeAngle(USpotLightComponent* Self)
{
return Self->GetHalfConeAngle();
}
DOTNET_EXPORT auto E_USpotLightComponent_SetInnerConeAngle(USpotLightComponent* Self, float NewInnerConeAngle)
{
auto _p0 = NewInnerConeAngle;
Self->SetInnerConeAngle(_p0);
}
DOTNET_EXPORT auto E_USpotLightComponent_SetOuterConeAngle(USpotLightComponent* Self, float NewOuterConeAngle)
{
auto _p0 = NewOuterConeAngle;
Self->SetOuterConeAngle(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_UpdateLightGUIDs(ULightComponentBase* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__UpdateLightGUIDs();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageSpotLightComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_UpdateBounds(USceneComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageSpotLightComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageSpotLightComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_BeginPlay(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_Deactivate(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageSpotLightComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_InitializeComponent(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageSpotLightComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageSpotLightComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnRegister(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnUnregister(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageSpotLightComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageSpotLightComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageSpotLightComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageSpotLightComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageSpotLightComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_ToggleActive(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_BeginDestroy(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_FinishDestroy(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PostCDOContruct(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PostEditImport(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PostInitProperties(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PostLoad(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PostNetReceive(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PostRepNotifies(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageSpotLightComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_PreNetReceive(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_ShutdownAfterError(UObject* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__USpotLightComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageSpotLightComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UBillboardComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageBillboardComponent.h"
#include "Runtime/Engine/Classes/Components/BillboardComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\BillboardComponent.h:19
extern "C"
{
DOTNET_EXPORT auto E_PROP_UBillboardComponent_ScreenSize_GET(UBillboardComponent* Ptr) { return Ptr->ScreenSize; }
DOTNET_EXPORT void E_PROP_UBillboardComponent_ScreenSize_SET(UBillboardComponent* Ptr, float Value) { Ptr->ScreenSize = Value; }
DOTNET_EXPORT auto E_PROP_UBillboardComponent_U_GET(UBillboardComponent* Ptr) { return Ptr->U; }
DOTNET_EXPORT void E_PROP_UBillboardComponent_U_SET(UBillboardComponent* Ptr, float Value) { Ptr->U = Value; }
DOTNET_EXPORT auto E_PROP_UBillboardComponent_UL_GET(UBillboardComponent* Ptr) { return Ptr->UL; }
DOTNET_EXPORT void E_PROP_UBillboardComponent_UL_SET(UBillboardComponent* Ptr, float Value) { Ptr->UL = Value; }
DOTNET_EXPORT auto E_PROP_UBillboardComponent_V_GET(UBillboardComponent* Ptr) { return Ptr->V; }
DOTNET_EXPORT void E_PROP_UBillboardComponent_V_SET(UBillboardComponent* Ptr, float Value) { Ptr->V = Value; }
DOTNET_EXPORT auto E_PROP_UBillboardComponent_VL_GET(UBillboardComponent* Ptr) { return Ptr->VL; }
DOTNET_EXPORT void E_PROP_UBillboardComponent_VL_SET(UBillboardComponent* Ptr, float Value) { Ptr->VL = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UBillboardComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UBillboardComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UBillboardComponent_SetUV(UBillboardComponent* Self, int32 NewU, int32 NewUL, int32 NewV, int32 NewVL)
{
auto _p0 = NewU;
auto _p1 = NewUL;
auto _p2 = NewV;
auto _p3 = NewVL;
Self->SetUV(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetUV(UBillboardComponent* Self, int32 NewU, int32 NewUL, int32 NewV, int32 NewVL)
{
auto _p0 = NewU;
auto _p1 = NewUL;
auto _p2 = NewV;
auto _p3 = NewVL;
((UManageBillboardComponent*)Self)->_Supper__SetUV(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnComponentCollisionSettingsChanged(UPrimitiveComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnComponentCollisionSettingsChanged();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PutAllRigidBodiesToSleep(UPrimitiveComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PutAllRigidBodiesToSleep();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetAllMassScale(UPrimitiveComponent* Self, float InMassScale)
{
auto _p0 = InMassScale;
((UManageBillboardComponent*)Self)->_Supper__SetAllMassScale(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetAllUseCCD(UPrimitiveComponent* Self, bool InUseCCD)
{
auto _p0 = InUseCCD;
((UManageBillboardComponent*)Self)->_Supper__SetAllUseCCD(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetAngularDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageBillboardComponent*)Self)->_Supper__SetAngularDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetEnableGravity(UPrimitiveComponent* Self, bool bGravityEnabled)
{
auto _p0 = bGravityEnabled;
((UManageBillboardComponent*)Self)->_Supper__SetEnableGravity(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetLinearDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageBillboardComponent*)Self)->_Supper__SetLinearDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetNotifyRigidBodyCollision(UPrimitiveComponent* Self, bool bNewNotifyRigidBodyCollision)
{
auto _p0 = bNewNotifyRigidBodyCollision;
((UManageBillboardComponent*)Self)->_Supper__SetNotifyRigidBodyCollision(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetSimulatePhysics(UPrimitiveComponent* Self, bool bSimulate)
{
auto _p0 = bSimulate;
((UManageBillboardComponent*)Self)->_Supper__SetSimulatePhysics(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_UnWeldChildren(UPrimitiveComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__UnWeldChildren();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_UnWeldFromParent(UPrimitiveComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__UnWeldFromParent();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_UpdatePhysicsToRBChannels(UPrimitiveComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__UpdatePhysicsToRBChannels();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_WakeAllRigidBodies(UPrimitiveComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__WakeAllRigidBodies();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageBillboardComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_UpdateBounds(USceneComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageBillboardComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageBillboardComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_BeginPlay(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_Deactivate(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageBillboardComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_InitializeComponent(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageBillboardComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageBillboardComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnRegister(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnUnregister(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageBillboardComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageBillboardComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageBillboardComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageBillboardComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageBillboardComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_ToggleActive(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageBillboardComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_BeginDestroy(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_FinishDestroy(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PostCDOContruct(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PostEditImport(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PostInitProperties(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PostLoad(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PostNetReceive(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PostRepNotifies(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageBillboardComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_PreNetReceive(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_ShutdownAfterError(UObject* Self)
{
((UManageBillboardComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageBillboardComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UBillboardComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageBillboardComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/AGameState.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageGameState.h"
#include "Runtime/Engine/Classes/GameFramework/GameState.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\GameState.h:16
class E_PROTECTED_WRAP_AGameState : protected AGameState
{
public:
void HandleLeavingMap_WRAP()
{
HandleLeavingMap();
}
void HandleMatchHasEnded_WRAP()
{
HandleMatchHasEnded();
}
void HandleMatchHasStarted_WRAP()
{
HandleMatchHasStarted();
}
void HandleMatchIsWaitingToStart_WRAP()
{
HandleMatchIsWaitingToStart();
}
};
extern "C"
{
DOTNET_EXPORT auto E_PROP_AGameState_ElapsedTime_GET(AGameState* Ptr) { return Ptr->ElapsedTime; }
DOTNET_EXPORT void E_PROP_AGameState_ElapsedTime_SET(AGameState* Ptr, int32 Value) { Ptr->ElapsedTime = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_AGameState(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<AGameState>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_AGameState_DefaultTimer(AGameState* Self)
{
Self->DefaultTimer();
}
DOTNET_EXPORT auto E_AGameState_GetMatchState(AGameState* Self)
{
return ConvertToManage_StringWrapper(Self->GetMatchState());
}
DOTNET_EXPORT auto E_AGameState_HandleLeavingMap(AGameState* Self)
{
((E_PROTECTED_WRAP_AGameState*)Self)->HandleLeavingMap_WRAP();
}
DOTNET_EXPORT auto E_AGameState_HandleMatchHasEnded(AGameState* Self)
{
((E_PROTECTED_WRAP_AGameState*)Self)->HandleMatchHasEnded_WRAP();
}
DOTNET_EXPORT auto E_AGameState_HandleMatchHasStarted(AGameState* Self)
{
((E_PROTECTED_WRAP_AGameState*)Self)->HandleMatchHasStarted_WRAP();
}
DOTNET_EXPORT auto E_AGameState_HandleMatchIsWaitingToStart(AGameState* Self)
{
((E_PROTECTED_WRAP_AGameState*)Self)->HandleMatchIsWaitingToStart_WRAP();
}
DOTNET_EXPORT auto E_AGameState_HasMatchEnded(AGameState* Self)
{
return Self->HasMatchEnded();
}
DOTNET_EXPORT auto E_AGameState_IsMatchInProgress(AGameState* Self)
{
return Self->IsMatchInProgress();
}
DOTNET_EXPORT auto E_AGameState_OnRep_ElapsedTime(AGameState* Self)
{
Self->OnRep_ElapsedTime();
}
DOTNET_EXPORT auto E_AGameState_OnRep_MatchState(AGameState* Self)
{
Self->OnRep_MatchState();
}
DOTNET_EXPORT auto E_AGameState_SetMatchState(AGameState* Self, char* NewState)
{
auto _p0 = ConvertFromManage_FName(NewState);
Self->SetMatchState(_p0);
}
DOTNET_EXPORT auto E_AGameState_ShouldShowGore(AGameState* Self)
{
return Self->ShouldShowGore();
}
DOTNET_EXPORT auto E__Supper__AGameState_DefaultTimer(AGameState* Self)
{
((AManageGameState*)Self)->_Supper__DefaultTimer();
}
DOTNET_EXPORT auto E__Supper__AGameState_HandleLeavingMap(AGameState* Self)
{
((AManageGameState*)Self)->_Supper__HandleLeavingMap();
}
DOTNET_EXPORT auto E__Supper__AGameState_HandleMatchHasEnded(AGameState* Self)
{
((AManageGameState*)Self)->_Supper__HandleMatchHasEnded();
}
DOTNET_EXPORT auto E__Supper__AGameState_HandleMatchHasStarted(AGameState* Self)
{
((AManageGameState*)Self)->_Supper__HandleMatchHasStarted();
}
DOTNET_EXPORT auto E__Supper__AGameState_HandleMatchIsWaitingToStart(AGameState* Self)
{
((AManageGameState*)Self)->_Supper__HandleMatchIsWaitingToStart();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_ElapsedTime(AGameState* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_ElapsedTime();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_MatchState(AGameState* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_MatchState();
}
DOTNET_EXPORT auto E__Supper__AGameState_HandleBeginPlay(AGameStateBase* Self)
{
((AManageGameState*)Self)->_Supper__HandleBeginPlay();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_GameModeClass(AGameStateBase* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_GameModeClass();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_ReplicatedHasBegunPlay(AGameStateBase* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_ReplicatedHasBegunPlay();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_ReplicatedWorldTimeSeconds(AGameStateBase* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_ReplicatedWorldTimeSeconds();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_SpectatorClass(AGameStateBase* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_SpectatorClass();
}
DOTNET_EXPORT auto E__Supper__AGameState_ReceivedGameModeClass(AGameStateBase* Self)
{
((AManageGameState*)Self)->_Supper__ReceivedGameModeClass();
}
DOTNET_EXPORT auto E__Supper__AGameState_ReceivedSpectatorClass(AGameStateBase* Self)
{
((AManageGameState*)Self)->_Supper__ReceivedSpectatorClass();
}
DOTNET_EXPORT auto E__Supper__AGameState_SeamlessTravelTransitionCheckpoint(AGameStateBase* Self, bool bToTransitionMap)
{
auto _p0 = bToTransitionMap;
((AManageGameState*)Self)->_Supper__SeamlessTravelTransitionCheckpoint(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_UpdateServerTimeSeconds(AGameStateBase* Self)
{
((AManageGameState*)Self)->_Supper__UpdateServerTimeSeconds();
}
DOTNET_EXPORT auto E__Supper__AGameState_BeginPlay(AActor* Self)
{
((AManageGameState*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__AGameState_ClearCrossLevelReferences(AActor* Self)
{
((AManageGameState*)Self)->_Supper__ClearCrossLevelReferences();
}
DOTNET_EXPORT auto E__Supper__AGameState_Destroyed(AActor* Self)
{
((AManageGameState*)Self)->_Supper__Destroyed();
}
DOTNET_EXPORT auto E__Supper__AGameState_ForceNetRelevant(AActor* Self)
{
((AManageGameState*)Self)->_Supper__ForceNetRelevant();
}
DOTNET_EXPORT auto E__Supper__AGameState_ForceNetUpdate(AActor* Self)
{
((AManageGameState*)Self)->_Supper__ForceNetUpdate();
}
DOTNET_EXPORT auto E__Supper__AGameState_GatherCurrentMovement(AActor* Self)
{
((AManageGameState*)Self)->_Supper__GatherCurrentMovement();
}
DOTNET_EXPORT auto E__Supper__AGameState_InvalidateLightingCacheDetailed(AActor* Self, bool bTranslationOnly)
{
auto _p0 = bTranslationOnly;
((AManageGameState*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_K2_DestroyActor(AActor* Self)
{
((AManageGameState*)Self)->_Supper__K2_DestroyActor();
}
DOTNET_EXPORT auto E__Supper__AGameState_LifeSpanExpired(AActor* Self)
{
((AManageGameState*)Self)->_Supper__LifeSpanExpired();
}
DOTNET_EXPORT auto E__Supper__AGameState_MarkComponentsAsPendingKill(AActor* Self)
{
((AManageGameState*)Self)->_Supper__MarkComponentsAsPendingKill();
}
DOTNET_EXPORT auto E__Supper__AGameState_NotifyActorBeginCursorOver(AActor* Self)
{
((AManageGameState*)Self)->_Supper__NotifyActorBeginCursorOver();
}
DOTNET_EXPORT auto E__Supper__AGameState_NotifyActorEndCursorOver(AActor* Self)
{
((AManageGameState*)Self)->_Supper__NotifyActorEndCursorOver();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_AttachmentReplication(AActor* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_AttachmentReplication();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_Instigator(AActor* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_Instigator();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_Owner(AActor* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_Owner();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_ReplicatedMovement(AActor* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_ReplicatedMovement();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnRep_ReplicateMovement(AActor* Self)
{
((AManageGameState*)Self)->_Supper__OnRep_ReplicateMovement();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnReplicationPausedChanged(AActor* Self, bool bIsReplicationPaused)
{
auto _p0 = bIsReplicationPaused;
((AManageGameState*)Self)->_Supper__OnReplicationPausedChanged(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_OutsideWorldBounds(AActor* Self)
{
((AManageGameState*)Self)->_Supper__OutsideWorldBounds();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostActorCreated(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PostActorCreated();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostInitializeComponents(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PostInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostNetInit(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PostNetInit();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostNetReceiveLocationAndRotation(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PostNetReceiveLocationAndRotation();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostNetReceivePhysicState(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PostNetReceivePhysicState();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostNetReceiveRole(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PostNetReceiveRole();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostRegisterAllComponents(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PostRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostUnregisterAllComponents(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PostUnregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AGameState_PreInitializeComponents(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PreInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__AGameState_PreRegisterAllComponents(AActor* Self)
{
((AManageGameState*)Self)->_Supper__PreRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AGameState_PrestreamTextures(AActor* Self, float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups)
{
auto _p0 = Seconds;
auto _p1 = bEnableStreaming;
auto _p2 = CinematicTextureGroups;
((AManageGameState*)Self)->_Supper__PrestreamTextures(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__AGameState_RegisterActorTickFunctions(AActor* Self, bool bRegister)
{
auto _p0 = bRegister;
((AManageGameState*)Self)->_Supper__RegisterActorTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_RegisterAllComponents(AActor* Self)
{
((AManageGameState*)Self)->_Supper__RegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AGameState_ReregisterAllComponents(AActor* Self)
{
((AManageGameState*)Self)->_Supper__ReregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AGameState_RerunConstructionScripts(AActor* Self)
{
((AManageGameState*)Self)->_Supper__RerunConstructionScripts();
}
DOTNET_EXPORT auto E__Supper__AGameState_Reset(AActor* Self)
{
((AManageGameState*)Self)->_Supper__Reset();
}
DOTNET_EXPORT auto E__Supper__AGameState_RewindForReplay(AActor* Self)
{
((AManageGameState*)Self)->_Supper__RewindForReplay();
}
DOTNET_EXPORT auto E__Supper__AGameState_SetActorHiddenInGame(AActor* Self, bool bNewHidden)
{
auto _p0 = bNewHidden;
((AManageGameState*)Self)->_Supper__SetActorHiddenInGame(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_SetLifeSpan(AActor* Self, float InLifespan)
{
auto _p0 = InLifespan;
((AManageGameState*)Self)->_Supper__SetLifeSpan(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_SetReplicateMovement(AActor* Self, bool bInReplicateMovement)
{
auto _p0 = bInReplicateMovement;
((AManageGameState*)Self)->_Supper__SetReplicateMovement(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_TearOff(AActor* Self)
{
((AManageGameState*)Self)->_Supper__TearOff();
}
DOTNET_EXPORT auto E__Supper__AGameState_TeleportSucceeded(AActor* Self, bool bIsATest)
{
auto _p0 = bIsATest;
((AManageGameState*)Self)->_Supper__TeleportSucceeded(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_Tick(AActor* Self, float DeltaSeconds)
{
auto _p0 = DeltaSeconds;
((AManageGameState*)Self)->_Supper__Tick(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_TornOff(AActor* Self)
{
((AManageGameState*)Self)->_Supper__TornOff();
}
DOTNET_EXPORT auto E__Supper__AGameState_UnregisterAllComponents(AActor* Self, bool bForReregister)
{
auto _p0 = bForReregister;
((AManageGameState*)Self)->_Supper__UnregisterAllComponents(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_BeginDestroy(UObject* Self)
{
((AManageGameState*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__AGameState_FinishDestroy(UObject* Self)
{
((AManageGameState*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__AGameState_MarkAsEditorOnlySubobject(UObject* Self)
{
((AManageGameState*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostCDOContruct(UObject* Self)
{
((AManageGameState*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostEditImport(UObject* Self)
{
((AManageGameState*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostInitProperties(UObject* Self)
{
((AManageGameState*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostLoad(UObject* Self)
{
((AManageGameState*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostNetReceive(UObject* Self)
{
((AManageGameState*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostRepNotifies(UObject* Self)
{
((AManageGameState*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__AGameState_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((AManageGameState*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__AGameState_PreDestroyFromReplication(UObject* Self)
{
((AManageGameState*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__AGameState_PreNetReceive(UObject* Self)
{
((AManageGameState*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__AGameState_ShutdownAfterError(UObject* Self)
{
((AManageGameState*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__AGameState_CreateCluster(UObjectBaseUtility* Self)
{
((AManageGameState*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__AGameState_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((AManageGameState*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/AActor.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageActor.h"
#include "Runtime/Engine/Classes/GameFramework/Actor.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\Actor.h:109
class E_PROTECTED_WRAP_AActor : protected AActor
{
public:
void BeginPlay_WRAP()
{
BeginPlay();
}
bool CheckActorComponents_WRAP()
{
return CheckActorComponents();
}
float InternalTakePointDamage_WRAP(float Damage, const FPointDamageEvent& PointDamageEvent, AController* EventInstigator, AActor* DamageCauser)
{
return InternalTakePointDamage(Damage, PointDamageEvent, EventInstigator, DamageCauser);
}
float InternalTakeRadialDamage_WRAP(float Damage, const FRadialDamageEvent& RadialDamageEvent, AController* EventInstigator, AActor* DamageCauser)
{
return InternalTakeRadialDamage(Damage, RadialDamageEvent, EventInstigator, DamageCauser);
}
bool IsWithinNetRelevancyDistance_WRAP(const FVector& SrcLocation)
{
return IsWithinNetRelevancyDistance(SrcLocation);
}
void OnRep_Owner_WRAP()
{
OnRep_Owner();
}
void PostCreateBlueprintComponent_WRAP(UActorComponent* NewActorComp)
{
PostCreateBlueprintComponent(NewActorComp);
}
void ProcessUserConstructionScript_WRAP()
{
ProcessUserConstructionScript();
}
void ReceiveBeginPlay_WRAP()
{
ReceiveBeginPlay();
}
void RegisterActorTickFunctions_WRAP(bool bRegister)
{
RegisterActorTickFunctions(bRegister);
}
void SetRemoteRoleForBackwardsCompat_WRAP(const ENetRole InRemoteRole)
{
SetRemoteRoleForBackwardsCompat(InRemoteRole);
}
void SyncReplicatedPhysicsSimulation_WRAP()
{
SyncReplicatedPhysicsSimulation();
}
};
extern "C"
{
DOTNET_EXPORT auto E_PROP_AActor_bActorSeamlessTraveled_GET(AActor* Ptr) { return Ptr->bActorSeamlessTraveled; }
DOTNET_EXPORT void E_PROP_AActor_bActorSeamlessTraveled_SET(AActor* Ptr, uint8 Value) { Ptr->bActorSeamlessTraveled = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bAllowTickBeforeBeginPlay_GET(AActor* Ptr) { return Ptr->bAllowTickBeforeBeginPlay; }
DOTNET_EXPORT void E_PROP_AActor_bAllowTickBeforeBeginPlay_SET(AActor* Ptr, uint8 Value) { Ptr->bAllowTickBeforeBeginPlay = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bAlwaysRelevant_GET(AActor* Ptr) { return Ptr->bAlwaysRelevant; }
DOTNET_EXPORT void E_PROP_AActor_bAlwaysRelevant_SET(AActor* Ptr, uint8 Value) { Ptr->bAlwaysRelevant = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bAutoDestroyWhenFinished_GET(AActor* Ptr) { return Ptr->bAutoDestroyWhenFinished; }
DOTNET_EXPORT void E_PROP_AActor_bAutoDestroyWhenFinished_SET(AActor* Ptr, uint8 Value) { Ptr->bAutoDestroyWhenFinished = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bBlockInput_GET(AActor* Ptr) { return Ptr->bBlockInput; }
DOTNET_EXPORT void E_PROP_AActor_bBlockInput_SET(AActor* Ptr, uint8 Value) { Ptr->bBlockInput = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bCanBeDamaged_GET(AActor* Ptr) { return Ptr->bCanBeDamaged; }
DOTNET_EXPORT void E_PROP_AActor_bCanBeDamaged_SET(AActor* Ptr, uint8 Value) { Ptr->bCanBeDamaged = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bCollideWhenPlacing_GET(AActor* Ptr) { return Ptr->bCollideWhenPlacing; }
DOTNET_EXPORT void E_PROP_AActor_bCollideWhenPlacing_SET(AActor* Ptr, uint8 Value) { Ptr->bCollideWhenPlacing = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bEnableAutoLODGeneration_GET(AActor* Ptr) { return Ptr->bEnableAutoLODGeneration; }
DOTNET_EXPORT void E_PROP_AActor_bEnableAutoLODGeneration_SET(AActor* Ptr, uint8 Value) { Ptr->bEnableAutoLODGeneration = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bExchangedRoles_GET(AActor* Ptr) { return Ptr->bExchangedRoles; }
DOTNET_EXPORT void E_PROP_AActor_bExchangedRoles_SET(AActor* Ptr, uint8 Value) { Ptr->bExchangedRoles = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bFindCameraComponentWhenViewTarget_GET(AActor* Ptr) { return Ptr->bFindCameraComponentWhenViewTarget; }
DOTNET_EXPORT void E_PROP_AActor_bFindCameraComponentWhenViewTarget_SET(AActor* Ptr, uint8 Value) { Ptr->bFindCameraComponentWhenViewTarget = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bGenerateOverlapEventsDuringLevelStreaming_GET(AActor* Ptr) { return Ptr->bGenerateOverlapEventsDuringLevelStreaming; }
DOTNET_EXPORT void E_PROP_AActor_bGenerateOverlapEventsDuringLevelStreaming_SET(AActor* Ptr, uint8 Value) { Ptr->bGenerateOverlapEventsDuringLevelStreaming = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bHidden_GET(AActor* Ptr) { return Ptr->bHidden; }
DOTNET_EXPORT void E_PROP_AActor_bHidden_SET(AActor* Ptr, uint8 Value) { Ptr->bHidden = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bIgnoresOriginShifting_GET(AActor* Ptr) { return Ptr->bIgnoresOriginShifting; }
DOTNET_EXPORT void E_PROP_AActor_bIgnoresOriginShifting_SET(AActor* Ptr, uint8 Value) { Ptr->bIgnoresOriginShifting = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bIsEditorOnlyActor_GET(AActor* Ptr) { return Ptr->bIsEditorOnlyActor; }
DOTNET_EXPORT void E_PROP_AActor_bIsEditorOnlyActor_SET(AActor* Ptr, uint8 Value) { Ptr->bIsEditorOnlyActor = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bNetLoadOnClient_GET(AActor* Ptr) { return Ptr->bNetLoadOnClient; }
DOTNET_EXPORT void E_PROP_AActor_bNetLoadOnClient_SET(AActor* Ptr, uint8 Value) { Ptr->bNetLoadOnClient = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bNetStartup_GET(AActor* Ptr) { return Ptr->bNetStartup; }
DOTNET_EXPORT void E_PROP_AActor_bNetStartup_SET(AActor* Ptr, uint8 Value) { Ptr->bNetStartup = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bNetTemporary_GET(AActor* Ptr) { return Ptr->bNetTemporary; }
DOTNET_EXPORT void E_PROP_AActor_bNetTemporary_SET(AActor* Ptr, uint8 Value) { Ptr->bNetTemporary = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bNetUseOwnerRelevancy_GET(AActor* Ptr) { return Ptr->bNetUseOwnerRelevancy; }
DOTNET_EXPORT void E_PROP_AActor_bNetUseOwnerRelevancy_SET(AActor* Ptr, uint8 Value) { Ptr->bNetUseOwnerRelevancy = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bOnlyRelevantToOwner_GET(AActor* Ptr) { return Ptr->bOnlyRelevantToOwner; }
DOTNET_EXPORT void E_PROP_AActor_bOnlyRelevantToOwner_SET(AActor* Ptr, uint8 Value) { Ptr->bOnlyRelevantToOwner = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bRelevantForLevelBounds_GET(AActor* Ptr) { return Ptr->bRelevantForLevelBounds; }
DOTNET_EXPORT void E_PROP_AActor_bRelevantForLevelBounds_SET(AActor* Ptr, uint8 Value) { Ptr->bRelevantForLevelBounds = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bRelevantForNetworkReplays_GET(AActor* Ptr) { return Ptr->bRelevantForNetworkReplays; }
DOTNET_EXPORT void E_PROP_AActor_bRelevantForNetworkReplays_SET(AActor* Ptr, uint8 Value) { Ptr->bRelevantForNetworkReplays = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bReplayRewindable_GET(AActor* Ptr) { return Ptr->bReplayRewindable; }
DOTNET_EXPORT void E_PROP_AActor_bReplayRewindable_SET(AActor* Ptr, uint8 Value) { Ptr->bReplayRewindable = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bReplicateMovement_GET(AActor* Ptr) { return Ptr->bReplicateMovement; }
DOTNET_EXPORT void E_PROP_AActor_bReplicateMovement_SET(AActor* Ptr, uint8 Value) { Ptr->bReplicateMovement = Value; }
DOTNET_EXPORT auto E_PROP_AActor_bTearOff_GET(AActor* Ptr) { return Ptr->bTearOff; }
DOTNET_EXPORT void E_PROP_AActor_bTearOff_SET(AActor* Ptr, uint8 Value) { Ptr->bTearOff = Value; }
DOTNET_EXPORT auto E_PROP_AActor_CreationTime_GET(AActor* Ptr) { return Ptr->CreationTime; }
DOTNET_EXPORT void E_PROP_AActor_CreationTime_SET(AActor* Ptr, float Value) { Ptr->CreationTime = Value; }
DOTNET_EXPORT auto E_PROP_AActor_CustomTimeDilation_GET(AActor* Ptr) { return Ptr->CustomTimeDilation; }
DOTNET_EXPORT void E_PROP_AActor_CustomTimeDilation_SET(AActor* Ptr, float Value) { Ptr->CustomTimeDilation = Value; }
DOTNET_EXPORT auto E_PROP_AActor_InitialLifeSpan_GET(AActor* Ptr) { return Ptr->InitialLifeSpan; }
DOTNET_EXPORT void E_PROP_AActor_InitialLifeSpan_SET(AActor* Ptr, float Value) { Ptr->InitialLifeSpan = Value; }
DOTNET_EXPORT auto E_PROP_AActor_InputComponent_GET(AActor* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->InputComponent); }
DOTNET_EXPORT void E_PROP_AActor_InputComponent_SET(AActor* Ptr, UInputComponent* Value) { Ptr->InputComponent = Value; }
DOTNET_EXPORT auto E_PROP_AActor_InputPriority_GET(AActor* Ptr) { return Ptr->InputPriority; }
DOTNET_EXPORT void E_PROP_AActor_InputPriority_SET(AActor* Ptr, int32 Value) { Ptr->InputPriority = Value; }
DOTNET_EXPORT auto E_PROP_AActor_Instigator_GET(AActor* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->Instigator); }
DOTNET_EXPORT void E_PROP_AActor_Instigator_SET(AActor* Ptr, APawn* Value) { Ptr->Instigator = Value; }
DOTNET_EXPORT auto E_PROP_AActor_MinNetUpdateFrequency_GET(AActor* Ptr) { return Ptr->MinNetUpdateFrequency; }
DOTNET_EXPORT void E_PROP_AActor_MinNetUpdateFrequency_SET(AActor* Ptr, float Value) { Ptr->MinNetUpdateFrequency = Value; }
DOTNET_EXPORT auto E_PROP_AActor_NetCullDistanceSquared_GET(AActor* Ptr) { return Ptr->NetCullDistanceSquared; }
DOTNET_EXPORT void E_PROP_AActor_NetCullDistanceSquared_SET(AActor* Ptr, float Value) { Ptr->NetCullDistanceSquared = Value; }
DOTNET_EXPORT auto E_PROP_AActor_NetPriority_GET(AActor* Ptr) { return Ptr->NetPriority; }
DOTNET_EXPORT void E_PROP_AActor_NetPriority_SET(AActor* Ptr, float Value) { Ptr->NetPriority = Value; }
DOTNET_EXPORT auto E_PROP_AActor_NetTag_GET(AActor* Ptr) { return Ptr->NetTag; }
DOTNET_EXPORT void E_PROP_AActor_NetTag_SET(AActor* Ptr, int32 Value) { Ptr->NetTag = Value; }
DOTNET_EXPORT auto E_PROP_AActor_NetUpdateFrequency_GET(AActor* Ptr) { return Ptr->NetUpdateFrequency; }
DOTNET_EXPORT void E_PROP_AActor_NetUpdateFrequency_SET(AActor* Ptr, float Value) { Ptr->NetUpdateFrequency = Value; }
DOTNET_EXPORT void E_EVENT_ADD_AActor_OnActorBeginOverlap(AActor* Obj)
{
auto wrapper = NewObject<UManageEventSender>(UCoreShell::GetInstance());
wrapper->ManageDelegateName = "InvokeEvent_OnActorBeginOverlap";
wrapper->SourceObject = Obj;
Obj->OnActorBeginOverlap.AddDynamic(wrapper, &UManageEventSender::Wrapper_FActorBeginOverlapSignature);
}
DOTNET_EXPORT void E_EVENT_DEL_AActor_OnActorBeginOverlap(AActor* Obj)
{
}
DOTNET_EXPORT void E_EVENT_ADD_AActor_OnActorEndOverlap(AActor* Obj)
{
auto wrapper = NewObject<UManageEventSender>(UCoreShell::GetInstance());
wrapper->ManageDelegateName = "InvokeEvent_OnActorEndOverlap";
wrapper->SourceObject = Obj;
Obj->OnActorEndOverlap.AddDynamic(wrapper, &UManageEventSender::Wrapper_FActorEndOverlapSignature);
}
DOTNET_EXPORT void E_EVENT_DEL_AActor_OnActorEndOverlap(AActor* Obj)
{
}
DOTNET_EXPORT void E_EVENT_ADD_AActor_OnActorHit(AActor* Obj)
{
auto wrapper = NewObject<UManageEventSender>(UCoreShell::GetInstance());
wrapper->ManageDelegateName = "InvokeEvent_OnActorHit";
wrapper->SourceObject = Obj;
Obj->OnActorHit.AddDynamic(wrapper, &UManageEventSender::Wrapper_FActorHitSignature);
}
DOTNET_EXPORT void E_EVENT_DEL_AActor_OnActorHit(AActor* Obj)
{
}
DOTNET_EXPORT void E_EVENT_ADD_AActor_OnBeginCursorOver(AActor* Obj)
{
auto wrapper = NewObject<UManageEventSender>(UCoreShell::GetInstance());
wrapper->ManageDelegateName = "InvokeEvent_OnBeginCursorOver";
wrapper->SourceObject = Obj;
Obj->OnBeginCursorOver.AddDynamic(wrapper, &UManageEventSender::Wrapper_FActorBeginCursorOverSignature);
}
DOTNET_EXPORT void E_EVENT_DEL_AActor_OnBeginCursorOver(AActor* Obj)
{
}
DOTNET_EXPORT void E_EVENT_ADD_AActor_OnDestroyed(AActor* Obj)
{
auto wrapper = NewObject<UManageEventSender>(UCoreShell::GetInstance());
wrapper->ManageDelegateName = "InvokeEvent_OnDestroyed";
wrapper->SourceObject = Obj;
Obj->OnDestroyed.AddDynamic(wrapper, &UManageEventSender::Wrapper_FActorDestroyedSignature);
}
DOTNET_EXPORT void E_EVENT_DEL_AActor_OnDestroyed(AActor* Obj)
{
}
DOTNET_EXPORT void E_EVENT_ADD_AActor_OnEndCursorOver(AActor* Obj)
{
auto wrapper = NewObject<UManageEventSender>(UCoreShell::GetInstance());
wrapper->ManageDelegateName = "InvokeEvent_OnEndCursorOver";
wrapper->SourceObject = Obj;
Obj->OnEndCursorOver.AddDynamic(wrapper, &UManageEventSender::Wrapper_FActorEndCursorOverSignature);
}
DOTNET_EXPORT void E_EVENT_DEL_AActor_OnEndCursorOver(AActor* Obj)
{
}
DOTNET_EXPORT auto E_PROP_AActor_PrimaryActorTick_GET(AActor* Ptr) { return (INT_PTR)&(Ptr->PrimaryActorTick); }
DOTNET_EXPORT INT_PTR E_NewObject_AActor(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<AActor>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_AActor_ActorHasTag(AActor* Self, char* Tag)
{
auto _p0 = ConvertFromManage_FName(Tag);
return Self->ActorHasTag(_p0);
}
DOTNET_EXPORT auto E_AActor_ActorLineTraceSingle(AActor* Self, INT_PTR OutHit, INT_PTR Start, INT_PTR End, ECollisionChannel TraceChannel, INT_PTR Params)
{
auto& _p0 = *(FHitResult*)OutHit;
auto& _p1 = *(FVector*)Start;
auto& _p2 = *(FVector*)End;
auto _p3 = TraceChannel;
auto& _p4 = *(FCollisionQueryParams*)Params;
return Self->ActorLineTraceSingle(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E_AActor_ActorToWorld(AActor* Self)
{
return (INT_PTR) new FTransform(Self->ActorToWorld());
}
DOTNET_EXPORT auto E_AActor_AddActorLocalOffset(AActor* Self, INT_PTR DeltaLocation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto _p0 = *(FVector*)DeltaLocation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->AddActorLocalOffset(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_AddActorLocalRotation(AActor* Self, INT_PTR DeltaRotation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto _p0 = *(FRotator*)DeltaRotation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->AddActorLocalRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_AddActorLocalRotation_o1(AActor* Self, INT_PTR DeltaRotation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto& _p0 = *(FQuat*)DeltaRotation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->AddActorLocalRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_AddActorLocalTransform(AActor* Self, INT_PTR NewTransform, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto& _p0 = *(FTransform*)NewTransform;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->AddActorLocalTransform(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_AddActorWorldOffset(AActor* Self, INT_PTR DeltaLocation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto _p0 = *(FVector*)DeltaLocation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->AddActorWorldOffset(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_AddActorWorldRotation(AActor* Self, INT_PTR DeltaRotation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto _p0 = *(FRotator*)DeltaRotation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->AddActorWorldRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_AddActorWorldRotation_o1(AActor* Self, INT_PTR DeltaRotation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto& _p0 = *(FQuat*)DeltaRotation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->AddActorWorldRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_AddActorWorldTransform(AActor* Self, INT_PTR DeltaTransform, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto& _p0 = *(FTransform*)DeltaTransform;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->AddActorWorldTransform(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_AddComponent(AActor* Self, char* TemplateName, bool bManualAttachment, INT_PTR RelativeTransform, UObject* ComponentTemplateContext)
{
auto _p0 = ConvertFromManage_FName(TemplateName);
auto _p1 = bManualAttachment;
auto& _p2 = *(FTransform*)RelativeTransform;
auto _p3 = ComponentTemplateContext;
return ConvertToManage_ObjectPointerDescription(Self->AddComponent(_p0, _p1, _p2, _p3));
}
DOTNET_EXPORT auto E_AActor_AddInstanceComponent(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
Self->AddInstanceComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_AddOwnedComponent(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
Self->AddOwnedComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_AddTickPrerequisiteActor(AActor* Self, AActor* PrerequisiteActor)
{
auto _p0 = PrerequisiteActor;
Self->AddTickPrerequisiteActor(_p0);
}
DOTNET_EXPORT auto E_AActor_AddTickPrerequisiteComponent(AActor* Self, UActorComponent* PrerequisiteComponent)
{
auto _p0 = PrerequisiteComponent;
Self->AddTickPrerequisiteComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_AllowReceiveTickEventOnDedicatedServer(AActor* Self)
{
return Self->AllowReceiveTickEventOnDedicatedServer();
}
DOTNET_EXPORT auto E_AActor_ApplyWorldOffset(AActor* Self, INT_PTR InOffset, bool bWorldShift)
{
auto& _p0 = *(FVector*)InOffset;
auto _p1 = bWorldShift;
Self->ApplyWorldOffset(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_AttachToActor(AActor* Self, AActor* ParentActor, INT_PTR AttachmentRules, char* SocketName)
{
auto _p0 = ParentActor;
auto& _p1 = *(FAttachmentTransformRules*)AttachmentRules;
auto _p2 = ConvertFromManage_FName(SocketName);
Self->AttachToActor(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_AttachToComponent(AActor* Self, USceneComponent* Parent, INT_PTR AttachmentRules, char* SocketName)
{
auto _p0 = Parent;
auto& _p1 = *(FAttachmentTransformRules*)AttachmentRules;
auto _p2 = ConvertFromManage_FName(SocketName);
Self->AttachToComponent(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_BecomeViewTarget(AActor* Self, APlayerController* PC)
{
auto _p0 = PC;
Self->BecomeViewTarget(_p0);
}
DOTNET_EXPORT auto E_AActor_BeginPlay(AActor* Self)
{
((E_PROTECTED_WRAP_AActor*)Self)->BeginPlay_WRAP();
}
DOTNET_EXPORT auto E_AActor_CalcCamera(AActor* Self, float DeltaTime, INT_PTR OutResult)
{
auto _p0 = DeltaTime;
auto& _p1 = *(FMinimalViewInfo*)OutResult;
Self->CalcCamera(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_CalculateComponentsBoundingBoxInLocalSpace(AActor* Self, bool bNonColliding)
{
auto _p0 = bNonColliding;
return (INT_PTR) new FBox(Self->CalculateComponentsBoundingBoxInLocalSpace(_p0));
}
DOTNET_EXPORT auto E_AActor_CanBeBaseForCharacter(AActor* Self, APawn* Pawn)
{
auto _p0 = Pawn;
return Self->CanBeBaseForCharacter(_p0);
}
DOTNET_EXPORT auto E_AActor_CanEverTick(AActor* Self)
{
return Self->CanEverTick();
}
DOTNET_EXPORT auto E_AActor_CheckActorComponents(AActor* Self)
{
return ((E_PROTECTED_WRAP_AActor*)Self)->CheckActorComponents_WRAP();
}
DOTNET_EXPORT auto E_AActor_CheckComponentInstanceName(AActor* Self, char* InName)
{
auto _p0 = ConvertFromManage_FName(InName);
Self->CheckComponentInstanceName(_p0);
}
DOTNET_EXPORT auto E_AActor_CheckStillInWorld(AActor* Self)
{
return Self->CheckStillInWorld();
}
DOTNET_EXPORT auto E_AActor_ClearComponentOverlaps(AActor* Self)
{
Self->ClearComponentOverlaps();
}
DOTNET_EXPORT auto E_AActor_ClearCrossLevelReferences(AActor* Self)
{
Self->ClearCrossLevelReferences();
}
DOTNET_EXPORT auto E_AActor_ClearInstanceComponents(AActor* Self, bool bDestroyComponents)
{
auto _p0 = bDestroyComponents;
Self->ClearInstanceComponents(_p0);
}
DOTNET_EXPORT auto E_AActor_CopyRemoteRoleFrom(AActor* Self, AActor* CopyFromActor)
{
auto _p0 = CopyFromActor;
Self->CopyRemoteRoleFrom(_p0);
}
DOTNET_EXPORT auto E_AActor_CreateComponentFromTemplate(AActor* Self, UActorComponent* Template, char* InName)
{
auto _p0 = Template;
auto _p1 = ConvertFromManage_FName(InName);
return ConvertToManage_ObjectPointerDescription(Self->CreateComponentFromTemplate(_p0, _p1));
}
DOTNET_EXPORT auto E_AActor_DebugShowOneComponentHierarchy(AActor* Self, USceneComponent* SceneComp, int32 NestLevel, bool bShowPosition)
{
auto _p0 = SceneComp;
auto& _p1 = NestLevel;
auto _p2 = bShowPosition;
Self->DebugShowOneComponentHierarchy(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_Destroy(AActor* Self, bool bNetForce, bool bShouldModifyLevel)
{
auto _p0 = bNetForce;
auto _p1 = bShouldModifyLevel;
return Self->Destroy(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_DestroyConstructedComponents(AActor* Self)
{
Self->DestroyConstructedComponents();
}
DOTNET_EXPORT auto E_AActor_Destroyed(AActor* Self)
{
Self->Destroyed();
}
DOTNET_EXPORT auto E_AActor_DestroyNetworkActorHandled(AActor* Self)
{
return Self->DestroyNetworkActorHandled();
}
DOTNET_EXPORT auto E_AActor_DetachAllSceneComponents(AActor* Self, USceneComponent* InParentComponent, INT_PTR DetachmentRules)
{
auto _p0 = InParentComponent;
auto& _p1 = *(FDetachmentTransformRules*)DetachmentRules;
Self->DetachAllSceneComponents(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_DetachFromActor(AActor* Self, INT_PTR DetachmentRules)
{
auto& _p0 = *(FDetachmentTransformRules*)DetachmentRules;
Self->DetachFromActor(_p0);
}
DOTNET_EXPORT auto E_AActor_DetachRootComponentFromParent(AActor* Self, bool bMaintainWorldPosition)
{
auto _p0 = bMaintainWorldPosition;
Self->DetachRootComponentFromParent(_p0);
}
DOTNET_EXPORT auto E_AActor_DisableComponentsSimulatePhysics(AActor* Self)
{
Self->DisableComponentsSimulatePhysics();
}
DOTNET_EXPORT auto E_AActor_DisableInput(AActor* Self, APlayerController* PlayerController)
{
auto _p0 = PlayerController;
Self->DisableInput(_p0);
}
DOTNET_EXPORT auto E_AActor_DispatchBeginPlay(AActor* Self)
{
Self->DispatchBeginPlay();
}
DOTNET_EXPORT auto E_AActor_DispatchBlockingHit(AActor* Self, UPrimitiveComponent* MyComp, UPrimitiveComponent* OtherComp, bool bSelfMoved, INT_PTR Hit)
{
auto _p0 = MyComp;
auto _p1 = OtherComp;
auto _p2 = bSelfMoved;
auto& _p3 = *(FHitResult*)Hit;
Self->DispatchBlockingHit(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_DrawDebugComponents(AActor* Self)
{
Self->DrawDebugComponents();
}
DOTNET_EXPORT auto E_AActor_EnableInput(AActor* Self, APlayerController* PlayerController)
{
auto _p0 = PlayerController;
Self->EnableInput(_p0);
}
DOTNET_EXPORT auto E_AActor_EndViewTarget(AActor* Self, APlayerController* PC)
{
auto _p0 = PC;
Self->EndViewTarget(_p0);
}
DOTNET_EXPORT auto E_AActor_ExchangeNetRoles(AActor* Self, bool bRemoteOwner)
{
auto _p0 = bRemoteOwner;
Self->ExchangeNetRoles(_p0);
}
DOTNET_EXPORT auto E_AActor_FinishAndRegisterComponent(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
Self->FinishAndRegisterComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_FinishSpawning(AActor* Self, INT_PTR Transform, bool bIsDefaultTransform)
{
auto& _p0 = *(FTransform*)Transform;
auto _p1 = bIsDefaultTransform;
Self->FinishSpawning(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_FlushNetDormancy(AActor* Self)
{
Self->FlushNetDormancy();
}
DOTNET_EXPORT auto E_AActor_ForceNetRelevant(AActor* Self)
{
Self->ForceNetRelevant();
}
DOTNET_EXPORT auto E_AActor_ForceNetUpdate(AActor* Self)
{
Self->ForceNetUpdate();
}
DOTNET_EXPORT auto E_AActor_ForcePropertyCompare(AActor* Self)
{
Self->ForcePropertyCompare();
}
DOTNET_EXPORT auto E_AActor_GatherCurrentMovement(AActor* Self)
{
Self->GatherCurrentMovement();
}
DOTNET_EXPORT auto E_AActor_GetActorBounds(AActor* Self, bool bOnlyCollidingComponents, INT_PTR Origin, INT_PTR BoxExtent)
{
auto _p0 = bOnlyCollidingComponents;
auto& _p1 = *(FVector*)Origin;
auto& _p2 = *(FVector*)BoxExtent;
Self->GetActorBounds(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_GetActorEnableCollision(AActor* Self)
{
return Self->GetActorEnableCollision();
}
DOTNET_EXPORT auto E_AActor_GetActorEyesViewPoint(AActor* Self, INT_PTR OutLocation, INT_PTR OutRotation)
{
auto& _p0 = *(FVector*)OutLocation;
auto& _p1 = *(FRotator*)OutRotation;
Self->GetActorEyesViewPoint(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_GetActorForwardVector(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetActorForwardVector());
}
DOTNET_EXPORT auto E_AActor_GetActorLocation(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetActorLocation());
}
DOTNET_EXPORT auto E_AActor_GetActorQuat(AActor* Self)
{
return (INT_PTR) new FQuat(Self->GetActorQuat());
}
DOTNET_EXPORT auto E_AActor_GetActorRelativeScale3D(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetActorRelativeScale3D());
}
DOTNET_EXPORT auto E_AActor_GetActorRightVector(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetActorRightVector());
}
DOTNET_EXPORT auto E_AActor_GetActorRotation(AActor* Self)
{
return (INT_PTR) new FRotator(Self->GetActorRotation());
}
DOTNET_EXPORT auto E_AActor_GetActorScale(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetActorScale());
}
DOTNET_EXPORT auto E_AActor_GetActorScale3D(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetActorScale3D());
}
DOTNET_EXPORT auto E_AActor_GetActorTickInterval(AActor* Self)
{
return Self->GetActorTickInterval();
}
DOTNET_EXPORT auto E_AActor_GetActorTimeDilation(AActor* Self)
{
return Self->GetActorTimeDilation();
}
DOTNET_EXPORT auto E_AActor_GetActorTimeDilation_o1(AActor* Self, UWorld& ActorWorld)
{
auto& _p0 = ActorWorld;
return Self->GetActorTimeDilation(_p0);
}
DOTNET_EXPORT auto E_AActor_GetActorTransform(AActor* Self)
{
return (INT_PTR) new FTransform(Self->GetActorTransform());
}
DOTNET_EXPORT auto E_AActor_GetActorUpVector(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetActorUpVector());
}
DOTNET_EXPORT auto E_AActor_GetAttachParentActor(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetAttachParentActor());
}
DOTNET_EXPORT auto E_AActor_GetAttachParentSocketName(AActor* Self)
{
return ConvertToManage_StringWrapper(Self->GetAttachParentSocketName());
}
DOTNET_EXPORT auto E_AActor_GetComponentsBoundingBox(AActor* Self, bool bNonColliding)
{
auto _p0 = bNonColliding;
return (INT_PTR) new FBox(Self->GetComponentsBoundingBox(_p0));
}
DOTNET_EXPORT auto E_AActor_GetComponentsBoundingCylinder(AActor* Self, float CollisionRadius, float CollisionHalfHeight, bool bNonColliding)
{
auto& _p0 = CollisionRadius;
auto& _p1 = CollisionHalfHeight;
auto _p2 = bNonColliding;
Self->GetComponentsBoundingCylinder(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_GetComponentsCollisionResponseToChannel(AActor* Self, ECollisionChannel Channel)
{
auto _p0 = Channel;
return Self->GetComponentsCollisionResponseToChannel(_p0);
}
DOTNET_EXPORT auto E_AActor_GetDebugName(AActor* Self, AActor* Actor)
{
auto _p0 = Actor;
return ConvertToManage_StringWrapper(Self->GetDebugName(_p0));
}
DOTNET_EXPORT auto E_AActor_GetDefaultAttachComponent(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetDefaultAttachComponent());
}
DOTNET_EXPORT auto E_AActor_GetDistanceTo(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
return Self->GetDistanceTo(_p0);
}
DOTNET_EXPORT auto E_AActor_GetDotProductTo(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
return Self->GetDotProductTo(_p0);
}
DOTNET_EXPORT auto E_AActor_GetGameTimeSinceCreation(AActor* Self)
{
return Self->GetGameTimeSinceCreation();
}
DOTNET_EXPORT auto E_AActor_GetHorizontalDistanceTo(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
return Self->GetHorizontalDistanceTo(_p0);
}
DOTNET_EXPORT auto E_AActor_GetHorizontalDotProductTo(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
return Self->GetHorizontalDotProductTo(_p0);
}
DOTNET_EXPORT auto E_AActor_GetHumanReadableName(AActor* Self)
{
return ConvertToManage_StringWrapper(Self->GetHumanReadableName());
}
DOTNET_EXPORT auto E_AActor_GetInputAxisValue(AActor* Self, char* InputAxisName)
{
auto _p0 = ConvertFromManage_FName(InputAxisName);
return Self->GetInputAxisValue(_p0);
}
DOTNET_EXPORT auto E_AActor_GetInstigator(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetInstigator());
}
DOTNET_EXPORT auto E_AActor_GetInstigatorController(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetInstigatorController());
}
DOTNET_EXPORT auto E_AActor_GetIsReplicated(AActor* Self)
{
return Self->GetIsReplicated();
}
DOTNET_EXPORT auto E_AActor_GetLastRenderTime(AActor* Self)
{
return Self->GetLastRenderTime();
}
DOTNET_EXPORT auto E_AActor_GetLifeSpan(AActor* Self)
{
return Self->GetLifeSpan();
}
DOTNET_EXPORT auto E_AActor_GetLocalRole(AActor* Self)
{
return Self->GetLocalRole();
}
DOTNET_EXPORT auto E_AActor_GetNetDriverName(AActor* Self)
{
return ConvertToManage_StringWrapper(Self->GetNetDriverName());
}
DOTNET_EXPORT auto E_AActor_GetNetMode(AActor* Self)
{
return Self->GetNetMode();
}
DOTNET_EXPORT auto E_AActor_GetNetOwner(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetNetOwner());
}
DOTNET_EXPORT auto E_AActor_GetNetOwningPlayer(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetNetOwningPlayer());
}
DOTNET_EXPORT auto E_AActor_GetOwner(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetOwner());
}
DOTNET_EXPORT auto E_AActor_GetParentActor(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetParentActor());
}
DOTNET_EXPORT auto E_AActor_GetPlacementExtent(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetPlacementExtent());
}
DOTNET_EXPORT auto E_AActor_GetRemoteRole(AActor* Self)
{
return Self->GetRemoteRole();
}
DOTNET_EXPORT auto E_AActor_GetRootComponent(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetRootComponent());
}
DOTNET_EXPORT auto E_AActor_GetSimpleCollisionCylinder(AActor* Self, float CollisionRadius, float CollisionHalfHeight)
{
auto& _p0 = CollisionRadius;
auto& _p1 = CollisionHalfHeight;
Self->GetSimpleCollisionCylinder(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_GetSimpleCollisionCylinderExtent(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetSimpleCollisionCylinderExtent());
}
DOTNET_EXPORT auto E_AActor_GetSimpleCollisionHalfHeight(AActor* Self)
{
return Self->GetSimpleCollisionHalfHeight();
}
DOTNET_EXPORT auto E_AActor_GetSimpleCollisionRadius(AActor* Self)
{
return Self->GetSimpleCollisionRadius();
}
DOTNET_EXPORT auto E_AActor_GetSquaredDistanceTo(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
return Self->GetSquaredDistanceTo(_p0);
}
DOTNET_EXPORT auto E_AActor_GetTargetLocation(AActor* Self, AActor* RequestedBy)
{
auto _p0 = RequestedBy;
return (INT_PTR) new FVector(Self->GetTargetLocation(_p0));
}
DOTNET_EXPORT auto E_AActor_GetTearOff(AActor* Self)
{
return Self->GetTearOff();
}
DOTNET_EXPORT auto E_AActor_GetTickableWhenPaused(AActor* Self)
{
return Self->GetTickableWhenPaused();
}
DOTNET_EXPORT auto E_AActor_GetTransform(AActor* Self)
{
return (INT_PTR) new FTransform(Self->GetTransform());
}
DOTNET_EXPORT auto E_AActor_GetVelocity(AActor* Self)
{
return (INT_PTR) new FVector(Self->GetVelocity());
}
DOTNET_EXPORT auto E_AActor_GetVerticalDistanceTo(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
return Self->GetVerticalDistanceTo(_p0);
}
DOTNET_EXPORT auto E_AActor_GetWorldSettings(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetWorldSettings());
}
DOTNET_EXPORT auto E_AActor_HasActiveCameraComponent(AActor* Self)
{
return Self->HasActiveCameraComponent();
}
DOTNET_EXPORT auto E_AActor_HasActivePawnControlCameraComponent(AActor* Self)
{
return Self->HasActivePawnControlCameraComponent();
}
DOTNET_EXPORT auto E_AActor_HasActorBegunPlay(AActor* Self)
{
return Self->HasActorBegunPlay();
}
DOTNET_EXPORT auto E_AActor_HasAuthority(AActor* Self)
{
return Self->HasAuthority();
}
DOTNET_EXPORT auto E_AActor_HasDeferredComponentRegistration(AActor* Self)
{
return Self->HasDeferredComponentRegistration();
}
DOTNET_EXPORT auto E_AActor_HasLocalNetOwner(AActor* Self)
{
return Self->HasLocalNetOwner();
}
DOTNET_EXPORT auto E_AActor_HasNetOwner(AActor* Self)
{
return Self->HasNetOwner();
}
DOTNET_EXPORT auto E_AActor_HasValidRootComponent(AActor* Self)
{
return Self->HasValidRootComponent();
}
DOTNET_EXPORT auto E_AActor_IncrementalRegisterComponents(AActor* Self, int32 NumComponentsToRegister)
{
auto _p0 = NumComponentsToRegister;
return Self->IncrementalRegisterComponents(_p0);
}
DOTNET_EXPORT auto E_AActor_InitializeComponents(AActor* Self)
{
Self->InitializeComponents();
}
DOTNET_EXPORT auto E_AActor_InternalTakePointDamage(AActor* Self, float Damage, INT_PTR PointDamageEvent, AController* EventInstigator, AActor* DamageCauser)
{
auto _p0 = Damage;
auto& _p1 = *(FPointDamageEvent*)PointDamageEvent;
auto _p2 = EventInstigator;
auto _p3 = DamageCauser;
return ((E_PROTECTED_WRAP_AActor*)Self)->InternalTakePointDamage_WRAP(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_InternalTakeRadialDamage(AActor* Self, float Damage, INT_PTR RadialDamageEvent, AController* EventInstigator, AActor* DamageCauser)
{
auto _p0 = Damage;
auto& _p1 = *(FRadialDamageEvent*)RadialDamageEvent;
auto _p2 = EventInstigator;
auto _p3 = DamageCauser;
return ((E_PROTECTED_WRAP_AActor*)Self)->InternalTakeRadialDamage_WRAP(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_InvalidateLightingCache(AActor* Self)
{
Self->InvalidateLightingCache();
}
DOTNET_EXPORT auto E_AActor_InvalidateLightingCacheDetailed(AActor* Self, bool bTranslationOnly)
{
auto _p0 = bTranslationOnly;
Self->InvalidateLightingCacheDetailed(_p0);
}
DOTNET_EXPORT auto E_AActor_IsActorBeginningPlay(AActor* Self)
{
return Self->IsActorBeginningPlay();
}
DOTNET_EXPORT auto E_AActor_IsActorBeingDestroyed(AActor* Self)
{
return Self->IsActorBeingDestroyed();
}
DOTNET_EXPORT auto E_AActor_IsActorInitialized(AActor* Self)
{
return Self->IsActorInitialized();
}
DOTNET_EXPORT auto E_AActor_IsActorTickEnabled(AActor* Self)
{
return Self->IsActorTickEnabled();
}
DOTNET_EXPORT auto E_AActor_IsAttachedTo(AActor* Self, AActor* Other)
{
auto _p0 = Other;
return Self->IsAttachedTo(_p0);
}
DOTNET_EXPORT auto E_AActor_IsBasedOnActor(AActor* Self, AActor* Other)
{
auto _p0 = Other;
return Self->IsBasedOnActor(_p0);
}
DOTNET_EXPORT auto E_AActor_IsChildActor(AActor* Self)
{
return Self->IsChildActor();
}
DOTNET_EXPORT auto E_AActor_IsComponentRelevantForNavigation(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
return Self->IsComponentRelevantForNavigation(_p0);
}
DOTNET_EXPORT auto E_AActor_IsInPersistentLevel(AActor* Self, bool bIncludeLevelStreamingPersistent)
{
auto _p0 = bIncludeLevelStreamingPersistent;
return Self->IsInPersistentLevel(_p0);
}
DOTNET_EXPORT auto E_AActor_IsLevelBoundsRelevant(AActor* Self)
{
return Self->IsLevelBoundsRelevant();
}
DOTNET_EXPORT auto E_AActor_IsMatineeControlled(AActor* Self)
{
return Self->IsMatineeControlled();
}
DOTNET_EXPORT auto E_AActor_IsNetMode(AActor* Self, ENetMode Mode)
{
auto _p0 = Mode;
return Self->IsNetMode(_p0);
}
DOTNET_EXPORT auto E_AActor_IsNetRelevantFor(AActor* Self, AActor* RealViewer, AActor* ViewTarget, INT_PTR SrcLocation)
{
auto _p0 = RealViewer;
auto _p1 = ViewTarget;
auto& _p2 = *(FVector*)SrcLocation;
return Self->IsNetRelevantFor(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_IsNetStartupActor(AActor* Self)
{
return Self->IsNetStartupActor();
}
DOTNET_EXPORT auto E_AActor_IsOverlappingActor(AActor* Self, AActor* Other)
{
auto _p0 = Other;
return Self->IsOverlappingActor(_p0);
}
DOTNET_EXPORT auto E_AActor_IsOwnedBy(AActor* Self, AActor* TestOwner)
{
auto _p0 = TestOwner;
return Self->IsOwnedBy(_p0);
}
DOTNET_EXPORT auto E_AActor_IsPendingKillPending(AActor* Self)
{
return Self->IsPendingKillPending();
}
DOTNET_EXPORT auto E_AActor_IsRelevancyOwnerFor(AActor* Self, AActor* ReplicatedActor, AActor* ActorOwner, AActor* ConnectionActor)
{
auto _p0 = ReplicatedActor;
auto _p1 = ActorOwner;
auto _p2 = ConnectionActor;
return Self->IsRelevancyOwnerFor(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_IsReplayRelevantFor(AActor* Self, AActor* RealViewer, AActor* ViewTarget, INT_PTR SrcLocation, float CullDistanceSquared)
{
auto _p0 = RealViewer;
auto _p1 = ViewTarget;
auto& _p2 = *(FVector*)SrcLocation;
auto _p3 = CullDistanceSquared;
return Self->IsReplayRelevantFor(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_IsReplicationPausedForConnection(AActor* Self, INT_PTR ConnectionOwnerNetViewer)
{
auto& _p0 = *(FNetViewer*)ConnectionOwnerNetViewer;
return Self->IsReplicationPausedForConnection(_p0);
}
DOTNET_EXPORT auto E_AActor_IsRootComponentCollisionRegistered(AActor* Self)
{
return Self->IsRootComponentCollisionRegistered();
}
DOTNET_EXPORT auto E_AActor_IsRootComponentMovable(AActor* Self)
{
return Self->IsRootComponentMovable();
}
DOTNET_EXPORT auto E_AActor_IsRootComponentStatic(AActor* Self)
{
return Self->IsRootComponentStatic();
}
DOTNET_EXPORT auto E_AActor_IsRootComponentStationary(AActor* Self)
{
return Self->IsRootComponentStationary();
}
DOTNET_EXPORT auto E_AActor_IsRunningUserConstructionScript(AActor* Self)
{
return Self->IsRunningUserConstructionScript();
}
DOTNET_EXPORT auto E_AActor_IsWithinNetRelevancyDistance(AActor* Self, INT_PTR SrcLocation)
{
auto& _p0 = *(FVector*)SrcLocation;
return ((E_PROTECTED_WRAP_AActor*)Self)->IsWithinNetRelevancyDistance_WRAP(_p0);
}
DOTNET_EXPORT auto E_AActor_K2_AddActorLocalOffset(AActor* Self, INT_PTR DeltaLocation, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto _p0 = *(FVector*)DeltaLocation;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_AddActorLocalOffset(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_AddActorLocalRotation(AActor* Self, INT_PTR DeltaRotation, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto _p0 = *(FRotator*)DeltaRotation;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_AddActorLocalRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_AddActorLocalTransform(AActor* Self, INT_PTR NewTransform, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto& _p0 = *(FTransform*)NewTransform;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_AddActorLocalTransform(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_AddActorWorldOffset(AActor* Self, INT_PTR DeltaLocation, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto _p0 = *(FVector*)DeltaLocation;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_AddActorWorldOffset(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_AddActorWorldRotation(AActor* Self, INT_PTR DeltaRotation, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto _p0 = *(FRotator*)DeltaRotation;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_AddActorWorldRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_AddActorWorldTransform(AActor* Self, INT_PTR DeltaTransform, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto& _p0 = *(FTransform*)DeltaTransform;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_AddActorWorldTransform(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_AttachRootComponentTo(AActor* Self, USceneComponent* InParent, char* InSocketName)
{
auto _p0 = InParent;
auto _p1 = ConvertFromManage_FName(InSocketName);
Self->K2_AttachRootComponentTo(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_K2_AttachRootComponentToActor(AActor* Self, AActor* InParentActor, char* InSocketName)
{
auto _p0 = InParentActor;
auto _p1 = ConvertFromManage_FName(InSocketName);
Self->K2_AttachRootComponentToActor(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_K2_AttachToActor(AActor* Self, AActor* ParentActor, char* SocketName, EAttachmentRule LocationRule, EAttachmentRule RotationRule, EAttachmentRule ScaleRule, bool bWeldSimulatedBodies)
{
auto _p0 = ParentActor;
auto _p1 = ConvertFromManage_FName(SocketName);
auto _p2 = LocationRule;
auto _p3 = RotationRule;
auto _p4 = ScaleRule;
auto _p5 = bWeldSimulatedBodies;
Self->K2_AttachToActor(_p0, _p1, _p2, _p3, _p4, _p5);
}
DOTNET_EXPORT auto E_AActor_K2_AttachToComponent(AActor* Self, USceneComponent* Parent, char* SocketName, EAttachmentRule LocationRule, EAttachmentRule RotationRule, EAttachmentRule ScaleRule, bool bWeldSimulatedBodies)
{
auto _p0 = Parent;
auto _p1 = ConvertFromManage_FName(SocketName);
auto _p2 = LocationRule;
auto _p3 = RotationRule;
auto _p4 = ScaleRule;
auto _p5 = bWeldSimulatedBodies;
Self->K2_AttachToComponent(_p0, _p1, _p2, _p3, _p4, _p5);
}
DOTNET_EXPORT auto E_AActor_K2_DestroyActor(AActor* Self)
{
Self->K2_DestroyActor();
}
DOTNET_EXPORT auto E_AActor_K2_DestroyComponent(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
Self->K2_DestroyComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_K2_DetachFromActor(AActor* Self, EDetachmentRule LocationRule, EDetachmentRule RotationRule, EDetachmentRule ScaleRule)
{
auto _p0 = LocationRule;
auto _p1 = RotationRule;
auto _p2 = ScaleRule;
Self->K2_DetachFromActor(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_K2_GetActorLocation(AActor* Self)
{
return (INT_PTR) new FVector(Self->K2_GetActorLocation());
}
DOTNET_EXPORT auto E_AActor_K2_GetActorRotation(AActor* Self)
{
return (INT_PTR) new FRotator(Self->K2_GetActorRotation());
}
DOTNET_EXPORT auto E_AActor_K2_GetRootComponent(AActor* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->K2_GetRootComponent());
}
DOTNET_EXPORT auto E_AActor_K2_OnBecomeViewTarget(AActor* Self, APlayerController* PC)
{
auto _p0 = PC;
Self->K2_OnBecomeViewTarget(_p0);
}
DOTNET_EXPORT auto E_AActor_K2_OnEndViewTarget(AActor* Self, APlayerController* PC)
{
auto _p0 = PC;
Self->K2_OnEndViewTarget(_p0);
}
DOTNET_EXPORT auto E_AActor_K2_OnReset(AActor* Self)
{
Self->K2_OnReset();
}
DOTNET_EXPORT auto E_AActor_K2_SetActorLocation(AActor* Self, INT_PTR NewLocation, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto _p0 = *(FVector*)NewLocation;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
return Self->K2_SetActorLocation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_SetActorLocationAndRotation(AActor* Self, INT_PTR NewLocation, INT_PTR NewRotation, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto _p0 = *(FVector*)NewLocation;
auto _p1 = *(FRotator*)NewRotation;
auto _p2 = bSweep;
auto& _p3 = *(FHitResult*)SweepHitResult;
auto _p4 = bTeleport;
return Self->K2_SetActorLocationAndRotation(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E_AActor_K2_SetActorRelativeLocation(AActor* Self, INT_PTR NewRelativeLocation, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto _p0 = *(FVector*)NewRelativeLocation;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_SetActorRelativeLocation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_SetActorRelativeRotation(AActor* Self, INT_PTR NewRelativeRotation, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto _p0 = *(FRotator*)NewRelativeRotation;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_SetActorRelativeRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_SetActorRelativeTransform(AActor* Self, INT_PTR NewRelativeTransform, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto& _p0 = *(FTransform*)NewRelativeTransform;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
Self->K2_SetActorRelativeTransform(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_SetActorRotation(AActor* Self, INT_PTR NewRotation, bool bTeleportPhysics)
{
auto _p0 = *(FRotator*)NewRotation;
auto _p1 = bTeleportPhysics;
return Self->K2_SetActorRotation(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_K2_SetActorTransform(AActor* Self, INT_PTR NewTransform, bool bSweep, INT_PTR SweepHitResult, bool bTeleport)
{
auto& _p0 = *(FTransform*)NewTransform;
auto _p1 = bSweep;
auto& _p2 = *(FHitResult*)SweepHitResult;
auto _p3 = bTeleport;
return Self->K2_SetActorTransform(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_K2_TeleportTo(AActor* Self, INT_PTR DestLocation, INT_PTR DestRotation)
{
auto _p0 = *(FVector*)DestLocation;
auto _p1 = *(FRotator*)DestRotation;
return Self->K2_TeleportTo(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_LifeSpanExpired(AActor* Self)
{
Self->LifeSpanExpired();
}
DOTNET_EXPORT auto E_AActor_MakeNoise(AActor* Self, float Loudness, APawn* NoiseInstigator, INT_PTR NoiseLocation, float MaxRange, char* Tag)
{
auto _p0 = Loudness;
auto _p1 = NoiseInstigator;
auto _p2 = *(FVector*)NoiseLocation;
auto _p3 = MaxRange;
auto _p4 = ConvertFromManage_FName(Tag);
Self->MakeNoise(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E_AActor_MakeNoiseImpl(AActor* Self, AActor* NoiseMaker, float Loudness, APawn* NoiseInstigator, INT_PTR NoiseLocation, float MaxRange, char* Tag)
{
auto _p0 = NoiseMaker;
auto _p1 = Loudness;
auto _p2 = NoiseInstigator;
auto& _p3 = *(FVector*)NoiseLocation;
auto _p4 = MaxRange;
auto _p5 = ConvertFromManage_FName(Tag);
Self->MakeNoiseImpl(_p0, _p1, _p2, _p3, _p4, _p5);
}
DOTNET_EXPORT auto E_AActor_MarkComponentsAsPendingKill(AActor* Self)
{
Self->MarkComponentsAsPendingKill();
}
DOTNET_EXPORT auto E_AActor_MarkComponentsRenderStateDirty(AActor* Self)
{
Self->MarkComponentsRenderStateDirty();
}
DOTNET_EXPORT auto E_AActor_NotifyActorBeginCursorOver(AActor* Self)
{
Self->NotifyActorBeginCursorOver();
}
DOTNET_EXPORT auto E_AActor_NotifyActorBeginOverlap(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
Self->NotifyActorBeginOverlap(_p0);
}
DOTNET_EXPORT auto E_AActor_NotifyActorEndCursorOver(AActor* Self)
{
Self->NotifyActorEndCursorOver();
}
DOTNET_EXPORT auto E_AActor_NotifyActorEndOverlap(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
Self->NotifyActorEndOverlap(_p0);
}
DOTNET_EXPORT auto E_AActor_NotifyActorOnClicked(AActor* Self)
{
Self->NotifyActorOnClicked();
}
DOTNET_EXPORT auto E_AActor_NotifyActorOnReleased(AActor* Self)
{
Self->NotifyActorOnReleased();
}
DOTNET_EXPORT auto E_AActor_NotifyHit(AActor* Self, UPrimitiveComponent* MyComp, AActor* Other, UPrimitiveComponent* OtherComp, bool bSelfMoved, INT_PTR HitLocation, INT_PTR HitNormal, INT_PTR NormalImpulse, INT_PTR Hit)
{
auto _p0 = MyComp;
auto _p1 = Other;
auto _p2 = OtherComp;
auto _p3 = bSelfMoved;
auto _p4 = *(FVector*)HitLocation;
auto _p5 = *(FVector*)HitNormal;
auto _p6 = *(FVector*)NormalImpulse;
auto& _p7 = *(FHitResult*)Hit;
Self->NotifyHit(_p0, _p1, _p2, _p3, _p4, _p5, _p6, _p7);
}
DOTNET_EXPORT auto E_AActor_OnConstruction(AActor* Self, INT_PTR Transform)
{
auto& _p0 = *(FTransform*)Transform;
Self->OnConstruction(_p0);
}
DOTNET_EXPORT auto E_AActor_OnRep_AttachmentReplication(AActor* Self)
{
Self->OnRep_AttachmentReplication();
}
DOTNET_EXPORT auto E_AActor_OnRep_Instigator(AActor* Self)
{
Self->OnRep_Instigator();
}
DOTNET_EXPORT auto E_AActor_OnRep_Owner(AActor* Self)
{
((E_PROTECTED_WRAP_AActor*)Self)->OnRep_Owner_WRAP();
}
DOTNET_EXPORT auto E_AActor_OnRep_ReplicatedMovement(AActor* Self)
{
Self->OnRep_ReplicatedMovement();
}
DOTNET_EXPORT auto E_AActor_OnRep_ReplicateMovement(AActor* Self)
{
Self->OnRep_ReplicateMovement();
}
DOTNET_EXPORT auto E_AActor_OnReplicationPausedChanged(AActor* Self, bool bIsReplicationPaused)
{
auto _p0 = bIsReplicationPaused;
Self->OnReplicationPausedChanged(_p0);
}
DOTNET_EXPORT auto E_AActor_OnSubobjectCreatedFromReplication(AActor* Self, UObject* NewSubobject)
{
auto _p0 = NewSubobject;
Self->OnSubobjectCreatedFromReplication(_p0);
}
DOTNET_EXPORT auto E_AActor_OnSubobjectDestroyFromReplication(AActor* Self, UObject* Subobject)
{
auto _p0 = Subobject;
Self->OnSubobjectDestroyFromReplication(_p0);
}
DOTNET_EXPORT auto E_AActor_OutsideWorldBounds(AActor* Self)
{
Self->OutsideWorldBounds();
}
DOTNET_EXPORT auto E_AActor_OwnsComponent(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
return Self->OwnsComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_PostActorConstruction(AActor* Self)
{
Self->PostActorConstruction();
}
DOTNET_EXPORT auto E_AActor_PostActorCreated(AActor* Self)
{
Self->PostActorCreated();
}
DOTNET_EXPORT auto E_AActor_PostCreateBlueprintComponent(AActor* Self, UActorComponent* NewActorComp)
{
auto _p0 = NewActorComp;
((E_PROTECTED_WRAP_AActor*)Self)->PostCreateBlueprintComponent_WRAP(_p0);
}
DOTNET_EXPORT auto E_AActor_PostInitializeComponents(AActor* Self)
{
Self->PostInitializeComponents();
}
DOTNET_EXPORT auto E_AActor_PostNetInit(AActor* Self)
{
Self->PostNetInit();
}
DOTNET_EXPORT auto E_AActor_PostNetReceiveLocationAndRotation(AActor* Self)
{
Self->PostNetReceiveLocationAndRotation();
}
DOTNET_EXPORT auto E_AActor_PostNetReceivePhysicState(AActor* Self)
{
Self->PostNetReceivePhysicState();
}
DOTNET_EXPORT auto E_AActor_PostNetReceiveRole(AActor* Self)
{
Self->PostNetReceiveRole();
}
DOTNET_EXPORT auto E_AActor_PostNetReceiveVelocity(AActor* Self, INT_PTR NewVelocity)
{
auto& _p0 = *(FVector*)NewVelocity;
Self->PostNetReceiveVelocity(_p0);
}
DOTNET_EXPORT auto E_AActor_PostRegisterAllComponents(AActor* Self)
{
Self->PostRegisterAllComponents();
}
DOTNET_EXPORT auto E_AActor_PostRenderFor(AActor* Self, APlayerController* PC, UCanvas* Canvas, INT_PTR CameraPosition, INT_PTR CameraDir)
{
auto _p0 = PC;
auto _p1 = Canvas;
auto _p2 = *(FVector*)CameraPosition;
auto _p3 = *(FVector*)CameraDir;
Self->PostRenderFor(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_PostSpawnInitialize(AActor* Self, INT_PTR SpawnTransform, AActor* InOwner, APawn* InInstigator, bool bRemoteOwned, bool bNoFail, bool bDeferConstruction)
{
auto& _p0 = *(FTransform*)SpawnTransform;
auto _p1 = InOwner;
auto _p2 = InInstigator;
auto _p3 = bRemoteOwned;
auto _p4 = bNoFail;
auto _p5 = bDeferConstruction;
Self->PostSpawnInitialize(_p0, _p1, _p2, _p3, _p4, _p5);
}
DOTNET_EXPORT auto E_AActor_PostUnregisterAllComponents(AActor* Self)
{
Self->PostUnregisterAllComponents();
}
DOTNET_EXPORT auto E_AActor_PreInitializeComponents(AActor* Self)
{
Self->PreInitializeComponents();
}
DOTNET_EXPORT auto E_AActor_PreRegisterAllComponents(AActor* Self)
{
Self->PreRegisterAllComponents();
}
DOTNET_EXPORT auto E_AActor_PrestreamTextures(AActor* Self, float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups)
{
auto _p0 = Seconds;
auto _p1 = bEnableStreaming;
auto _p2 = CinematicTextureGroups;
Self->PrestreamTextures(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_ProcessUserConstructionScript(AActor* Self)
{
((E_PROTECTED_WRAP_AActor*)Self)->ProcessUserConstructionScript_WRAP();
}
DOTNET_EXPORT auto E_AActor_ReceiveActorBeginCursorOver(AActor* Self)
{
Self->ReceiveActorBeginCursorOver();
}
DOTNET_EXPORT auto E_AActor_ReceiveActorBeginOverlap(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
Self->ReceiveActorBeginOverlap(_p0);
}
DOTNET_EXPORT auto E_AActor_ReceiveActorEndCursorOver(AActor* Self)
{
Self->ReceiveActorEndCursorOver();
}
DOTNET_EXPORT auto E_AActor_ReceiveActorEndOverlap(AActor* Self, AActor* OtherActor)
{
auto _p0 = OtherActor;
Self->ReceiveActorEndOverlap(_p0);
}
DOTNET_EXPORT auto E_AActor_ReceiveActorOnClicked(AActor* Self)
{
Self->ReceiveActorOnClicked();
}
DOTNET_EXPORT auto E_AActor_ReceiveActorOnReleased(AActor* Self)
{
Self->ReceiveActorOnReleased();
}
DOTNET_EXPORT auto E_AActor_ReceiveBeginPlay(AActor* Self)
{
((E_PROTECTED_WRAP_AActor*)Self)->ReceiveBeginPlay_WRAP();
}
DOTNET_EXPORT auto E_AActor_ReceiveDestroyed(AActor* Self)
{
Self->ReceiveDestroyed();
}
DOTNET_EXPORT auto E_AActor_ReceiveHit(AActor* Self, UPrimitiveComponent* MyComp, AActor* Other, UPrimitiveComponent* OtherComp, bool bSelfMoved, INT_PTR HitLocation, INT_PTR HitNormal, INT_PTR NormalImpulse, INT_PTR Hit)
{
auto _p0 = MyComp;
auto _p1 = Other;
auto _p2 = OtherComp;
auto _p3 = bSelfMoved;
auto _p4 = *(FVector*)HitLocation;
auto _p5 = *(FVector*)HitNormal;
auto _p6 = *(FVector*)NormalImpulse;
auto& _p7 = *(FHitResult*)Hit;
Self->ReceiveHit(_p0, _p1, _p2, _p3, _p4, _p5, _p6, _p7);
}
DOTNET_EXPORT auto E_AActor_ReceiveTick(AActor* Self, float DeltaSeconds)
{
auto _p0 = DeltaSeconds;
Self->ReceiveTick(_p0);
}
DOTNET_EXPORT auto E_AActor_RegisterActorTickFunctions(AActor* Self, bool bRegister)
{
auto _p0 = bRegister;
((E_PROTECTED_WRAP_AActor*)Self)->RegisterActorTickFunctions_WRAP(_p0);
}
DOTNET_EXPORT auto E_AActor_RegisterAllActorTickFunctions(AActor* Self, bool bRegister, bool bDoComponents)
{
auto _p0 = bRegister;
auto _p1 = bDoComponents;
Self->RegisterAllActorTickFunctions(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_RegisterAllComponents(AActor* Self)
{
Self->RegisterAllComponents();
}
DOTNET_EXPORT auto E_AActor_RemoveInstanceComponent(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
Self->RemoveInstanceComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_RemoveOwnedComponent(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
Self->RemoveOwnedComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_RemoveTickPrerequisiteActor(AActor* Self, AActor* PrerequisiteActor)
{
auto _p0 = PrerequisiteActor;
Self->RemoveTickPrerequisiteActor(_p0);
}
DOTNET_EXPORT auto E_AActor_RemoveTickPrerequisiteComponent(AActor* Self, UActorComponent* PrerequisiteComponent)
{
auto _p0 = PrerequisiteComponent;
Self->RemoveTickPrerequisiteComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_ReregisterAllComponents(AActor* Self)
{
Self->ReregisterAllComponents();
}
DOTNET_EXPORT auto E_AActor_RerunConstructionScripts(AActor* Self)
{
Self->RerunConstructionScripts();
}
DOTNET_EXPORT auto E_AActor_Reset(AActor* Self)
{
Self->Reset();
}
DOTNET_EXPORT auto E_AActor_ResetOwnedComponents(AActor* Self)
{
Self->ResetOwnedComponents();
}
DOTNET_EXPORT auto E_AActor_ResetPropertiesForConstruction(AActor* Self)
{
Self->ResetPropertiesForConstruction();
}
DOTNET_EXPORT auto E_AActor_RewindForReplay(AActor* Self)
{
Self->RewindForReplay();
}
DOTNET_EXPORT auto E_AActor_SetActorEnableCollision(AActor* Self, bool bNewActorEnableCollision)
{
auto _p0 = bNewActorEnableCollision;
Self->SetActorEnableCollision(_p0);
}
DOTNET_EXPORT auto E_AActor_SetActorHiddenInGame(AActor* Self, bool bNewHidden)
{
auto _p0 = bNewHidden;
Self->SetActorHiddenInGame(_p0);
}
DOTNET_EXPORT auto E_AActor_SetActorLocation(AActor* Self, INT_PTR NewLocation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto& _p0 = *(FVector*)NewLocation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
return Self->SetActorLocation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_SetActorLocationAndRotation(AActor* Self, INT_PTR NewLocation, INT_PTR NewRotation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto _p0 = *(FVector*)NewLocation;
auto _p1 = *(FRotator*)NewRotation;
auto _p2 = bSweep;
auto _p3 = (FHitResult*)OutSweepHitResult;
auto _p4 = Teleport;
return Self->SetActorLocationAndRotation(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E_AActor_SetActorLocationAndRotation_o1(AActor* Self, INT_PTR NewLocation, INT_PTR NewRotation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto _p0 = *(FVector*)NewLocation;
auto& _p1 = *(FQuat*)NewRotation;
auto _p2 = bSweep;
auto _p3 = (FHitResult*)OutSweepHitResult;
auto _p4 = Teleport;
return Self->SetActorLocationAndRotation(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E_AActor_SetActorRelativeLocation(AActor* Self, INT_PTR NewRelativeLocation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto _p0 = *(FVector*)NewRelativeLocation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->SetActorRelativeLocation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_SetActorRelativeRotation(AActor* Self, INT_PTR NewRelativeRotation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto _p0 = *(FRotator*)NewRelativeRotation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->SetActorRelativeRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_SetActorRelativeRotation_o1(AActor* Self, INT_PTR NewRelativeRotation, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto& _p0 = *(FQuat*)NewRelativeRotation;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->SetActorRelativeRotation(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_SetActorRelativeScale3D(AActor* Self, INT_PTR NewRelativeScale)
{
auto _p0 = *(FVector*)NewRelativeScale;
Self->SetActorRelativeScale3D(_p0);
}
DOTNET_EXPORT auto E_AActor_SetActorRelativeTransform(AActor* Self, INT_PTR NewRelativeTransform, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto& _p0 = *(FTransform*)NewRelativeTransform;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
Self->SetActorRelativeTransform(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_SetActorRotation(AActor* Self, INT_PTR NewRotation, ETeleportType Teleport)
{
auto _p0 = *(FRotator*)NewRotation;
auto _p1 = Teleport;
return Self->SetActorRotation(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_SetActorRotation_o1(AActor* Self, INT_PTR NewRotation, ETeleportType Teleport)
{
auto& _p0 = *(FQuat*)NewRotation;
auto _p1 = Teleport;
return Self->SetActorRotation(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_SetActorScale3D(AActor* Self, INT_PTR NewScale3D)
{
auto _p0 = *(FVector*)NewScale3D;
Self->SetActorScale3D(_p0);
}
DOTNET_EXPORT auto E_AActor_SetActorTickEnabled(AActor* Self, bool bEnabled)
{
auto _p0 = bEnabled;
Self->SetActorTickEnabled(_p0);
}
DOTNET_EXPORT auto E_AActor_SetActorTickInterval(AActor* Self, float TickInterval)
{
auto _p0 = TickInterval;
Self->SetActorTickInterval(_p0);
}
DOTNET_EXPORT auto E_AActor_SetActorTransform(AActor* Self, INT_PTR NewTransform, bool bSweep, INT_PTR OutSweepHitResult, ETeleportType Teleport)
{
auto& _p0 = *(FTransform*)NewTransform;
auto _p1 = bSweep;
auto _p2 = (FHitResult*)OutSweepHitResult;
auto _p3 = Teleport;
return Self->SetActorTransform(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_SetAutonomousProxy(AActor* Self, bool bInAutonomousProxy, bool bAllowForcePropertyCompare)
{
auto _p0 = bInAutonomousProxy;
auto _p1 = bAllowForcePropertyCompare;
Self->SetAutonomousProxy(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_SetLifeSpan(AActor* Self, float InLifespan)
{
auto _p0 = InLifespan;
Self->SetLifeSpan(_p0);
}
DOTNET_EXPORT auto E_AActor_SetLODParent(AActor* Self, UPrimitiveComponent* InLODParent, float InParentDrawDistance)
{
auto _p0 = InLODParent;
auto _p1 = InParentDrawDistance;
Self->SetLODParent(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_SetNetDormancy(AActor* Self, ENetDormancy NewDormancy)
{
auto _p0 = NewDormancy;
Self->SetNetDormancy(_p0);
}
DOTNET_EXPORT auto E_AActor_SetNetDriverName(AActor* Self, char* NewNetDriverName)
{
auto _p0 = ConvertFromManage_FName(NewNetDriverName);
Self->SetNetDriverName(_p0);
}
DOTNET_EXPORT auto E_AActor_SetNetUpdateTime(AActor* Self, float NewUpdateTime)
{
auto _p0 = NewUpdateTime;
Self->SetNetUpdateTime(_p0);
}
DOTNET_EXPORT auto E_AActor_SetOwner(AActor* Self, AActor* NewOwner)
{
auto _p0 = NewOwner;
Self->SetOwner(_p0);
}
DOTNET_EXPORT auto E_AActor_SetRemoteRoleForBackwardsCompat(AActor* Self, ENetRole InRemoteRole)
{
auto _p0 = InRemoteRole;
((E_PROTECTED_WRAP_AActor*)Self)->SetRemoteRoleForBackwardsCompat_WRAP(_p0);
}
DOTNET_EXPORT auto E_AActor_SetReplicateMovement(AActor* Self, bool bInReplicateMovement)
{
auto _p0 = bInReplicateMovement;
Self->SetReplicateMovement(_p0);
}
DOTNET_EXPORT auto E_AActor_SetReplicates(AActor* Self, bool bInReplicates)
{
auto _p0 = bInReplicates;
Self->SetReplicates(_p0);
}
DOTNET_EXPORT auto E_AActor_SetRootComponent(AActor* Self, USceneComponent* NewRootComponent)
{
auto _p0 = NewRootComponent;
return Self->SetRootComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_SetTickableWhenPaused(AActor* Self, bool bTickableWhenPaused)
{
auto _p0 = bTickableWhenPaused;
Self->SetTickableWhenPaused(_p0);
}
DOTNET_EXPORT auto E_AActor_SetTickGroup(AActor* Self, ETickingGroup NewTickGroup)
{
auto _p0 = NewTickGroup;
Self->SetTickGroup(_p0);
}
DOTNET_EXPORT auto E_AActor_ShouldTickIfViewportsOnly(AActor* Self)
{
return Self->ShouldTickIfViewportsOnly();
}
DOTNET_EXPORT auto E_AActor_SnapRootComponentTo(AActor* Self, AActor* InParentActor, char* InSocketName)
{
auto _p0 = InParentActor;
auto _p1 = ConvertFromManage_FName(InSocketName);
Self->SnapRootComponentTo(_p0, _p1);
}
DOTNET_EXPORT auto E_AActor_SwapRoles(AActor* Self)
{
Self->SwapRoles();
}
DOTNET_EXPORT auto E_AActor_SwapRolesForReplay(AActor* Self)
{
Self->SwapRolesForReplay();
}
DOTNET_EXPORT auto E_AActor_SyncReplicatedPhysicsSimulation(AActor* Self)
{
((E_PROTECTED_WRAP_AActor*)Self)->SyncReplicatedPhysicsSimulation_WRAP();
}
DOTNET_EXPORT auto E_AActor_TakeDamage(AActor* Self, float DamageAmount, INT_PTR DamageEvent, AController* EventInstigator, AActor* DamageCauser)
{
auto _p0 = DamageAmount;
auto& _p1 = *(FDamageEvent*)DamageEvent;
auto _p2 = EventInstigator;
auto _p3 = DamageCauser;
return Self->TakeDamage(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_TearOff(AActor* Self)
{
Self->TearOff();
}
DOTNET_EXPORT auto E_AActor_TeleportSucceeded(AActor* Self, bool bIsATest)
{
auto _p0 = bIsATest;
Self->TeleportSucceeded(_p0);
}
DOTNET_EXPORT auto E_AActor_TeleportTo(AActor* Self, INT_PTR DestLocation, INT_PTR DestRotation, bool bIsATest, bool bNoCheck)
{
auto& _p0 = *(FVector*)DestLocation;
auto& _p1 = *(FRotator*)DestRotation;
auto _p2 = bIsATest;
auto _p3 = bNoCheck;
return Self->TeleportTo(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_AActor_Tick(AActor* Self, float DeltaSeconds)
{
auto _p0 = DeltaSeconds;
Self->Tick(_p0);
}
DOTNET_EXPORT auto E_AActor_TickActor(AActor* Self, float DeltaTime, ELevelTick TickType, INT_PTR ThisTickFunction)
{
auto _p0 = DeltaTime;
auto _p1 = TickType;
auto& _p2 = *(FActorTickFunction*)ThisTickFunction;
Self->TickActor(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_AActor_TornOff(AActor* Self)
{
Self->TornOff();
}
DOTNET_EXPORT auto E_AActor_UninitializeComponents(AActor* Self)
{
Self->UninitializeComponents();
}
DOTNET_EXPORT auto E_AActor_UnregisterAllComponents(AActor* Self, bool bForReregister)
{
auto _p0 = bForReregister;
Self->UnregisterAllComponents(_p0);
}
DOTNET_EXPORT auto E_AActor_UpdateAllReplicatedComponents(AActor* Self)
{
Self->UpdateAllReplicatedComponents();
}
DOTNET_EXPORT auto E_AActor_UpdateComponentTransforms(AActor* Self)
{
Self->UpdateComponentTransforms();
}
DOTNET_EXPORT auto E_AActor_UpdateOverlaps(AActor* Self, bool bDoNotifies)
{
auto _p0 = bDoNotifies;
Self->UpdateOverlaps(_p0);
}
DOTNET_EXPORT auto E_AActor_UpdateReplicatedComponent(AActor* Self, UActorComponent* Component)
{
auto _p0 = Component;
Self->UpdateReplicatedComponent(_p0);
}
DOTNET_EXPORT auto E_AActor_UserConstructionScript(AActor* Self)
{
Self->UserConstructionScript();
}
DOTNET_EXPORT auto E_AActor_UseShortConnectTimeout(AActor* Self)
{
return Self->UseShortConnectTimeout();
}
DOTNET_EXPORT auto E_AActor_WasRecentlyRendered(AActor* Self, float Tolerance)
{
auto _p0 = Tolerance;
return Self->WasRecentlyRendered(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_BeginPlay(AActor* Self)
{
((AManageActor*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__AActor_ClearCrossLevelReferences(AActor* Self)
{
((AManageActor*)Self)->_Supper__ClearCrossLevelReferences();
}
DOTNET_EXPORT auto E__Supper__AActor_Destroyed(AActor* Self)
{
((AManageActor*)Self)->_Supper__Destroyed();
}
DOTNET_EXPORT auto E__Supper__AActor_ForceNetRelevant(AActor* Self)
{
((AManageActor*)Self)->_Supper__ForceNetRelevant();
}
DOTNET_EXPORT auto E__Supper__AActor_ForceNetUpdate(AActor* Self)
{
((AManageActor*)Self)->_Supper__ForceNetUpdate();
}
DOTNET_EXPORT auto E__Supper__AActor_GatherCurrentMovement(AActor* Self)
{
((AManageActor*)Self)->_Supper__GatherCurrentMovement();
}
DOTNET_EXPORT auto E__Supper__AActor_InvalidateLightingCacheDetailed(AActor* Self, bool bTranslationOnly)
{
auto _p0 = bTranslationOnly;
((AManageActor*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_K2_DestroyActor(AActor* Self)
{
((AManageActor*)Self)->_Supper__K2_DestroyActor();
}
DOTNET_EXPORT auto E__Supper__AActor_LifeSpanExpired(AActor* Self)
{
((AManageActor*)Self)->_Supper__LifeSpanExpired();
}
DOTNET_EXPORT auto E__Supper__AActor_MarkComponentsAsPendingKill(AActor* Self)
{
((AManageActor*)Self)->_Supper__MarkComponentsAsPendingKill();
}
DOTNET_EXPORT auto E__Supper__AActor_NotifyActorBeginCursorOver(AActor* Self)
{
((AManageActor*)Self)->_Supper__NotifyActorBeginCursorOver();
}
DOTNET_EXPORT auto E__Supper__AActor_NotifyActorEndCursorOver(AActor* Self)
{
((AManageActor*)Self)->_Supper__NotifyActorEndCursorOver();
}
DOTNET_EXPORT auto E__Supper__AActor_OnRep_AttachmentReplication(AActor* Self)
{
((AManageActor*)Self)->_Supper__OnRep_AttachmentReplication();
}
DOTNET_EXPORT auto E__Supper__AActor_OnRep_Instigator(AActor* Self)
{
((AManageActor*)Self)->_Supper__OnRep_Instigator();
}
DOTNET_EXPORT auto E__Supper__AActor_OnRep_Owner(AActor* Self)
{
((AManageActor*)Self)->_Supper__OnRep_Owner();
}
DOTNET_EXPORT auto E__Supper__AActor_OnRep_ReplicatedMovement(AActor* Self)
{
((AManageActor*)Self)->_Supper__OnRep_ReplicatedMovement();
}
DOTNET_EXPORT auto E__Supper__AActor_OnRep_ReplicateMovement(AActor* Self)
{
((AManageActor*)Self)->_Supper__OnRep_ReplicateMovement();
}
DOTNET_EXPORT auto E__Supper__AActor_OnReplicationPausedChanged(AActor* Self, bool bIsReplicationPaused)
{
auto _p0 = bIsReplicationPaused;
((AManageActor*)Self)->_Supper__OnReplicationPausedChanged(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_OutsideWorldBounds(AActor* Self)
{
((AManageActor*)Self)->_Supper__OutsideWorldBounds();
}
DOTNET_EXPORT auto E__Supper__AActor_PostActorCreated(AActor* Self)
{
((AManageActor*)Self)->_Supper__PostActorCreated();
}
DOTNET_EXPORT auto E__Supper__AActor_PostInitializeComponents(AActor* Self)
{
((AManageActor*)Self)->_Supper__PostInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__AActor_PostNetInit(AActor* Self)
{
((AManageActor*)Self)->_Supper__PostNetInit();
}
DOTNET_EXPORT auto E__Supper__AActor_PostNetReceiveLocationAndRotation(AActor* Self)
{
((AManageActor*)Self)->_Supper__PostNetReceiveLocationAndRotation();
}
DOTNET_EXPORT auto E__Supper__AActor_PostNetReceivePhysicState(AActor* Self)
{
((AManageActor*)Self)->_Supper__PostNetReceivePhysicState();
}
DOTNET_EXPORT auto E__Supper__AActor_PostNetReceiveRole(AActor* Self)
{
((AManageActor*)Self)->_Supper__PostNetReceiveRole();
}
DOTNET_EXPORT auto E__Supper__AActor_PostRegisterAllComponents(AActor* Self)
{
((AManageActor*)Self)->_Supper__PostRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AActor_PostUnregisterAllComponents(AActor* Self)
{
((AManageActor*)Self)->_Supper__PostUnregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AActor_PreInitializeComponents(AActor* Self)
{
((AManageActor*)Self)->_Supper__PreInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__AActor_PreRegisterAllComponents(AActor* Self)
{
((AManageActor*)Self)->_Supper__PreRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AActor_PrestreamTextures(AActor* Self, float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups)
{
auto _p0 = Seconds;
auto _p1 = bEnableStreaming;
auto _p2 = CinematicTextureGroups;
((AManageActor*)Self)->_Supper__PrestreamTextures(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__AActor_RegisterActorTickFunctions(AActor* Self, bool bRegister)
{
auto _p0 = bRegister;
((AManageActor*)Self)->_Supper__RegisterActorTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_RegisterAllComponents(AActor* Self)
{
((AManageActor*)Self)->_Supper__RegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AActor_ReregisterAllComponents(AActor* Self)
{
((AManageActor*)Self)->_Supper__ReregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__AActor_RerunConstructionScripts(AActor* Self)
{
((AManageActor*)Self)->_Supper__RerunConstructionScripts();
}
DOTNET_EXPORT auto E__Supper__AActor_Reset(AActor* Self)
{
((AManageActor*)Self)->_Supper__Reset();
}
DOTNET_EXPORT auto E__Supper__AActor_RewindForReplay(AActor* Self)
{
((AManageActor*)Self)->_Supper__RewindForReplay();
}
DOTNET_EXPORT auto E__Supper__AActor_SetActorHiddenInGame(AActor* Self, bool bNewHidden)
{
auto _p0 = bNewHidden;
((AManageActor*)Self)->_Supper__SetActorHiddenInGame(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_SetLifeSpan(AActor* Self, float InLifespan)
{
auto _p0 = InLifespan;
((AManageActor*)Self)->_Supper__SetLifeSpan(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_SetReplicateMovement(AActor* Self, bool bInReplicateMovement)
{
auto _p0 = bInReplicateMovement;
((AManageActor*)Self)->_Supper__SetReplicateMovement(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_TearOff(AActor* Self)
{
((AManageActor*)Self)->_Supper__TearOff();
}
DOTNET_EXPORT auto E__Supper__AActor_TeleportSucceeded(AActor* Self, bool bIsATest)
{
auto _p0 = bIsATest;
((AManageActor*)Self)->_Supper__TeleportSucceeded(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_Tick(AActor* Self, float DeltaSeconds)
{
auto _p0 = DeltaSeconds;
((AManageActor*)Self)->_Supper__Tick(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_TornOff(AActor* Self)
{
((AManageActor*)Self)->_Supper__TornOff();
}
DOTNET_EXPORT auto E__Supper__AActor_UnregisterAllComponents(AActor* Self, bool bForReregister)
{
auto _p0 = bForReregister;
((AManageActor*)Self)->_Supper__UnregisterAllComponents(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_BeginDestroy(UObject* Self)
{
((AManageActor*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__AActor_FinishDestroy(UObject* Self)
{
((AManageActor*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__AActor_MarkAsEditorOnlySubobject(UObject* Self)
{
((AManageActor*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__AActor_PostCDOContruct(UObject* Self)
{
((AManageActor*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__AActor_PostEditImport(UObject* Self)
{
((AManageActor*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__AActor_PostInitProperties(UObject* Self)
{
((AManageActor*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__AActor_PostLoad(UObject* Self)
{
((AManageActor*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__AActor_PostNetReceive(UObject* Self)
{
((AManageActor*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__AActor_PostRepNotifies(UObject* Self)
{
((AManageActor*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__AActor_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((AManageActor*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__AActor_PreDestroyFromReplication(UObject* Self)
{
((AManageActor*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__AActor_PreNetReceive(UObject* Self)
{
((AManageActor*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__AActor_ShutdownAfterError(UObject* Self)
{
((AManageActor*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__AActor_CreateCluster(UObjectBaseUtility* Self)
{
((AManageActor*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__AActor_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((AManageActor*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Manage/ManageGameSession.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreShell.h"
#include "ManageObject.h"
#include "TypeConvertor.h"
#include "Runtime/Engine/Classes/GameFramework/GameSession.h"
#include "ManageGameSession.generated.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\GameSession.h:27
UCLASS()
class UNREALDOTNETRUNTIME_API AManageGameSession : public AGameSession, public IManageObject
{
GENERATED_UCLASS_BODY()
public:
bool bIsManageAttach = false;
bool AddWrapperIfNotAttach() override;
void SetManageType(const FDotnetTypeName& ManageType) override;
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "C#")
FDotnetTypeName ManageClassName;
virtual void DumpSessionState() override;
virtual void HandleMatchHasEnded() override;
virtual void HandleMatchHasStarted() override;
virtual void HandleMatchIsWaitingToStart() override;
virtual void PostSeamlessTravel() override;
virtual void RegisterServer() override;
virtual void RegisterServerFailed() override;
virtual void Restart() override;
virtual void ReturnToMainMenuHost() override;
virtual void BeginPlay() override;
virtual void ClearCrossLevelReferences() override;
virtual void Destroyed() override;
virtual void ForceNetRelevant() override;
virtual void ForceNetUpdate() override;
virtual void GatherCurrentMovement() override;
virtual void InvalidateLightingCacheDetailed(bool bTranslationOnly) override;
virtual void K2_DestroyActor() override;
virtual void LifeSpanExpired() override;
virtual void MarkComponentsAsPendingKill() override;
virtual void NotifyActorBeginCursorOver() override;
virtual void NotifyActorEndCursorOver() override;
virtual void OnRep_AttachmentReplication() override;
virtual void OnRep_Instigator() override;
virtual void OnRep_Owner() override;
virtual void OnRep_ReplicatedMovement() override;
virtual void OnRep_ReplicateMovement() override;
virtual void OnReplicationPausedChanged(bool bIsReplicationPaused) override;
virtual void OutsideWorldBounds() override;
virtual void PostActorCreated() override;
virtual void PostInitializeComponents() override;
virtual void PostNetInit() override;
virtual void PostNetReceiveLocationAndRotation() override;
virtual void PostNetReceivePhysicState() override;
virtual void PostNetReceiveRole() override;
virtual void PostRegisterAllComponents() override;
virtual void PostUnregisterAllComponents() override;
virtual void PreInitializeComponents() override;
virtual void PreRegisterAllComponents() override;
virtual void PrestreamTextures(float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups) override;
virtual void RegisterActorTickFunctions(bool bRegister) override;
virtual void RegisterAllComponents() override;
virtual void ReregisterAllComponents() override;
virtual void RerunConstructionScripts() override;
virtual void Reset() override;
virtual void RewindForReplay() override;
virtual void SetActorHiddenInGame(bool bNewHidden) override;
virtual void SetLifeSpan(float InLifespan) override;
virtual void SetReplicateMovement(bool bInReplicateMovement) override;
virtual void TearOff() override;
virtual void TeleportSucceeded(bool bIsATest) override;
virtual void Tick(float DeltaSeconds) override;
virtual void TornOff() override;
virtual void UnregisterAllComponents(bool bForReregister) override;
virtual void BeginDestroy() override;
virtual void FinishDestroy() override;
virtual void MarkAsEditorOnlySubobject() override;
virtual void PostCDOContruct() override;
virtual void PostEditImport() override;
virtual void PostInitProperties() override;
virtual void PostLoad() override;
virtual void PostNetReceive() override;
virtual void PostRepNotifies() override;
virtual void PostSaveRoot(bool bCleanupIsRequired) override;
virtual void PreDestroyFromReplication() override;
virtual void PreNetReceive() override;
virtual void ShutdownAfterError() override;
virtual void CreateCluster() override;
virtual void OnClusterMarkedAsPendingKill() override;
void _Supper__DumpSessionState();
void _Supper__HandleMatchHasEnded();
void _Supper__HandleMatchHasStarted();
void _Supper__HandleMatchIsWaitingToStart();
void _Supper__PostSeamlessTravel();
void _Supper__RegisterServer();
void _Supper__RegisterServerFailed();
void _Supper__Restart();
void _Supper__ReturnToMainMenuHost();
void _Supper__BeginPlay();
void _Supper__ClearCrossLevelReferences();
void _Supper__Destroyed();
void _Supper__ForceNetRelevant();
void _Supper__ForceNetUpdate();
void _Supper__GatherCurrentMovement();
void _Supper__InvalidateLightingCacheDetailed(bool bTranslationOnly);
void _Supper__K2_DestroyActor();
void _Supper__LifeSpanExpired();
void _Supper__MarkComponentsAsPendingKill();
void _Supper__NotifyActorBeginCursorOver();
void _Supper__NotifyActorEndCursorOver();
void _Supper__OnRep_AttachmentReplication();
void _Supper__OnRep_Instigator();
void _Supper__OnRep_Owner();
void _Supper__OnRep_ReplicatedMovement();
void _Supper__OnRep_ReplicateMovement();
void _Supper__OnReplicationPausedChanged(bool bIsReplicationPaused);
void _Supper__OutsideWorldBounds();
void _Supper__PostActorCreated();
void _Supper__PostInitializeComponents();
void _Supper__PostNetInit();
void _Supper__PostNetReceiveLocationAndRotation();
void _Supper__PostNetReceivePhysicState();
void _Supper__PostNetReceiveRole();
void _Supper__PostRegisterAllComponents();
void _Supper__PostUnregisterAllComponents();
void _Supper__PreInitializeComponents();
void _Supper__PreRegisterAllComponents();
void _Supper__PrestreamTextures(float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups);
void _Supper__RegisterActorTickFunctions(bool bRegister);
void _Supper__RegisterAllComponents();
void _Supper__ReregisterAllComponents();
void _Supper__RerunConstructionScripts();
void _Supper__Reset();
void _Supper__RewindForReplay();
void _Supper__SetActorHiddenInGame(bool bNewHidden);
void _Supper__SetLifeSpan(float InLifespan);
void _Supper__SetReplicateMovement(bool bInReplicateMovement);
void _Supper__TearOff();
void _Supper__TeleportSucceeded(bool bIsATest);
void _Supper__Tick(float DeltaSeconds);
void _Supper__TornOff();
void _Supper__UnregisterAllComponents(bool bForReregister);
void _Supper__BeginDestroy();
void _Supper__FinishDestroy();
void _Supper__MarkAsEditorOnlySubobject();
void _Supper__PostCDOContruct();
void _Supper__PostEditImport();
void _Supper__PostInitProperties();
void _Supper__PostLoad();
void _Supper__PostNetReceive();
void _Supper__PostRepNotifies();
void _Supper__PostSaveRoot(bool bCleanupIsRequired);
void _Supper__PreDestroyFromReplication();
void _Supper__PreNetReceive();
void _Supper__ShutdownAfterError();
void _Supper__CreateCluster();
void _Supper__OnClusterMarkedAsPendingKill();
};
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/ULineBatchComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageLineBatchComponent.h"
#include "Runtime/Engine/Classes/Components/LineBatchComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\LineBatchComponent.h:120
extern "C"
{
DOTNET_EXPORT auto E_PROP_ULineBatchComponent_DefaultLifeTime_GET(ULineBatchComponent* Ptr) { return Ptr->DefaultLifeTime; }
DOTNET_EXPORT void E_PROP_ULineBatchComponent_DefaultLifeTime_SET(ULineBatchComponent* Ptr, float Value) { Ptr->DefaultLifeTime = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_ULineBatchComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<ULineBatchComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_ULineBatchComponent_DrawLine(ULineBatchComponent* Self, INT_PTR Start, INT_PTR End, INT_PTR Color, uint8 DepthPriority, float Thickness, float LifeTime)
{
auto& _p0 = *(FVector*)Start;
auto& _p1 = *(FVector*)End;
auto& _p2 = *(FLinearColor*)Color;
auto _p3 = DepthPriority;
auto _p4 = Thickness;
auto _p5 = LifeTime;
Self->DrawLine(_p0, _p1, _p2, _p3, _p4, _p5);
}
DOTNET_EXPORT auto E_ULineBatchComponent_DrawPoint(ULineBatchComponent* Self, INT_PTR Position, INT_PTR Color, float PointSize, uint8 DepthPriority, float LifeTime)
{
auto& _p0 = *(FVector*)Position;
auto& _p1 = *(FLinearColor*)Color;
auto _p2 = PointSize;
auto _p3 = DepthPriority;
auto _p4 = LifeTime;
Self->DrawPoint(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E_ULineBatchComponent_Flush(ULineBatchComponent* Self)
{
Self->Flush();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnComponentCollisionSettingsChanged(UPrimitiveComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnComponentCollisionSettingsChanged();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PutAllRigidBodiesToSleep(UPrimitiveComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PutAllRigidBodiesToSleep();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetAllMassScale(UPrimitiveComponent* Self, float InMassScale)
{
auto _p0 = InMassScale;
((UManageLineBatchComponent*)Self)->_Supper__SetAllMassScale(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetAllUseCCD(UPrimitiveComponent* Self, bool InUseCCD)
{
auto _p0 = InUseCCD;
((UManageLineBatchComponent*)Self)->_Supper__SetAllUseCCD(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetAngularDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageLineBatchComponent*)Self)->_Supper__SetAngularDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetEnableGravity(UPrimitiveComponent* Self, bool bGravityEnabled)
{
auto _p0 = bGravityEnabled;
((UManageLineBatchComponent*)Self)->_Supper__SetEnableGravity(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetLinearDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageLineBatchComponent*)Self)->_Supper__SetLinearDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetNotifyRigidBodyCollision(UPrimitiveComponent* Self, bool bNewNotifyRigidBodyCollision)
{
auto _p0 = bNewNotifyRigidBodyCollision;
((UManageLineBatchComponent*)Self)->_Supper__SetNotifyRigidBodyCollision(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetSimulatePhysics(UPrimitiveComponent* Self, bool bSimulate)
{
auto _p0 = bSimulate;
((UManageLineBatchComponent*)Self)->_Supper__SetSimulatePhysics(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_UnWeldChildren(UPrimitiveComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__UnWeldChildren();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_UnWeldFromParent(UPrimitiveComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__UnWeldFromParent();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_UpdatePhysicsToRBChannels(UPrimitiveComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__UpdatePhysicsToRBChannels();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_WakeAllRigidBodies(UPrimitiveComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__WakeAllRigidBodies();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageLineBatchComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_UpdateBounds(USceneComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageLineBatchComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageLineBatchComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_BeginPlay(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_Deactivate(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageLineBatchComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_InitializeComponent(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageLineBatchComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageLineBatchComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnRegister(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnUnregister(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageLineBatchComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageLineBatchComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageLineBatchComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageLineBatchComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageLineBatchComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_ToggleActive(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_BeginDestroy(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_FinishDestroy(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PostCDOContruct(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PostEditImport(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PostInitProperties(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PostLoad(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PostNetReceive(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PostRepNotifies(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageLineBatchComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_PreNetReceive(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_ShutdownAfterError(UObject* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__ULineBatchComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageLineBatchComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UPostProcessComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/Engine/Classes/Components/PostProcessComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\PostProcessComponent.h:21
extern "C"
{
DOTNET_EXPORT auto E_PROP_UPostProcessComponent_BlendRadius_GET(UPostProcessComponent* Ptr) { return Ptr->BlendRadius; }
DOTNET_EXPORT void E_PROP_UPostProcessComponent_BlendRadius_SET(UPostProcessComponent* Ptr, float Value) { Ptr->BlendRadius = Value; }
DOTNET_EXPORT auto E_PROP_UPostProcessComponent_BlendWeight_GET(UPostProcessComponent* Ptr) { return Ptr->BlendWeight; }
DOTNET_EXPORT void E_PROP_UPostProcessComponent_BlendWeight_SET(UPostProcessComponent* Ptr, float Value) { Ptr->BlendWeight = Value; }
DOTNET_EXPORT auto E_PROP_UPostProcessComponent_Priority_GET(UPostProcessComponent* Ptr) { return Ptr->Priority; }
DOTNET_EXPORT void E_PROP_UPostProcessComponent_Priority_SET(UPostProcessComponent* Ptr, float Value) { Ptr->Priority = Value; }
DOTNET_EXPORT auto E_PROP_UPostProcessComponent_Settings_GET(UPostProcessComponent* Ptr) { return (INT_PTR)&(Ptr->Settings); }
DOTNET_EXPORT void E_PROP_UPostProcessComponent_Settings_SET(UPostProcessComponent* Ptr, INT_PTR Value) { Ptr->Settings = *(FPostProcessSettings*)Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UPostProcessComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UPostProcessComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UPawnAction_Repeat.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManagePawnAction_Repeat.h"
#include "Runtime/AIModule/Classes/Actions/PawnAction_Repeat.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\AIModule\Classes\Actions\PawnAction_Repeat.h:11
class E_PROTECTED_WRAP_UPawnAction_Repeat : protected UPawnAction_Repeat
{
public:
bool PushSubAction_WRAP()
{
return PushSubAction();
}
};
extern "C"
{
DOTNET_EXPORT auto E_PROP_UPawnAction_Repeat_ActionToRepeat_GET(UPawnAction_Repeat* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->ActionToRepeat); }
DOTNET_EXPORT void E_PROP_UPawnAction_Repeat_ActionToRepeat_SET(UPawnAction_Repeat* Ptr, UPawnAction* Value) { Ptr->ActionToRepeat = Value; }
DOTNET_EXPORT auto E_PROP_UPawnAction_Repeat_RecentActionCopy_GET(UPawnAction_Repeat* Ptr) { return ConvertToManage_ObjectPointerDescription(Ptr->RecentActionCopy); }
DOTNET_EXPORT void E_PROP_UPawnAction_Repeat_RecentActionCopy_SET(UPawnAction_Repeat* Ptr, UPawnAction* Value) { Ptr->RecentActionCopy = Value; }
DOTNET_EXPORT auto E_PROP_UPawnAction_Repeat_RepeatsLeft_GET(UPawnAction_Repeat* Ptr) { return Ptr->RepeatsLeft; }
DOTNET_EXPORT void E_PROP_UPawnAction_Repeat_RepeatsLeft_SET(UPawnAction_Repeat* Ptr, int32 Value) { Ptr->RepeatsLeft = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UPawnAction_Repeat(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UPawnAction_Repeat>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UPawnAction_Repeat_CreateAction(UPawnAction_Repeat* Self, UWorld& World, UPawnAction* ActionToRepeat, int32 NumberOfRepeats)
{
auto& _p0 = World;
auto _p1 = ActionToRepeat;
auto _p2 = NumberOfRepeats;
return ConvertToManage_ObjectPointerDescription(Self->CreateAction(_p0, _p1, _p2));
}
DOTNET_EXPORT auto E_UPawnAction_Repeat_PushSubAction(UPawnAction_Repeat* Self)
{
return ((E_PROTECTED_WRAP_UPawnAction_Repeat*)Self)->PushSubAction_WRAP();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_Tick(UPawnAction* Self, float DeltaTime)
{
auto _p0 = DeltaTime;
((UManagePawnAction_Repeat*)Self)->_Supper__Tick(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_BeginDestroy(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_FinishDestroy(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PostCDOContruct(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PostEditImport(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PostInitProperties(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PostLoad(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PostNetReceive(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PostRepNotifies(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManagePawnAction_Repeat*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PreDestroyFromReplication(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_PreNetReceive(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_ShutdownAfterError(UObject* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_CreateCluster(UObjectBaseUtility* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Repeat_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManagePawnAction_Repeat*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UTimelineComponent.h | <reponame>mrkriv/UnrealDotNet<filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UTimelineComponent.h
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/Engine/Classes/Components/TimelineComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\TimelineComponent.h:391
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UTimelineComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UTimelineComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UTimelineComponent_GetIgnoreTimeDilation(UTimelineComponent* Self)
{
return Self->GetIgnoreTimeDilation();
}
DOTNET_EXPORT auto E_UTimelineComponent_GetPlaybackPosition(UTimelineComponent* Self)
{
return Self->GetPlaybackPosition();
}
DOTNET_EXPORT auto E_UTimelineComponent_GetPlayRate(UTimelineComponent* Self)
{
return Self->GetPlayRate();
}
DOTNET_EXPORT auto E_UTimelineComponent_GetTimelineLength(UTimelineComponent* Self)
{
return Self->GetTimelineLength();
}
DOTNET_EXPORT auto E_UTimelineComponent_IsLooping(UTimelineComponent* Self)
{
return Self->IsLooping();
}
DOTNET_EXPORT auto E_UTimelineComponent_IsPlaying(UTimelineComponent* Self)
{
return Self->IsPlaying();
}
DOTNET_EXPORT auto E_UTimelineComponent_IsReversing(UTimelineComponent* Self)
{
return Self->IsReversing();
}
DOTNET_EXPORT auto E_UTimelineComponent_Play(UTimelineComponent* Self)
{
Self->Play();
}
DOTNET_EXPORT auto E_UTimelineComponent_PlayFromStart(UTimelineComponent* Self)
{
Self->PlayFromStart();
}
DOTNET_EXPORT auto E_UTimelineComponent_Reverse(UTimelineComponent* Self)
{
Self->Reverse();
}
DOTNET_EXPORT auto E_UTimelineComponent_ReverseFromEnd(UTimelineComponent* Self)
{
Self->ReverseFromEnd();
}
DOTNET_EXPORT auto E_UTimelineComponent_SetDirectionPropertyName(UTimelineComponent* Self, char* DirectionPropertyName)
{
auto _p0 = ConvertFromManage_FName(DirectionPropertyName);
Self->SetDirectionPropertyName(_p0);
}
DOTNET_EXPORT auto E_UTimelineComponent_SetIgnoreTimeDilation(UTimelineComponent* Self, bool bNewIgnoreTimeDilation)
{
auto _p0 = bNewIgnoreTimeDilation;
Self->SetIgnoreTimeDilation(_p0);
}
DOTNET_EXPORT auto E_UTimelineComponent_SetLooping(UTimelineComponent* Self, bool bNewLooping)
{
auto _p0 = bNewLooping;
Self->SetLooping(_p0);
}
DOTNET_EXPORT auto E_UTimelineComponent_SetNewTime(UTimelineComponent* Self, float NewTime)
{
auto _p0 = NewTime;
Self->SetNewTime(_p0);
}
DOTNET_EXPORT auto E_UTimelineComponent_SetPlaybackPosition(UTimelineComponent* Self, float NewPosition, bool bFireEvents, bool bFireUpdate)
{
auto _p0 = NewPosition;
auto _p1 = bFireEvents;
auto _p2 = bFireUpdate;
Self->SetPlaybackPosition(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_UTimelineComponent_SetPlayRate(UTimelineComponent* Self, float NewRate)
{
auto _p0 = NewRate;
Self->SetPlayRate(_p0);
}
DOTNET_EXPORT auto E_UTimelineComponent_SetPropertySetObject(UTimelineComponent* Self, UObject* NewPropertySetObject)
{
auto _p0 = NewPropertySetObject;
Self->SetPropertySetObject(_p0);
}
DOTNET_EXPORT auto E_UTimelineComponent_SetTimelineLength(UTimelineComponent* Self, float NewLength)
{
auto _p0 = NewLength;
Self->SetTimelineLength(_p0);
}
DOTNET_EXPORT auto E_UTimelineComponent_SetTimelineLengthMode(UTimelineComponent* Self, ETimelineLengthMode NewLengthMode)
{
auto _p0 = NewLengthMode;
Self->SetTimelineLengthMode(_p0);
}
DOTNET_EXPORT auto E_UTimelineComponent_Stop(UTimelineComponent* Self)
{
Self->Stop();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UInstancedStaticMeshComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageInstancedStaticMeshComponent.h"
#include "Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\InstancedStaticMeshComponent.h:120
extern "C"
{
DOTNET_EXPORT auto E_PROP_UInstancedStaticMeshComponent_InstanceEndCullDistance_GET(UInstancedStaticMeshComponent* Ptr) { return Ptr->InstanceEndCullDistance; }
DOTNET_EXPORT void E_PROP_UInstancedStaticMeshComponent_InstanceEndCullDistance_SET(UInstancedStaticMeshComponent* Ptr, int32 Value) { Ptr->InstanceEndCullDistance = Value; }
DOTNET_EXPORT auto E_PROP_UInstancedStaticMeshComponent_InstanceStartCullDistance_GET(UInstancedStaticMeshComponent* Ptr) { return Ptr->InstanceStartCullDistance; }
DOTNET_EXPORT void E_PROP_UInstancedStaticMeshComponent_InstanceStartCullDistance_SET(UInstancedStaticMeshComponent* Ptr, int32 Value) { Ptr->InstanceStartCullDistance = Value; }
DOTNET_EXPORT auto E_PROP_UInstancedStaticMeshComponent_InstancingRandomSeed_GET(UInstancedStaticMeshComponent* Ptr) { return Ptr->InstancingRandomSeed; }
DOTNET_EXPORT void E_PROP_UInstancedStaticMeshComponent_InstancingRandomSeed_SET(UInstancedStaticMeshComponent* Ptr, int32 Value) { Ptr->InstancingRandomSeed = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UInstancedStaticMeshComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UInstancedStaticMeshComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_AddInstance(UInstancedStaticMeshComponent* Self, INT_PTR InstanceTransform)
{
auto& _p0 = *(FTransform*)InstanceTransform;
return Self->AddInstance(_p0);
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_AddInstanceWorldSpace(UInstancedStaticMeshComponent* Self, INT_PTR WorldTransform)
{
auto& _p0 = *(FTransform*)WorldTransform;
return Self->AddInstanceWorldSpace(_p0);
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_ClearInstances(UInstancedStaticMeshComponent* Self)
{
Self->ClearInstances();
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_GetInstanceCount(UInstancedStaticMeshComponent* Self)
{
return Self->GetInstanceCount();
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_GetInstanceTransform(UInstancedStaticMeshComponent* Self, int32 InstanceIndex, INT_PTR OutInstanceTransform, bool bWorldSpace)
{
auto _p0 = InstanceIndex;
auto& _p1 = *(FTransform*)OutInstanceTransform;
auto _p2 = bWorldSpace;
return Self->GetInstanceTransform(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_PreAllocateInstancesMemory(UInstancedStaticMeshComponent* Self, int32 AddedInstanceCount)
{
auto _p0 = AddedInstanceCount;
Self->PreAllocateInstancesMemory(_p0);
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_RemoveInstance(UInstancedStaticMeshComponent* Self, int32 InstanceIndex)
{
auto _p0 = InstanceIndex;
return Self->RemoveInstance(_p0);
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_SetCullDistances(UInstancedStaticMeshComponent* Self, int32 StartCullDistance, int32 EndCullDistance)
{
auto _p0 = StartCullDistance;
auto _p1 = EndCullDistance;
Self->SetCullDistances(_p0, _p1);
}
DOTNET_EXPORT auto E_UInstancedStaticMeshComponent_UpdateInstanceTransform(UInstancedStaticMeshComponent* Self, int32 InstanceIndex, INT_PTR NewInstanceTransform, bool bWorldSpace, bool bMarkRenderStateDirty, bool bTeleport)
{
auto _p0 = InstanceIndex;
auto& _p1 = *(FTransform*)NewInstanceTransform;
auto _p2 = bWorldSpace;
auto _p3 = bMarkRenderStateDirty;
auto _p4 = bTeleport;
return Self->UpdateInstanceTransform(_p0, _p1, _p2, _p3, _p4);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_ClearInstances(UInstancedStaticMeshComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__ClearInstances();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PreAllocateInstancesMemory(UInstancedStaticMeshComponent* Self, int32 AddedInstanceCount)
{
auto _p0 = AddedInstanceCount;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PreAllocateInstancesMemory(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PrestreamTextures(UMeshComponent* Self, float Seconds, bool bPrioritizeCharacterTextures, int32 CinematicTextureGroups)
{
auto _p0 = Seconds;
auto _p1 = bPrioritizeCharacterTextures;
auto _p2 = CinematicTextureGroups;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PrestreamTextures(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetTextureForceResidentFlag(UMeshComponent* Self, bool bForceMiplevelsToBeResident)
{
auto _p0 = bForceMiplevelsToBeResident;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetTextureForceResidentFlag(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnComponentCollisionSettingsChanged(UPrimitiveComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnComponentCollisionSettingsChanged();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PutAllRigidBodiesToSleep(UPrimitiveComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PutAllRigidBodiesToSleep();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetAllMassScale(UPrimitiveComponent* Self, float InMassScale)
{
auto _p0 = InMassScale;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetAllMassScale(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetAllUseCCD(UPrimitiveComponent* Self, bool InUseCCD)
{
auto _p0 = InUseCCD;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetAllUseCCD(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetAngularDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetAngularDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetEnableGravity(UPrimitiveComponent* Self, bool bGravityEnabled)
{
auto _p0 = bGravityEnabled;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetEnableGravity(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetLinearDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetLinearDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetNotifyRigidBodyCollision(UPrimitiveComponent* Self, bool bNewNotifyRigidBodyCollision)
{
auto _p0 = bNewNotifyRigidBodyCollision;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetNotifyRigidBodyCollision(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetSimulatePhysics(UPrimitiveComponent* Self, bool bSimulate)
{
auto _p0 = bSimulate;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetSimulatePhysics(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_UnWeldChildren(UPrimitiveComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__UnWeldChildren();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_UnWeldFromParent(UPrimitiveComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__UnWeldFromParent();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_UpdatePhysicsToRBChannels(UPrimitiveComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__UpdatePhysicsToRBChannels();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_WakeAllRigidBodies(UPrimitiveComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__WakeAllRigidBodies();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_UpdateBounds(USceneComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_BeginPlay(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_Deactivate(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_InitializeComponent(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnRegister(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnUnregister(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_ToggleActive(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_BeginDestroy(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_FinishDestroy(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PostCDOContruct(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PostEditImport(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PostInitProperties(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PostLoad(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PostNetReceive(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PostRepNotifies(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_PreNetReceive(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_ShutdownAfterError(UObject* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UInstancedStaticMeshComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageInstancedStaticMeshComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UActorComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/Engine/Classes/Components/ActorComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\ActorComponent.h:86
class E_PROTECTED_WRAP_UActorComponent : protected UActorComponent
{
public:
void CreateRenderState_Concurrent_WRAP()
{
CreateRenderState_Concurrent();
}
void DestroyRenderState_Concurrent_WRAP()
{
DestroyRenderState_Concurrent();
}
void HandleCanEverAffectNavigationChange_WRAP(bool bForceUpdate)
{
HandleCanEverAffectNavigationChange(bForceUpdate);
}
bool HasValidPhysicsState_WRAP()
{
return HasValidPhysicsState();
}
void OnCreatePhysicsState_WRAP()
{
OnCreatePhysicsState();
}
void OnDestroyPhysicsState_WRAP()
{
OnDestroyPhysicsState();
}
void OnRegister_WRAP()
{
OnRegister();
}
void OnUnregister_WRAP()
{
OnUnregister();
}
void RegisterComponentTickFunctions_WRAP(bool bRegister)
{
RegisterComponentTickFunctions(bRegister);
}
void SendRenderDynamicData_Concurrent_WRAP()
{
SendRenderDynamicData_Concurrent();
}
void SendRenderTransform_Concurrent_WRAP()
{
SendRenderTransform_Concurrent();
}
bool ShouldActivate_WRAP()
{
return ShouldActivate();
}
bool ShouldCreatePhysicsState_WRAP()
{
return ShouldCreatePhysicsState();
}
bool ShouldCreateRenderState_WRAP()
{
return ShouldCreateRenderState();
}
};
extern "C"
{
DOTNET_EXPORT auto E_PROP_UActorComponent_bAllowAnyoneToDestroyMe_GET(UActorComponent* Ptr) { return Ptr->bAllowAnyoneToDestroyMe; }
DOTNET_EXPORT void E_PROP_UActorComponent_bAllowAnyoneToDestroyMe_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bAllowAnyoneToDestroyMe = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bAllowConcurrentTick_GET(UActorComponent* Ptr) { return Ptr->bAllowConcurrentTick; }
DOTNET_EXPORT void E_PROP_UActorComponent_bAllowConcurrentTick_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bAllowConcurrentTick = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bAutoActivate_GET(UActorComponent* Ptr) { return Ptr->bAutoActivate; }
DOTNET_EXPORT void E_PROP_UActorComponent_bAutoActivate_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bAutoActivate = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bAutoRegister_GET(UActorComponent* Ptr) { return Ptr->bAutoRegister; }
DOTNET_EXPORT void E_PROP_UActorComponent_bAutoRegister_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bAutoRegister = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bEditableWhenInherited_GET(UActorComponent* Ptr) { return Ptr->bEditableWhenInherited; }
DOTNET_EXPORT void E_PROP_UActorComponent_bEditableWhenInherited_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bEditableWhenInherited = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bIsActive_GET(UActorComponent* Ptr) { return Ptr->bIsActive; }
DOTNET_EXPORT void E_PROP_UActorComponent_bIsActive_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bIsActive = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bIsEditorOnly_GET(UActorComponent* Ptr) { return Ptr->bIsEditorOnly; }
DOTNET_EXPORT void E_PROP_UActorComponent_bIsEditorOnly_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bIsEditorOnly = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bNavigationRelevant_GET(UActorComponent* Ptr) { return Ptr->bNavigationRelevant; }
DOTNET_EXPORT void E_PROP_UActorComponent_bNavigationRelevant_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bNavigationRelevant = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bNeverNeedsRenderUpdate_GET(UActorComponent* Ptr) { return Ptr->bNeverNeedsRenderUpdate; }
DOTNET_EXPORT void E_PROP_UActorComponent_bNeverNeedsRenderUpdate_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bNeverNeedsRenderUpdate = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bTickInEditor_GET(UActorComponent* Ptr) { return Ptr->bTickInEditor; }
DOTNET_EXPORT void E_PROP_UActorComponent_bTickInEditor_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bTickInEditor = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bWantsBeginPlay_GET(UActorComponent* Ptr) { return Ptr->bWantsBeginPlay; }
DOTNET_EXPORT void E_PROP_UActorComponent_bWantsBeginPlay_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bWantsBeginPlay = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_bWantsInitializeComponent_GET(UActorComponent* Ptr) { return Ptr->bWantsInitializeComponent; }
DOTNET_EXPORT void E_PROP_UActorComponent_bWantsInitializeComponent_SET(UActorComponent* Ptr, uint8 Value) { Ptr->bWantsInitializeComponent = Value; }
DOTNET_EXPORT auto E_PROP_UActorComponent_ComponentTemplateNameSuffix_GET() { return ConvertToManage_StringWrapper(UActorComponent::ComponentTemplateNameSuffix); }
DOTNET_EXPORT void E_EVENT_ADD_UActorComponent_OnComponentActivated(UActorComponent* Obj)
{
auto wrapper = NewObject<UManageEventSender>(UCoreShell::GetInstance());
wrapper->ManageDelegateName = "InvokeEvent_OnComponentActivated";
wrapper->SourceObject = Obj;
Obj->OnComponentActivated.AddDynamic(wrapper, &UManageEventSender::Wrapper_FActorComponentActivatedSignature);
}
DOTNET_EXPORT void E_EVENT_DEL_UActorComponent_OnComponentActivated(UActorComponent* Obj)
{
}
DOTNET_EXPORT void E_EVENT_ADD_UActorComponent_OnComponentDeactivated(UActorComponent* Obj)
{
auto wrapper = NewObject<UManageEventSender>(UCoreShell::GetInstance());
wrapper->ManageDelegateName = "InvokeEvent_OnComponentDeactivated";
wrapper->SourceObject = Obj;
Obj->OnComponentDeactivated.AddDynamic(wrapper, &UManageEventSender::Wrapper_FActorComponentDeactivateSignature);
}
DOTNET_EXPORT void E_EVENT_DEL_UActorComponent_OnComponentDeactivated(UActorComponent* Obj)
{
}
DOTNET_EXPORT auto E_PROP_UActorComponent_PrimaryComponentTick_GET(UActorComponent* Ptr) { return (INT_PTR)&(Ptr->PrimaryComponentTick); }
DOTNET_EXPORT INT_PTR E_NewObject_UActorComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UActorComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UActorComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
Self->Activate(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_AdditionalStatObject(UActorComponent* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->AdditionalStatObject());
}
DOTNET_EXPORT auto E_UActorComponent_AddTickPrerequisiteActor(UActorComponent* Self, AActor* PrerequisiteActor)
{
auto _p0 = PrerequisiteActor;
Self->AddTickPrerequisiteActor(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_AddTickPrerequisiteComponent(UActorComponent* Self, UActorComponent* PrerequisiteComponent)
{
auto _p0 = PrerequisiteComponent;
Self->AddTickPrerequisiteComponent(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_AllowReregistration(UActorComponent* Self)
{
return Self->AllowReregistration();
}
DOTNET_EXPORT auto E_UActorComponent_ApplyWorldOffset(UActorComponent* Self, INT_PTR InOffset, bool bWorldShift)
{
auto& _p0 = *(FVector*)InOffset;
auto _p1 = bWorldShift;
Self->ApplyWorldOffset(_p0, _p1);
}
DOTNET_EXPORT auto E_UActorComponent_BeginPlay(UActorComponent* Self)
{
Self->BeginPlay();
}
DOTNET_EXPORT auto E_UActorComponent_CanEverAffectNavigation(UActorComponent* Self)
{
return Self->CanEverAffectNavigation();
}
DOTNET_EXPORT auto E_UActorComponent_ClearNeedEndOfFrameUpdate(UActorComponent* Self)
{
Self->ClearNeedEndOfFrameUpdate();
}
DOTNET_EXPORT auto E_UActorComponent_ComponentHasTag(UActorComponent* Self, char* Tag)
{
auto _p0 = ConvertFromManage_FName(Tag);
return Self->ComponentHasTag(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_ComponentIsInPersistentLevel(UActorComponent* Self, bool bIncludeLevelStreamingPersistent)
{
auto _p0 = bIncludeLevelStreamingPersistent;
return Self->ComponentIsInPersistentLevel(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_CreatePhysicsState(UActorComponent* Self)
{
Self->CreatePhysicsState();
}
DOTNET_EXPORT auto E_UActorComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((E_PROTECTED_WRAP_UActorComponent*)Self)->CreateRenderState_Concurrent_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_Deactivate(UActorComponent* Self)
{
Self->Deactivate();
}
DOTNET_EXPORT auto E_UActorComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
Self->DestroyComponent(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_DestroyPhysicsState(UActorComponent* Self)
{
Self->DestroyPhysicsState();
}
DOTNET_EXPORT auto E_UActorComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((E_PROTECTED_WRAP_UActorComponent*)Self)->DestroyRenderState_Concurrent_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_DetermineUCSModifiedProperties(UActorComponent* Self)
{
Self->DetermineUCSModifiedProperties();
}
DOTNET_EXPORT auto E_UActorComponent_DoDeferredRenderUpdates_Concurrent(UActorComponent* Self)
{
Self->DoDeferredRenderUpdates_Concurrent();
}
DOTNET_EXPORT auto E_UActorComponent_GetComponentClassCanReplicate(UActorComponent* Self)
{
return Self->GetComponentClassCanReplicate();
}
DOTNET_EXPORT auto E_UActorComponent_GetComponentTickInterval(UActorComponent* Self)
{
return Self->GetComponentTickInterval();
}
DOTNET_EXPORT auto E_UActorComponent_GetIsReplicated(UActorComponent* Self)
{
return Self->GetIsReplicated();
}
DOTNET_EXPORT auto E_UActorComponent_GetNetMode(UActorComponent* Self)
{
return Self->GetNetMode();
}
DOTNET_EXPORT auto E_UActorComponent_GetOwner(UActorComponent* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetOwner());
}
DOTNET_EXPORT auto E_UActorComponent_GetOwnerRole(UActorComponent* Self)
{
return Self->GetOwnerRole();
}
DOTNET_EXPORT auto E_UActorComponent_GetReadableName(UActorComponent* Self)
{
return ConvertToManage_StringWrapper(Self->GetReadableName());
}
DOTNET_EXPORT auto E_UActorComponent_HandleCanEverAffectNavigationChange(UActorComponent* Self, bool bForceUpdate)
{
auto _p0 = bForceUpdate;
((E_PROTECTED_WRAP_UActorComponent*)Self)->HandleCanEverAffectNavigationChange_WRAP(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_HasBeenCreated(UActorComponent* Self)
{
return Self->HasBeenCreated();
}
DOTNET_EXPORT auto E_UActorComponent_HasBeenInitialized(UActorComponent* Self)
{
return Self->HasBeenInitialized();
}
DOTNET_EXPORT auto E_UActorComponent_HasBegunPlay(UActorComponent* Self)
{
return Self->HasBegunPlay();
}
DOTNET_EXPORT auto E_UActorComponent_HasValidPhysicsState(UActorComponent* Self)
{
return ((E_PROTECTED_WRAP_UActorComponent*)Self)->HasValidPhysicsState_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_InitializeComponent(UActorComponent* Self)
{
Self->InitializeComponent();
}
DOTNET_EXPORT auto E_UActorComponent_InvalidateLightingCache(UActorComponent* Self)
{
Self->InvalidateLightingCache();
}
DOTNET_EXPORT auto E_UActorComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
Self->InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E_UActorComponent_IsActive(UActorComponent* Self)
{
return Self->IsActive();
}
DOTNET_EXPORT auto E_UActorComponent_IsBeingDestroyed(UActorComponent* Self)
{
return Self->IsBeingDestroyed();
}
DOTNET_EXPORT auto E_UActorComponent_IsComponentTickEnabled(UActorComponent* Self)
{
return Self->IsComponentTickEnabled();
}
DOTNET_EXPORT auto E_UActorComponent_IsCreatedByConstructionScript(UActorComponent* Self)
{
return Self->IsCreatedByConstructionScript();
}
DOTNET_EXPORT auto E_UActorComponent_IsEditableWhenInherited(UActorComponent* Self)
{
return Self->IsEditableWhenInherited();
}
DOTNET_EXPORT auto E_UActorComponent_IsNavigationRelevant(UActorComponent* Self)
{
return Self->IsNavigationRelevant();
}
DOTNET_EXPORT auto E_UActorComponent_IsNetMode(UActorComponent* Self, ENetMode Mode)
{
auto _p0 = Mode;
return Self->IsNetMode(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_IsNetSimulating(UActorComponent* Self)
{
return Self->IsNetSimulating();
}
DOTNET_EXPORT auto E_UActorComponent_IsNetStartupComponent(UActorComponent* Self)
{
return Self->IsNetStartupComponent();
}
DOTNET_EXPORT auto E_UActorComponent_IsOwnerRunningUserConstructionScript(UActorComponent* Self)
{
return Self->IsOwnerRunningUserConstructionScript();
}
DOTNET_EXPORT auto E_UActorComponent_IsOwnerSelected(UActorComponent* Self)
{
return Self->IsOwnerSelected();
}
DOTNET_EXPORT auto E_UActorComponent_IsPhysicsStateCreated(UActorComponent* Self)
{
return Self->IsPhysicsStateCreated();
}
DOTNET_EXPORT auto E_UActorComponent_IsReadyForOwnerToAutoDestroy(UActorComponent* Self)
{
return Self->IsReadyForOwnerToAutoDestroy();
}
DOTNET_EXPORT auto E_UActorComponent_IsRegistered(UActorComponent* Self)
{
return Self->IsRegistered();
}
DOTNET_EXPORT auto E_UActorComponent_IsRenderStateCreated(UActorComponent* Self)
{
return Self->IsRenderStateCreated();
}
DOTNET_EXPORT auto E_UActorComponent_IsRenderStateDirty(UActorComponent* Self)
{
return Self->IsRenderStateDirty();
}
DOTNET_EXPORT auto E_UActorComponent_IsRenderTransformDirty(UActorComponent* Self)
{
return Self->IsRenderTransformDirty();
}
DOTNET_EXPORT auto E_UActorComponent_K2_DestroyComponent(UActorComponent* Self, UObject* Object)
{
auto _p0 = Object;
Self->K2_DestroyComponent(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_MarkForNeededEndOfFrameRecreate(UActorComponent* Self)
{
Self->MarkForNeededEndOfFrameRecreate();
}
DOTNET_EXPORT auto E_UActorComponent_MarkForNeededEndOfFrameUpdate(UActorComponent* Self)
{
Self->MarkForNeededEndOfFrameUpdate();
}
DOTNET_EXPORT auto E_UActorComponent_MarkRenderDynamicDataDirty(UActorComponent* Self)
{
Self->MarkRenderDynamicDataDirty();
}
DOTNET_EXPORT auto E_UActorComponent_MarkRenderStateDirty(UActorComponent* Self)
{
Self->MarkRenderStateDirty();
}
DOTNET_EXPORT auto E_UActorComponent_MarkRenderTransformDirty(UActorComponent* Self)
{
Self->MarkRenderTransformDirty();
}
DOTNET_EXPORT auto E_UActorComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
Self->OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E_UActorComponent_OnComponentCreated(UActorComponent* Self)
{
Self->OnComponentCreated();
}
DOTNET_EXPORT auto E_UActorComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
Self->OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((E_PROTECTED_WRAP_UActorComponent*)Self)->OnCreatePhysicsState_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((E_PROTECTED_WRAP_UActorComponent*)Self)->OnDestroyPhysicsState_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_OnRegister(UActorComponent* Self)
{
((E_PROTECTED_WRAP_UActorComponent*)Self)->OnRegister_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_OnRep_IsActive(UActorComponent* Self)
{
Self->OnRep_IsActive();
}
DOTNET_EXPORT auto E_UActorComponent_OnUnregister(UActorComponent* Self)
{
((E_PROTECTED_WRAP_UActorComponent*)Self)->OnUnregister_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_ReceiveBeginPlay(UActorComponent* Self)
{
Self->ReceiveBeginPlay();
}
DOTNET_EXPORT auto E_UActorComponent_ReceiveTick(UActorComponent* Self, float DeltaSeconds)
{
auto _p0 = DeltaSeconds;
Self->ReceiveTick(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_RecreatePhysicsState(UActorComponent* Self)
{
Self->RecreatePhysicsState();
}
DOTNET_EXPORT auto E_UActorComponent_RecreateRenderState_Concurrent(UActorComponent* Self)
{
Self->RecreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E_UActorComponent_RegisterAllComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
Self->RegisterAllComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_RegisterComponent(UActorComponent* Self)
{
Self->RegisterComponent();
}
DOTNET_EXPORT auto E_UActorComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((E_PROTECTED_WRAP_UActorComponent*)Self)->RegisterComponentTickFunctions_WRAP(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_RegisterComponentWithWorld(UActorComponent* Self, UWorld* InWorld)
{
auto _p0 = InWorld;
Self->RegisterComponentWithWorld(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_RemoveTickPrerequisiteActor(UActorComponent* Self, AActor* PrerequisiteActor)
{
auto _p0 = PrerequisiteActor;
Self->RemoveTickPrerequisiteActor(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_RemoveTickPrerequisiteComponent(UActorComponent* Self, UActorComponent* PrerequisiteComponent)
{
auto _p0 = PrerequisiteComponent;
Self->RemoveTickPrerequisiteComponent(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_RequiresGameThreadEndOfFrameRecreate(UActorComponent* Self)
{
return Self->RequiresGameThreadEndOfFrameRecreate();
}
DOTNET_EXPORT auto E_UActorComponent_RequiresGameThreadEndOfFrameUpdates(UActorComponent* Self)
{
return Self->RequiresGameThreadEndOfFrameUpdates();
}
DOTNET_EXPORT auto E_UActorComponent_ReregisterComponent(UActorComponent* Self)
{
Self->ReregisterComponent();
}
DOTNET_EXPORT auto E_UActorComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((E_PROTECTED_WRAP_UActorComponent*)Self)->SendRenderDynamicData_Concurrent_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((E_PROTECTED_WRAP_UActorComponent*)Self)->SendRenderTransform_Concurrent_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
Self->SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E_UActorComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
Self->SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_SetCanEverAffectNavigation(UActorComponent* Self, bool bRelevant)
{
auto _p0 = bRelevant;
Self->SetCanEverAffectNavigation(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
Self->SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
Self->SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_SetComponentTickInterval(UActorComponent* Self, float TickInterval)
{
auto _p0 = TickInterval;
Self->SetComponentTickInterval(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_SetIsNetStartupComponent(UActorComponent* Self, bool bInIsNetStartupComponent)
{
auto _p0 = bInIsNetStartupComponent;
Self->SetIsNetStartupComponent(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_SetIsReplicated(UActorComponent* Self, bool ShouldReplicate)
{
auto _p0 = ShouldReplicate;
Self->SetIsReplicated(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_SetNetAddressable(UActorComponent* Self)
{
Self->SetNetAddressable();
}
DOTNET_EXPORT auto E_UActorComponent_SetTickableWhenPaused(UActorComponent* Self, bool bTickableWhenPaused)
{
auto _p0 = bTickableWhenPaused;
Self->SetTickableWhenPaused(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_SetTickGroup(UActorComponent* Self, ETickingGroup NewTickGroup)
{
auto _p0 = NewTickGroup;
Self->SetTickGroup(_p0);
}
DOTNET_EXPORT auto E_UActorComponent_ShouldActivate(UActorComponent* Self)
{
return ((E_PROTECTED_WRAP_UActorComponent*)Self)->ShouldActivate_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_ShouldCreatePhysicsState(UActorComponent* Self)
{
return ((E_PROTECTED_WRAP_UActorComponent*)Self)->ShouldCreatePhysicsState_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_ShouldCreateRenderState(UActorComponent* Self)
{
return ((E_PROTECTED_WRAP_UActorComponent*)Self)->ShouldCreateRenderState_WRAP();
}
DOTNET_EXPORT auto E_UActorComponent_ToggleActive(UActorComponent* Self)
{
Self->ToggleActive();
}
DOTNET_EXPORT auto E_UActorComponent_UninitializeComponent(UActorComponent* Self)
{
Self->UninitializeComponent();
}
DOTNET_EXPORT auto E_UActorComponent_UnregisterComponent(UActorComponent* Self)
{
Self->UnregisterComponent();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/ManageEventSender.h | <filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/ManageEventSender.h
#pragma once
// This file was created automatically, do not modify the contents of this file.
#include "TypeConvertor.h"
#include "ManageEventSender.generated.h"
UCLASS()
class UNREALDOTNETRUNTIME_API UManageEventSender : public UObject
{
GENERATED_BODY()
public:
UPROPERTY()
UObject* SourceObject;
UPROPERTY()
FString ManageDelegateName;
UFUNCTION()
void Wrapper_FActorBeginCursorOverSignature(AActor* TouchedActor)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(TouchedActor);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0);
}
UFUNCTION()
void Wrapper_FActorBeginOverlapSignature(AActor* OverlappedActor, AActor* OtherActor)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(OverlappedActor);
auto _p1 = ConvertToManage_ObjectPointerDescription(OtherActor);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0, _p1);
}
UFUNCTION()
void Wrapper_FActorComponentActivatedSignature(UActorComponent* Component, bool bReset)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(Component);
auto _p1 = bReset;
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, bool>(SourceObject, ManageDelegateName, _p0, _p1);
}
UFUNCTION()
void Wrapper_FActorComponentDeactivateSignature(UActorComponent* Component)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(Component);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0);
}
UFUNCTION()
void Wrapper_FActorDestroyedSignature(AActor* DestroyedActor)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(DestroyedActor);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0);
}
UFUNCTION()
void Wrapper_FActorEndCursorOverSignature(AActor* TouchedActor)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(TouchedActor);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0);
}
UFUNCTION()
void Wrapper_FActorEndOverlapSignature(AActor* OverlappedActor, AActor* OtherActor)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(OverlappedActor);
auto _p1 = ConvertToManage_ObjectPointerDescription(OtherActor);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0, _p1);
}
UFUNCTION()
void Wrapper_FActorHitSignature(AActor* SelfActor, AActor* OtherActor, FVector NormalImpulse, const FHitResult& Hit)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(SelfActor);
auto _p1 = ConvertToManage_ObjectPointerDescription(OtherActor);
auto _p2 = NormalImpulse;
auto _p3 = Hit;
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, ObjectPointerDescription, FVector, const FHitResult&>(SourceObject, ManageDelegateName, _p0, _p1, _p2, _p3);
}
UFUNCTION()
void Wrapper_FCharacterMovementUpdatedSignature(float DeltaSeconds, FVector OldLocation, FVector OldVelocity)
{
auto _p0 = DeltaSeconds;
auto _p1 = OldLocation;
auto _p2 = OldVelocity;
UCoreShell::GetInstance()->InvokeEventInObject<float, FVector, FVector>(SourceObject, ManageDelegateName, _p0, _p1, _p2);
}
UFUNCTION()
void Wrapper_FCharacterReachedApexSignature()
{
UCoreShell::GetInstance()->InvokeEventInObject(SourceObject, ManageDelegateName);
}
UFUNCTION()
void Wrapper_FComponentBeginCursorOverSignature(UPrimitiveComponent* TouchedComponent)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(TouchedComponent);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0);
}
UFUNCTION()
void Wrapper_FComponentBeginOverlapSignature(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(OverlappedComponent);
auto _p1 = ConvertToManage_ObjectPointerDescription(OtherActor);
auto _p2 = ConvertToManage_ObjectPointerDescription(OtherComp);
auto _p3 = OtherBodyIndex;
auto _p4 = bFromSweep;
auto _p5 = SweepResult;
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, ObjectPointerDescription, ObjectPointerDescription, int32, bool, const FHitResult&>(SourceObject, ManageDelegateName, _p0, _p1, _p2, _p3, _p4, _p5);
}
UFUNCTION()
void Wrapper_FComponentCollisionSettingsChangedSignature(UPrimitiveComponent* ChangedComponent)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(ChangedComponent);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0);
}
UFUNCTION()
void Wrapper_FComponentEndCursorOverSignature(UPrimitiveComponent* TouchedComponent)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(TouchedComponent);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription>(SourceObject, ManageDelegateName, _p0);
}
UFUNCTION()
void Wrapper_FComponentEndOverlapSignature(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(OverlappedComponent);
auto _p1 = ConvertToManage_ObjectPointerDescription(OtherActor);
auto _p2 = ConvertToManage_ObjectPointerDescription(OtherComp);
auto _p3 = OtherBodyIndex;
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, ObjectPointerDescription, ObjectPointerDescription, int32>(SourceObject, ManageDelegateName, _p0, _p1, _p2, _p3);
}
UFUNCTION()
void Wrapper_FComponentHitSignature(UPrimitiveComponent* HitComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(HitComponent);
auto _p1 = ConvertToManage_ObjectPointerDescription(OtherActor);
auto _p2 = ConvertToManage_ObjectPointerDescription(OtherComp);
auto _p3 = NormalImpulse;
auto _p4 = Hit;
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, ObjectPointerDescription, ObjectPointerDescription, FVector, const FHitResult&>(SourceObject, ManageDelegateName, _p0, _p1, _p2, _p3, _p4);
}
UFUNCTION()
void Wrapper_FComponentSleepSignature(UPrimitiveComponent* SleepingComponent, FName BoneName)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(SleepingComponent);
auto _p1 = ConvertToManage_StringWrapper(BoneName);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, StringWrapper>(SourceObject, ManageDelegateName, _p0, _p1);
}
UFUNCTION()
void Wrapper_FComponentWakeSignature(UPrimitiveComponent* WakingComponent, FName BoneName)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(WakingComponent);
auto _p1 = ConvertToManage_StringWrapper(BoneName);
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, StringWrapper>(SourceObject, ManageDelegateName, _p0, _p1);
}
UFUNCTION()
void Wrapper_FLandedSignature(const FHitResult& Hit)
{
auto _p0 = Hit;
UCoreShell::GetInstance()->InvokeEventInObject<const FHitResult&>(SourceObject, ManageDelegateName, _p0);
}
UFUNCTION()
void Wrapper_FMovementModeChangedSignature(ACharacter* Character, EMovementMode PrevMovementMode, uint8 PreviousCustomMode)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(Character);
auto _p1 = PrevMovementMode;
auto _p2 = PreviousCustomMode;
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, EMovementMode, uint8>(SourceObject, ManageDelegateName, _p0, _p1, _p2);
}
UFUNCTION()
void Wrapper_FOnAnimInitialized()
{
UCoreShell::GetInstance()->InvokeEventInObject(SourceObject, ManageDelegateName);
}
UFUNCTION()
void Wrapper_FOnAudioFinished()
{
UCoreShell::GetInstance()->InvokeEventInObject(SourceObject, ManageDelegateName);
}
UFUNCTION()
void Wrapper_FOnAudioMultiEnvelopeValue(const float AverageEnvelopeValue, const float MaxEnvelope, const int32 NumWaveInstances)
{
auto _p0 = AverageEnvelopeValue;
auto _p1 = MaxEnvelope;
auto _p2 = NumWaveInstances;
UCoreShell::GetInstance()->InvokeEventInObject<const float, const float, const int32>(SourceObject, ManageDelegateName, _p0, _p1, _p2);
}
UFUNCTION()
void Wrapper_FOnBoneTransformsFinalized()
{
UCoreShell::GetInstance()->InvokeEventInObject(SourceObject, ManageDelegateName);
}
UFUNCTION()
void Wrapper_FOnGameUserSettingsUINeedsUpdate()
{
UCoreShell::GetInstance()->InvokeEventInObject(SourceObject, ManageDelegateName);
}
UFUNCTION()
void Wrapper_FSmartLinkReachedSignature(AActor* MovingActor, const FVector& DestinationPoint)
{
auto _p0 = ConvertToManage_ObjectPointerDescription(MovingActor);
auto _p1 = DestinationPoint;
UCoreShell::GetInstance()->InvokeEventInObject<ObjectPointerDescription, const FVector&>(SourceObject, ManageDelegateName, _p0, _p1);
}
}
;
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UPawnAction_Wait.h | <reponame>mrkriv/UnrealDotNet
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManagePawnAction_Wait.h"
#include "Runtime/AIModule/Classes/Actions/PawnAction_Wait.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\AIModule\Classes\Actions\PawnAction_Wait.h:13
extern "C"
{
DOTNET_EXPORT auto E_PROP_UPawnAction_Wait_FinishTimeStamp_GET(UPawnAction_Wait* Ptr) { return Ptr->FinishTimeStamp; }
DOTNET_EXPORT void E_PROP_UPawnAction_Wait_FinishTimeStamp_SET(UPawnAction_Wait* Ptr, float Value) { Ptr->FinishTimeStamp = Value; }
DOTNET_EXPORT auto E_PROP_UPawnAction_Wait_TimeToWait_GET(UPawnAction_Wait* Ptr) { return Ptr->TimeToWait; }
DOTNET_EXPORT void E_PROP_UPawnAction_Wait_TimeToWait_SET(UPawnAction_Wait* Ptr, float Value) { Ptr->TimeToWait = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UPawnAction_Wait(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UPawnAction_Wait>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UPawnAction_Wait_CreateAction(UPawnAction_Wait* Self, UWorld& World, float InTimeToWait)
{
auto& _p0 = World;
auto _p1 = InTimeToWait;
return ConvertToManage_ObjectPointerDescription(Self->CreateAction(_p0, _p1));
}
DOTNET_EXPORT auto E_UPawnAction_Wait_TimerDone(UPawnAction_Wait* Self)
{
Self->TimerDone();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_Tick(UPawnAction* Self, float DeltaTime)
{
auto _p0 = DeltaTime;
((UManagePawnAction_Wait*)Self)->_Supper__Tick(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_BeginDestroy(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_FinishDestroy(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PostCDOContruct(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PostEditImport(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PostInitProperties(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PostLoad(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PostNetReceive(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PostRepNotifies(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManagePawnAction_Wait*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PreDestroyFromReplication(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_PreNetReceive(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_ShutdownAfterError(UObject* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_CreateCluster(UObjectBaseUtility* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Wait_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManagePawnAction_Wait*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/ANavLinkProxy.h | <filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/ANavLinkProxy.h
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageNavLinkProxy.h"
#include "Runtime/AIModule/Classes/Navigation/NavLinkProxy.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\AIModule\Classes\Navigation\NavLinkProxy.h:24
extern "C"
{
DOTNET_EXPORT auto E_PROP_ANavLinkProxy_bSmartLinkIsRelevant_GET(ANavLinkProxy* Ptr) { return Ptr->bSmartLinkIsRelevant; }
DOTNET_EXPORT void E_PROP_ANavLinkProxy_bSmartLinkIsRelevant_SET(ANavLinkProxy* Ptr, bool Value) { Ptr->bSmartLinkIsRelevant = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_ANavLinkProxy(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<ANavLinkProxy>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_ANavLinkProxy_HasMovingAgents(ANavLinkProxy* Self)
{
return Self->HasMovingAgents();
}
DOTNET_EXPORT auto E_ANavLinkProxy_IsSmartLinkEnabled(ANavLinkProxy* Self)
{
return Self->IsSmartLinkEnabled();
}
DOTNET_EXPORT auto E_ANavLinkProxy_ReceiveSmartLinkReached(ANavLinkProxy* Self, AActor* Agent, INT_PTR Destination)
{
auto _p0 = Agent;
auto& _p1 = *(FVector*)Destination;
Self->ReceiveSmartLinkReached(_p0, _p1);
}
DOTNET_EXPORT auto E_ANavLinkProxy_ResumePathFollowing(ANavLinkProxy* Self, AActor* Agent)
{
auto _p0 = Agent;
Self->ResumePathFollowing(_p0);
}
DOTNET_EXPORT auto E_ANavLinkProxy_SetSmartLinkEnabled(ANavLinkProxy* Self, bool bEnabled)
{
auto _p0 = bEnabled;
Self->SetSmartLinkEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_BeginPlay(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_ClearCrossLevelReferences(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__ClearCrossLevelReferences();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_Destroyed(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__Destroyed();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_ForceNetRelevant(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__ForceNetRelevant();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_ForceNetUpdate(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__ForceNetUpdate();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_GatherCurrentMovement(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__GatherCurrentMovement();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_InvalidateLightingCacheDetailed(AActor* Self, bool bTranslationOnly)
{
auto _p0 = bTranslationOnly;
((AManageNavLinkProxy*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_K2_DestroyActor(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__K2_DestroyActor();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_LifeSpanExpired(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__LifeSpanExpired();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_MarkComponentsAsPendingKill(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__MarkComponentsAsPendingKill();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_NotifyActorBeginCursorOver(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__NotifyActorBeginCursorOver();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_NotifyActorEndCursorOver(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__NotifyActorEndCursorOver();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_OnRep_AttachmentReplication(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__OnRep_AttachmentReplication();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_OnRep_Instigator(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__OnRep_Instigator();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_OnRep_Owner(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__OnRep_Owner();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_OnRep_ReplicatedMovement(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__OnRep_ReplicatedMovement();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_OnRep_ReplicateMovement(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__OnRep_ReplicateMovement();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_OnReplicationPausedChanged(AActor* Self, bool bIsReplicationPaused)
{
auto _p0 = bIsReplicationPaused;
((AManageNavLinkProxy*)Self)->_Supper__OnReplicationPausedChanged(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_OutsideWorldBounds(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__OutsideWorldBounds();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostActorCreated(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostActorCreated();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostInitializeComponents(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostNetInit(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostNetInit();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostNetReceiveLocationAndRotation(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostNetReceiveLocationAndRotation();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostNetReceivePhysicState(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostNetReceivePhysicState();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostNetReceiveRole(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostNetReceiveRole();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostRegisterAllComponents(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostUnregisterAllComponents(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostUnregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PreInitializeComponents(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PreInitializeComponents();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PreRegisterAllComponents(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PreRegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PrestreamTextures(AActor* Self, float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups)
{
auto _p0 = Seconds;
auto _p1 = bEnableStreaming;
auto _p2 = CinematicTextureGroups;
((AManageNavLinkProxy*)Self)->_Supper__PrestreamTextures(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_RegisterActorTickFunctions(AActor* Self, bool bRegister)
{
auto _p0 = bRegister;
((AManageNavLinkProxy*)Self)->_Supper__RegisterActorTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_RegisterAllComponents(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__RegisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_ReregisterAllComponents(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__ReregisterAllComponents();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_RerunConstructionScripts(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__RerunConstructionScripts();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_Reset(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__Reset();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_RewindForReplay(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__RewindForReplay();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_SetActorHiddenInGame(AActor* Self, bool bNewHidden)
{
auto _p0 = bNewHidden;
((AManageNavLinkProxy*)Self)->_Supper__SetActorHiddenInGame(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_SetLifeSpan(AActor* Self, float InLifespan)
{
auto _p0 = InLifespan;
((AManageNavLinkProxy*)Self)->_Supper__SetLifeSpan(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_SetReplicateMovement(AActor* Self, bool bInReplicateMovement)
{
auto _p0 = bInReplicateMovement;
((AManageNavLinkProxy*)Self)->_Supper__SetReplicateMovement(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_TearOff(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__TearOff();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_TeleportSucceeded(AActor* Self, bool bIsATest)
{
auto _p0 = bIsATest;
((AManageNavLinkProxy*)Self)->_Supper__TeleportSucceeded(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_Tick(AActor* Self, float DeltaSeconds)
{
auto _p0 = DeltaSeconds;
((AManageNavLinkProxy*)Self)->_Supper__Tick(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_TornOff(AActor* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__TornOff();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_UnregisterAllComponents(AActor* Self, bool bForReregister)
{
auto _p0 = bForReregister;
((AManageNavLinkProxy*)Self)->_Supper__UnregisterAllComponents(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_BeginDestroy(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_FinishDestroy(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_MarkAsEditorOnlySubobject(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostCDOContruct(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostEditImport(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostInitProperties(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostLoad(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostNetReceive(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostRepNotifies(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((AManageNavLinkProxy*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PreDestroyFromReplication(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_PreNetReceive(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_ShutdownAfterError(UObject* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_CreateCluster(UObjectBaseUtility* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__ANavLinkProxy_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((AManageNavLinkProxy*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Manage/ManagePlayerController.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreShell.h"
#include "ManageObject.h"
#include "TypeConvertor.h"
#include "Runtime/Engine/Classes/GameFramework/PlayerController.h"
#include "ManagePlayerController.generated.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\PlayerController.h:237
UCLASS()
class UNREALDOTNETRUNTIME_API AManagePlayerController : public APlayerController, public IManageObject
{
GENERATED_UCLASS_BODY()
public:
bool bIsManageAttach = false;
bool AddWrapperIfNotAttach() override;
void SetManageType(const FDotnetTypeName& ManageType) override;
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "C#")
FDotnetTypeName ManageClassName;
virtual void AddPitchInput(float Val) override;
virtual void AddRollInput(float Val) override;
virtual void AddYawInput(float Val) override;
virtual void BeginPlayingState() override;
virtual void ClientClearCameraLensEffects() override;
virtual void ClientEnableNetworkVoice(bool bEnable) override;
virtual void ClientVoiceHandshakeComplete() override;
virtual void DelayedPrepareMapChange() override;
virtual void EnableCheats() override;
virtual void EndPlayingState() override;
virtual void FOV(float NewFOV) override;
virtual void Pause() override;
virtual void PlayerTick(float DeltaTime) override;
virtual void PostProcessInput(const float DeltaTime, const bool bGamePaused) override;
virtual void PostSeamlessTravel() override;
virtual void PreProcessInput(const float DeltaTime, const bool bGamePaused) override;
virtual void RestartLevel() override;
virtual void SafeRetryClientRestart() override;
virtual void SafeServerCheckClientPossession() override;
virtual void SetCinematicMode(bool bInCinematicMode, bool bAffectsMovement, bool bAffectsTurning) override;
virtual void SetDisableHaptics(bool bNewDisabled) override;
virtual void SetVirtualJoystickVisibility(bool bVisible) override;
virtual void StartFire(uint8 FireModeNum) override;
virtual void ToggleSpeaking(bool bInSpeaking) override;
virtual void UnFreeze() override;
virtual void UpdateRotation(float DeltaTime) override;
virtual void BeginInactiveState() override;
virtual void CleanupPlayerState() override;
virtual void CurrentLevelUnloaded() override;
virtual void DetachFromPawn() override;
virtual void EndInactiveState() override;
virtual void FailedToSpawnPawn() override;
virtual void InitPlayerState() override;
virtual void OnRep_Pawn() override;
virtual void OnRep_PlayerState() override;
virtual void OnUnPossess() override;
virtual void ResetIgnoreInputFlags() override;
virtual void ResetIgnoreLookInput() override;
virtual void ResetIgnoreMoveInput() override;
virtual void SetIgnoreLookInput(bool bNewLookInput) override;
virtual void SetIgnoreMoveInput(bool bNewMoveInput) override;
virtual void StopMovement() override;
virtual void UpdateNavigationComponents() override;
virtual void BeginPlay() override;
virtual void ClearCrossLevelReferences() override;
virtual void Destroyed() override;
virtual void ForceNetRelevant() override;
virtual void ForceNetUpdate() override;
virtual void GatherCurrentMovement() override;
virtual void InvalidateLightingCacheDetailed(bool bTranslationOnly) override;
virtual void K2_DestroyActor() override;
virtual void LifeSpanExpired() override;
virtual void MarkComponentsAsPendingKill() override;
virtual void NotifyActorBeginCursorOver() override;
virtual void NotifyActorEndCursorOver() override;
virtual void OnRep_AttachmentReplication() override;
virtual void OnRep_Instigator() override;
virtual void OnRep_Owner() override;
virtual void OnRep_ReplicatedMovement() override;
virtual void OnRep_ReplicateMovement() override;
virtual void OnReplicationPausedChanged(bool bIsReplicationPaused) override;
virtual void OutsideWorldBounds() override;
virtual void PostActorCreated() override;
virtual void PostInitializeComponents() override;
virtual void PostNetInit() override;
virtual void PostNetReceiveLocationAndRotation() override;
virtual void PostNetReceivePhysicState() override;
virtual void PostNetReceiveRole() override;
virtual void PostRegisterAllComponents() override;
virtual void PostUnregisterAllComponents() override;
virtual void PreInitializeComponents() override;
virtual void PreRegisterAllComponents() override;
virtual void PrestreamTextures(float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups) override;
virtual void RegisterActorTickFunctions(bool bRegister) override;
virtual void RegisterAllComponents() override;
virtual void ReregisterAllComponents() override;
virtual void RerunConstructionScripts() override;
virtual void Reset() override;
virtual void RewindForReplay() override;
virtual void SetActorHiddenInGame(bool bNewHidden) override;
virtual void SetLifeSpan(float InLifespan) override;
virtual void SetReplicateMovement(bool bInReplicateMovement) override;
virtual void TearOff() override;
virtual void TeleportSucceeded(bool bIsATest) override;
virtual void Tick(float DeltaSeconds) override;
virtual void TornOff() override;
virtual void UnregisterAllComponents(bool bForReregister) override;
virtual void BeginDestroy() override;
virtual void FinishDestroy() override;
virtual void MarkAsEditorOnlySubobject() override;
virtual void PostCDOContruct() override;
virtual void PostEditImport() override;
virtual void PostInitProperties() override;
virtual void PostLoad() override;
virtual void PostNetReceive() override;
virtual void PostRepNotifies() override;
virtual void PostSaveRoot(bool bCleanupIsRequired) override;
virtual void PreDestroyFromReplication() override;
virtual void PreNetReceive() override;
virtual void ShutdownAfterError() override;
virtual void CreateCluster() override;
virtual void OnClusterMarkedAsPendingKill() override;
void _Supper__AddPitchInput(float Val);
void _Supper__AddRollInput(float Val);
void _Supper__AddYawInput(float Val);
void _Supper__BeginPlayingState();
void _Supper__ClientClearCameraLensEffects();
void _Supper__ClientEnableNetworkVoice(bool bEnable);
void _Supper__ClientVoiceHandshakeComplete();
void _Supper__DelayedPrepareMapChange();
void _Supper__EnableCheats();
void _Supper__EndPlayingState();
void _Supper__FOV(float NewFOV);
void _Supper__Pause();
void _Supper__PlayerTick(float DeltaTime);
void _Supper__PostProcessInput(const float DeltaTime, const bool bGamePaused);
void _Supper__PostSeamlessTravel();
void _Supper__PreProcessInput(const float DeltaTime, const bool bGamePaused);
void _Supper__RestartLevel();
void _Supper__SafeRetryClientRestart();
void _Supper__SafeServerCheckClientPossession();
void _Supper__SetCinematicMode(bool bInCinematicMode, bool bAffectsMovement, bool bAffectsTurning);
void _Supper__SetDisableHaptics(bool bNewDisabled);
void _Supper__SetVirtualJoystickVisibility(bool bVisible);
void _Supper__StartFire(uint8 FireModeNum);
void _Supper__ToggleSpeaking(bool bInSpeaking);
void _Supper__UnFreeze();
void _Supper__UpdateRotation(float DeltaTime);
void _Supper__BeginInactiveState();
void _Supper__CleanupPlayerState();
void _Supper__CurrentLevelUnloaded();
void _Supper__DetachFromPawn();
void _Supper__EndInactiveState();
void _Supper__FailedToSpawnPawn();
void _Supper__InitPlayerState();
void _Supper__OnRep_Pawn();
void _Supper__OnRep_PlayerState();
void _Supper__OnUnPossess();
void _Supper__ResetIgnoreInputFlags();
void _Supper__ResetIgnoreLookInput();
void _Supper__ResetIgnoreMoveInput();
void _Supper__SetIgnoreLookInput(bool bNewLookInput);
void _Supper__SetIgnoreMoveInput(bool bNewMoveInput);
void _Supper__StopMovement();
void _Supper__UpdateNavigationComponents();
void _Supper__BeginPlay();
void _Supper__ClearCrossLevelReferences();
void _Supper__Destroyed();
void _Supper__ForceNetRelevant();
void _Supper__ForceNetUpdate();
void _Supper__GatherCurrentMovement();
void _Supper__InvalidateLightingCacheDetailed(bool bTranslationOnly);
void _Supper__K2_DestroyActor();
void _Supper__LifeSpanExpired();
void _Supper__MarkComponentsAsPendingKill();
void _Supper__NotifyActorBeginCursorOver();
void _Supper__NotifyActorEndCursorOver();
void _Supper__OnRep_AttachmentReplication();
void _Supper__OnRep_Instigator();
void _Supper__OnRep_Owner();
void _Supper__OnRep_ReplicatedMovement();
void _Supper__OnRep_ReplicateMovement();
void _Supper__OnReplicationPausedChanged(bool bIsReplicationPaused);
void _Supper__OutsideWorldBounds();
void _Supper__PostActorCreated();
void _Supper__PostInitializeComponents();
void _Supper__PostNetInit();
void _Supper__PostNetReceiveLocationAndRotation();
void _Supper__PostNetReceivePhysicState();
void _Supper__PostNetReceiveRole();
void _Supper__PostRegisterAllComponents();
void _Supper__PostUnregisterAllComponents();
void _Supper__PreInitializeComponents();
void _Supper__PreRegisterAllComponents();
void _Supper__PrestreamTextures(float Seconds, bool bEnableStreaming, int32 CinematicTextureGroups);
void _Supper__RegisterActorTickFunctions(bool bRegister);
void _Supper__RegisterAllComponents();
void _Supper__ReregisterAllComponents();
void _Supper__RerunConstructionScripts();
void _Supper__Reset();
void _Supper__RewindForReplay();
void _Supper__SetActorHiddenInGame(bool bNewHidden);
void _Supper__SetLifeSpan(float InLifespan);
void _Supper__SetReplicateMovement(bool bInReplicateMovement);
void _Supper__TearOff();
void _Supper__TeleportSucceeded(bool bIsATest);
void _Supper__Tick(float DeltaSeconds);
void _Supper__TornOff();
void _Supper__UnregisterAllComponents(bool bForReregister);
void _Supper__BeginDestroy();
void _Supper__FinishDestroy();
void _Supper__MarkAsEditorOnlySubobject();
void _Supper__PostCDOContruct();
void _Supper__PostEditImport();
void _Supper__PostInitProperties();
void _Supper__PostLoad();
void _Supper__PostNetReceive();
void _Supper__PostRepNotifies();
void _Supper__PostSaveRoot(bool bCleanupIsRequired);
void _Supper__PreDestroyFromReplication();
void _Supper__PreNetReceive();
void _Supper__ShutdownAfterError();
void _Supper__CreateCluster();
void _Supper__OnClusterMarkedAsPendingKill();
};
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/USceneCaptureComponent2D.h | <reponame>mrkriv/UnrealDotNet<filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/USceneCaptureComponent2D.h<gh_stars>10-100
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageSceneCaptureComponent2D.h"
#include "Runtime/Engine/Classes/Components/SceneCaptureComponent2D.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\SceneCaptureComponent2D.h:20
extern "C"
{
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_bEnableClipPlane_GET(USceneCaptureComponent2D* Ptr) { return Ptr->bEnableClipPlane; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_bEnableClipPlane_SET(USceneCaptureComponent2D* Ptr, bool Value) { Ptr->bEnableClipPlane = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_bUseCustomProjectionMatrix_GET(USceneCaptureComponent2D* Ptr) { return Ptr->bUseCustomProjectionMatrix; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_bUseCustomProjectionMatrix_SET(USceneCaptureComponent2D* Ptr, bool Value) { Ptr->bUseCustomProjectionMatrix = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_ClipPlaneBase_GET(USceneCaptureComponent2D* Ptr) { return (INT_PTR)&(Ptr->ClipPlaneBase); }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_ClipPlaneBase_SET(USceneCaptureComponent2D* Ptr, INT_PTR Value) { Ptr->ClipPlaneBase = *(FVector*)Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_ClipPlaneNormal_GET(USceneCaptureComponent2D* Ptr) { return (INT_PTR)&(Ptr->ClipPlaneNormal); }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_ClipPlaneNormal_SET(USceneCaptureComponent2D* Ptr, INT_PTR Value) { Ptr->ClipPlaneNormal = *(FVector*)Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_CustomProjectionMatrix_GET(USceneCaptureComponent2D* Ptr) { return (INT_PTR)&(Ptr->CustomProjectionMatrix); }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_CustomProjectionMatrix_SET(USceneCaptureComponent2D* Ptr, INT_PTR Value) { Ptr->CustomProjectionMatrix = *(FMatrix*)Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_FOVAngle_GET(USceneCaptureComponent2D* Ptr) { return Ptr->FOVAngle; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_FOVAngle_SET(USceneCaptureComponent2D* Ptr, float Value) { Ptr->FOVAngle = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_OrthoWidth_GET(USceneCaptureComponent2D* Ptr) { return Ptr->OrthoWidth; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_OrthoWidth_SET(USceneCaptureComponent2D* Ptr, float Value) { Ptr->OrthoWidth = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_PostProcessBlendWeight_GET(USceneCaptureComponent2D* Ptr) { return Ptr->PostProcessBlendWeight; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_PostProcessBlendWeight_SET(USceneCaptureComponent2D* Ptr, float Value) { Ptr->PostProcessBlendWeight = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent2D_PostProcessSettings_GET(USceneCaptureComponent2D* Ptr) { return (INT_PTR)&(Ptr->PostProcessSettings); }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent2D_PostProcessSettings_SET(USceneCaptureComponent2D* Ptr, INT_PTR Value) { Ptr->PostProcessSettings = *(FPostProcessSettings*)Value; }
DOTNET_EXPORT INT_PTR E_NewObject_USceneCaptureComponent2D(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<USceneCaptureComponent2D>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_USceneCaptureComponent2D_CaptureScene(USceneCaptureComponent2D* Self)
{
Self->CaptureScene();
}
DOTNET_EXPORT auto E_USceneCaptureComponent2D_CaptureSceneDeferred(USceneCaptureComponent2D* Self)
{
Self->CaptureSceneDeferred();
}
DOTNET_EXPORT auto E_USceneCaptureComponent2D_UpdateContent(USceneCaptureComponent2D* Self)
{
Self->UpdateContent();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageSceneCaptureComponent2D*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnAttachmentChanged(USceneComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnVisibilityChanged(USceneComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_UpdateBounds(USceneComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageSceneCaptureComponent2D*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageSceneCaptureComponent2D*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_BeginPlay(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_Deactivate(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageSceneCaptureComponent2D*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_InitializeComponent(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageSceneCaptureComponent2D*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnComponentCreated(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnRegister(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnRep_IsActive(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnUnregister(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageSceneCaptureComponent2D*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageSceneCaptureComponent2D*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageSceneCaptureComponent2D*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageSceneCaptureComponent2D*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageSceneCaptureComponent2D*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_ToggleActive(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_UninitializeComponent(UActorComponent* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_BeginDestroy(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_FinishDestroy(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PostCDOContruct(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PostEditImport(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PostInitProperties(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PostLoad(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PostNetReceive(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PostRepNotifies(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageSceneCaptureComponent2D*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PreDestroyFromReplication(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_PreNetReceive(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_ShutdownAfterError(UObject* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_CreateCluster(UObjectBaseUtility* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__USceneCaptureComponent2D_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageSceneCaptureComponent2D*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UAIHotSpotManager.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageAIHotSpotManager.h"
#include "Runtime/AIModule/Classes/HotSpots/AIHotSpotManager.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\AIModule\Classes\HotSpots\AIHotSpotManager.h:10
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UAIHotSpotManager(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UAIHotSpotManager>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_BeginDestroy(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_FinishDestroy(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PostCDOContruct(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PostEditImport(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PostInitProperties(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PostLoad(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PostNetReceive(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PostRepNotifies(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageAIHotSpotManager*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PreDestroyFromReplication(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_PreNetReceive(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_ShutdownAfterError(UObject* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_CreateCluster(UObjectBaseUtility* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UAIHotSpotManager_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageAIHotSpotManager*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UPawnAction_BlueprintBase.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/AIModule/Classes/Actions/PawnAction_BlueprintBase.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\AIModule\Classes\Actions\PawnAction_BlueprintBase.h:13
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UPawnAction_BlueprintBase(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UPawnAction_BlueprintBase>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UPawnAction_BlueprintBase_ActionPause(UPawnAction_BlueprintBase* Self, APawn* ControlledPawn)
{
auto _p0 = ControlledPawn;
Self->ActionPause(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_BlueprintBase_ActionResume(UPawnAction_BlueprintBase* Self, APawn* ControlledPawn)
{
auto _p0 = ControlledPawn;
Self->ActionResume(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_BlueprintBase_ActionStart(UPawnAction_BlueprintBase* Self, APawn* ControlledPawn)
{
auto _p0 = ControlledPawn;
Self->ActionStart(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_BlueprintBase_ActionTick(UPawnAction_BlueprintBase* Self, APawn* ControlledPawn, float DeltaSeconds)
{
auto _p0 = ControlledPawn;
auto _p1 = DeltaSeconds;
Self->ActionTick(_p0, _p1);
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UDrawFrustumComponent.h | <filename>Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UDrawFrustumComponent.h
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/Engine/Classes/Components/DrawFrustumComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\DrawFrustumComponent.h:18
extern "C"
{
DOTNET_EXPORT auto E_PROP_UDrawFrustumComponent_FrustumAngle_GET(UDrawFrustumComponent* Ptr) { return Ptr->FrustumAngle; }
DOTNET_EXPORT void E_PROP_UDrawFrustumComponent_FrustumAngle_SET(UDrawFrustumComponent* Ptr, float Value) { Ptr->FrustumAngle = Value; }
DOTNET_EXPORT auto E_PROP_UDrawFrustumComponent_FrustumAspectRatio_GET(UDrawFrustumComponent* Ptr) { return Ptr->FrustumAspectRatio; }
DOTNET_EXPORT void E_PROP_UDrawFrustumComponent_FrustumAspectRatio_SET(UDrawFrustumComponent* Ptr, float Value) { Ptr->FrustumAspectRatio = Value; }
DOTNET_EXPORT auto E_PROP_UDrawFrustumComponent_FrustumEndDist_GET(UDrawFrustumComponent* Ptr) { return Ptr->FrustumEndDist; }
DOTNET_EXPORT void E_PROP_UDrawFrustumComponent_FrustumEndDist_SET(UDrawFrustumComponent* Ptr, float Value) { Ptr->FrustumEndDist = Value; }
DOTNET_EXPORT auto E_PROP_UDrawFrustumComponent_FrustumStartDist_GET(UDrawFrustumComponent* Ptr) { return Ptr->FrustumStartDist; }
DOTNET_EXPORT void E_PROP_UDrawFrustumComponent_FrustumStartDist_SET(UDrawFrustumComponent* Ptr, float Value) { Ptr->FrustumStartDist = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UDrawFrustumComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UDrawFrustumComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UStaticMeshComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageStaticMeshComponent.h"
#include "Runtime/Engine/Classes/Components/StaticMeshComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\StaticMeshComponent.h:171
extern "C"
{
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bCastDistanceFieldIndirectShadow_GET(UStaticMeshComponent* Ptr) { return Ptr->bCastDistanceFieldIndirectShadow; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bCastDistanceFieldIndirectShadow_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bCastDistanceFieldIndirectShadow = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bDisallowMeshPaintPerInstance_GET(UStaticMeshComponent* Ptr) { return Ptr->bDisallowMeshPaintPerInstance; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bDisallowMeshPaintPerInstance_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bDisallowMeshPaintPerInstance = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bDrawMeshCollisionIfComplex_GET(UStaticMeshComponent* Ptr) { return Ptr->bDrawMeshCollisionIfComplex; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bDrawMeshCollisionIfComplex_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bDrawMeshCollisionIfComplex = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bDrawMeshCollisionIfSimple_GET(UStaticMeshComponent* Ptr) { return Ptr->bDrawMeshCollisionIfSimple; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bDrawMeshCollisionIfSimple_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bDrawMeshCollisionIfSimple = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bForceNavigationObstacle_GET(UStaticMeshComponent* Ptr) { return Ptr->bForceNavigationObstacle; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bForceNavigationObstacle_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bForceNavigationObstacle = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bIgnoreInstanceForTextureStreaming_GET(UStaticMeshComponent* Ptr) { return Ptr->bIgnoreInstanceForTextureStreaming; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bIgnoreInstanceForTextureStreaming_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bIgnoreInstanceForTextureStreaming = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bOverrideDistanceFieldSelfShadowBias_GET(UStaticMeshComponent* Ptr) { return Ptr->bOverrideDistanceFieldSelfShadowBias; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bOverrideDistanceFieldSelfShadowBias_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bOverrideDistanceFieldSelfShadowBias = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bOverrideLightMapRes_GET(UStaticMeshComponent* Ptr) { return Ptr->bOverrideLightMapRes; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bOverrideLightMapRes_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bOverrideLightMapRes = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bOverrideMinLOD_GET(UStaticMeshComponent* Ptr) { return Ptr->bOverrideMinLOD; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bOverrideMinLOD_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bOverrideMinLOD = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bOverrideNavigationExport_GET(UStaticMeshComponent* Ptr) { return Ptr->bOverrideNavigationExport; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bOverrideNavigationExport_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bOverrideNavigationExport = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bOverrideWireframeColor_GET(UStaticMeshComponent* Ptr) { return Ptr->bOverrideWireframeColor; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bOverrideWireframeColor_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bOverrideWireframeColor = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bReverseCulling_GET(UStaticMeshComponent* Ptr) { return Ptr->bReverseCulling; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bReverseCulling_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bReverseCulling = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bUseDefaultCollision_GET(UStaticMeshComponent* Ptr) { return Ptr->bUseDefaultCollision; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bUseDefaultCollision_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bUseDefaultCollision = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_bUseSubDivisions_GET(UStaticMeshComponent* Ptr) { return Ptr->bUseSubDivisions; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_bUseSubDivisions_SET(UStaticMeshComponent* Ptr, uint8 Value) { Ptr->bUseSubDivisions = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_DistanceFieldIndirectShadowMinVisibility_GET(UStaticMeshComponent* Ptr) { return Ptr->DistanceFieldIndirectShadowMinVisibility; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_DistanceFieldIndirectShadowMinVisibility_SET(UStaticMeshComponent* Ptr, float Value) { Ptr->DistanceFieldIndirectShadowMinVisibility = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_DistanceFieldSelfShadowBias_GET(UStaticMeshComponent* Ptr) { return Ptr->DistanceFieldSelfShadowBias; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_DistanceFieldSelfShadowBias_SET(UStaticMeshComponent* Ptr, float Value) { Ptr->DistanceFieldSelfShadowBias = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_ForcedLodModel_GET(UStaticMeshComponent* Ptr) { return Ptr->ForcedLodModel; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_ForcedLodModel_SET(UStaticMeshComponent* Ptr, int32 Value) { Ptr->ForcedLodModel = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_LightmassSettings_GET(UStaticMeshComponent* Ptr) { return (INT_PTR)&(Ptr->LightmassSettings); }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_LightmassSettings_SET(UStaticMeshComponent* Ptr, INT_PTR Value) { Ptr->LightmassSettings = *(FLightmassPrimitiveSettings*)Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_MinLOD_GET(UStaticMeshComponent* Ptr) { return Ptr->MinLOD; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_MinLOD_SET(UStaticMeshComponent* Ptr, int32 Value) { Ptr->MinLOD = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_OverriddenLightMapRes_GET(UStaticMeshComponent* Ptr) { return Ptr->OverriddenLightMapRes; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_OverriddenLightMapRes_SET(UStaticMeshComponent* Ptr, int32 Value) { Ptr->OverriddenLightMapRes = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_PreviousLODLevel_GET(UStaticMeshComponent* Ptr) { return Ptr->PreviousLODLevel; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_PreviousLODLevel_SET(UStaticMeshComponent* Ptr, int32 Value) { Ptr->PreviousLODLevel = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_StreamingDistanceMultiplier_GET(UStaticMeshComponent* Ptr) { return Ptr->StreamingDistanceMultiplier; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_StreamingDistanceMultiplier_SET(UStaticMeshComponent* Ptr, float Value) { Ptr->StreamingDistanceMultiplier = Value; }
DOTNET_EXPORT auto E_PROP_UStaticMeshComponent_SubDivisionStepSize_GET(UStaticMeshComponent* Ptr) { return Ptr->SubDivisionStepSize; }
DOTNET_EXPORT void E_PROP_UStaticMeshComponent_SubDivisionStepSize_SET(UStaticMeshComponent* Ptr, int32 Value) { Ptr->SubDivisionStepSize = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UStaticMeshComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UStaticMeshComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UStaticMeshComponent_CachePaintedDataIfNecessary(UStaticMeshComponent* Self)
{
Self->CachePaintedDataIfNecessary();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_CopyInstanceVertexColorsIfCompatible(UStaticMeshComponent* Self, UStaticMeshComponent* SourceComponent)
{
auto _p0 = SourceComponent;
Self->CopyInstanceVertexColorsIfCompatible(_p0);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_FixupOverrideColorsIfNecessary(UStaticMeshComponent* Self, bool bRebuildingStaticMesh)
{
auto _p0 = bRebuildingStaticMesh;
return Self->FixupOverrideColorsIfNecessary(_p0);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_GetBlueprintCreatedComponentIndex(UStaticMeshComponent* Self)
{
return Self->GetBlueprintCreatedComponentIndex();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_GetEstimatedLightAndShadowMapMemoryUsage(UStaticMeshComponent* Self, int32 TextureLightMapMemoryUsage, int32 TextureShadowMapMemoryUsage, int32 VertexLightMapMemoryUsage, int32 VertexShadowMapMemoryUsage, int32 StaticLightingResolution, bool bIsUsingTextureMapping, bool bHasLightmapTexCoords)
{
auto& _p0 = TextureLightMapMemoryUsage;
auto& _p1 = TextureShadowMapMemoryUsage;
auto& _p2 = VertexLightMapMemoryUsage;
auto& _p3 = VertexShadowMapMemoryUsage;
auto& _p4 = StaticLightingResolution;
auto& _p5 = bIsUsingTextureMapping;
auto& _p6 = bHasLightmapTexCoords;
return Self->GetEstimatedLightAndShadowMapMemoryUsage(_p0, _p1, _p2, _p3, _p4, _p5, _p6);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_GetEstimatedLightMapResolution(UStaticMeshComponent* Self, int32 Width, int32 Height)
{
auto& _p0 = Width;
auto& _p1 = Height;
Self->GetEstimatedLightMapResolution(_p0, _p1);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_GetLocalBounds(UStaticMeshComponent* Self, INT_PTR Min, INT_PTR Max)
{
auto& _p0 = *(FVector*)Min;
auto& _p1 = *(FVector*)Max;
Self->GetLocalBounds(_p0, _p1);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_GetMemberNameChecked_StaticMesh(UStaticMeshComponent* Self)
{
return ConvertToManage_StringWrapper(Self->GetMemberNameChecked_StaticMesh());
}
DOTNET_EXPORT auto E_UStaticMeshComponent_GetTextureLightAndShadowMapMemoryUsage(UStaticMeshComponent* Self, int32 InWidth, int32 InHeight, int32 OutLightMapMemoryUsage, int32 OutShadowMapMemoryUsage)
{
auto _p0 = InWidth;
auto _p1 = InHeight;
auto& _p2 = OutLightMapMemoryUsage;
auto& _p3 = OutShadowMapMemoryUsage;
Self->GetTextureLightAndShadowMapMemoryUsage(_p0, _p1, _p2, _p3);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_GetTextureStreamingTransformScale(UStaticMeshComponent* Self)
{
return Self->GetTextureStreamingTransformScale();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_HasLightmapTextureCoordinates(UStaticMeshComponent* Self)
{
return Self->HasLightmapTextureCoordinates();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_ReleaseResources(UStaticMeshComponent* Self)
{
Self->ReleaseResources();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_RemoveInstanceVertexColors(UStaticMeshComponent* Self)
{
Self->RemoveInstanceVertexColors();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_RemoveInstanceVertexColorsFromLOD(UStaticMeshComponent* Self, int32 LODToRemoveColorsFrom)
{
auto _p0 = LODToRemoveColorsFrom;
Self->RemoveInstanceVertexColorsFromLOD(_p0);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_RequiresOverrideVertexColorsFixup(UStaticMeshComponent* Self)
{
return Self->RequiresOverrideVertexColorsFixup();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_SetDistanceFieldSelfShadowBias(UStaticMeshComponent* Self, float NewValue)
{
auto _p0 = NewValue;
Self->SetDistanceFieldSelfShadowBias(_p0);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_SetForcedLodModel(UStaticMeshComponent* Self, int32 NewForcedLodModel)
{
auto _p0 = NewForcedLodModel;
Self->SetForcedLodModel(_p0);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_SetMaterialPreview(UStaticMeshComponent* Self, int32 InMaterialIndexPreview)
{
auto _p0 = InMaterialIndexPreview;
Self->SetMaterialPreview(_p0);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_SetReverseCulling(UStaticMeshComponent* Self, bool ReverseCulling)
{
auto _p0 = ReverseCulling;
Self->SetReverseCulling(_p0);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_SetSectionPreview(UStaticMeshComponent* Self, int32 InSectionIndexPreview)
{
auto _p0 = InSectionIndexPreview;
Self->SetSectionPreview(_p0);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_SetStaticLightingMapping(UStaticMeshComponent* Self, bool bTextureMapping, int32 ResolutionToUse)
{
auto _p0 = bTextureMapping;
auto _p1 = ResolutionToUse;
return Self->SetStaticLightingMapping(_p0, _p1);
}
DOTNET_EXPORT auto E_UStaticMeshComponent_SupportsDefaultCollision(UStaticMeshComponent* Self)
{
return Self->SupportsDefaultCollision();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_UpdateCollisionFromStaticMesh(UStaticMeshComponent* Self)
{
Self->UpdateCollisionFromStaticMesh();
}
DOTNET_EXPORT auto E_UStaticMeshComponent_UsesTextureLightmaps(UStaticMeshComponent* Self, int32 InWidth, int32 InHeight)
{
auto _p0 = InWidth;
auto _p1 = InHeight;
return Self->UsesTextureLightmaps(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PrestreamTextures(UMeshComponent* Self, float Seconds, bool bPrioritizeCharacterTextures, int32 CinematicTextureGroups)
{
auto _p0 = Seconds;
auto _p1 = bPrioritizeCharacterTextures;
auto _p2 = CinematicTextureGroups;
((UManageStaticMeshComponent*)Self)->_Supper__PrestreamTextures(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetTextureForceResidentFlag(UMeshComponent* Self, bool bForceMiplevelsToBeResident)
{
auto _p0 = bForceMiplevelsToBeResident;
((UManageStaticMeshComponent*)Self)->_Supper__SetTextureForceResidentFlag(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnComponentCollisionSettingsChanged(UPrimitiveComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnComponentCollisionSettingsChanged();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PutAllRigidBodiesToSleep(UPrimitiveComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PutAllRigidBodiesToSleep();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetAllMassScale(UPrimitiveComponent* Self, float InMassScale)
{
auto _p0 = InMassScale;
((UManageStaticMeshComponent*)Self)->_Supper__SetAllMassScale(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetAllUseCCD(UPrimitiveComponent* Self, bool InUseCCD)
{
auto _p0 = InUseCCD;
((UManageStaticMeshComponent*)Self)->_Supper__SetAllUseCCD(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetAngularDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageStaticMeshComponent*)Self)->_Supper__SetAngularDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetEnableGravity(UPrimitiveComponent* Self, bool bGravityEnabled)
{
auto _p0 = bGravityEnabled;
((UManageStaticMeshComponent*)Self)->_Supper__SetEnableGravity(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetLinearDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageStaticMeshComponent*)Self)->_Supper__SetLinearDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetNotifyRigidBodyCollision(UPrimitiveComponent* Self, bool bNewNotifyRigidBodyCollision)
{
auto _p0 = bNewNotifyRigidBodyCollision;
((UManageStaticMeshComponent*)Self)->_Supper__SetNotifyRigidBodyCollision(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetSimulatePhysics(UPrimitiveComponent* Self, bool bSimulate)
{
auto _p0 = bSimulate;
((UManageStaticMeshComponent*)Self)->_Supper__SetSimulatePhysics(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_UnWeldChildren(UPrimitiveComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__UnWeldChildren();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_UnWeldFromParent(UPrimitiveComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__UnWeldFromParent();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_UpdatePhysicsToRBChannels(UPrimitiveComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__UpdatePhysicsToRBChannels();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_WakeAllRigidBodies(UPrimitiveComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__WakeAllRigidBodies();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageStaticMeshComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_UpdateBounds(USceneComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageStaticMeshComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageStaticMeshComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_BeginPlay(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_Deactivate(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageStaticMeshComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_InitializeComponent(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageStaticMeshComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageStaticMeshComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnRegister(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnUnregister(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageStaticMeshComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageStaticMeshComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageStaticMeshComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageStaticMeshComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageStaticMeshComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_ToggleActive(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_BeginDestroy(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_FinishDestroy(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PostCDOContruct(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PostEditImport(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PostInitProperties(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PostLoad(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PostNetReceive(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PostRepNotifies(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageStaticMeshComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_PreNetReceive(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_ShutdownAfterError(UObject* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UStaticMeshComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageStaticMeshComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/USceneCaptureComponent.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/Engine/Classes/Components/SceneCaptureComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\SceneCaptureComponent.h:60
class E_PROTECTED_WRAP_USceneCaptureComponent : protected USceneCaptureComponent
{
public:
void UpdateShowFlags_WRAP()
{
UpdateShowFlags();
}
};
extern "C"
{
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent_bAlwaysPersistRenderingState_GET(USceneCaptureComponent* Ptr) { return Ptr->bAlwaysPersistRenderingState; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent_bAlwaysPersistRenderingState_SET(USceneCaptureComponent* Ptr, bool Value) { Ptr->bAlwaysPersistRenderingState = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent_bCaptureEveryFrame_GET(USceneCaptureComponent* Ptr) { return Ptr->bCaptureEveryFrame; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent_bCaptureEveryFrame_SET(USceneCaptureComponent* Ptr, bool Value) { Ptr->bCaptureEveryFrame = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent_bCaptureOnMovement_GET(USceneCaptureComponent* Ptr) { return Ptr->bCaptureOnMovement; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent_bCaptureOnMovement_SET(USceneCaptureComponent* Ptr, bool Value) { Ptr->bCaptureOnMovement = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent_CaptureSortPriority_GET(USceneCaptureComponent* Ptr) { return Ptr->CaptureSortPriority; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent_CaptureSortPriority_SET(USceneCaptureComponent* Ptr, int32 Value) { Ptr->CaptureSortPriority = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent_LODDistanceFactor_GET(USceneCaptureComponent* Ptr) { return Ptr->LODDistanceFactor; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent_LODDistanceFactor_SET(USceneCaptureComponent* Ptr, float Value) { Ptr->LODDistanceFactor = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent_MaxViewDistanceOverride_GET(USceneCaptureComponent* Ptr) { return Ptr->MaxViewDistanceOverride; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent_MaxViewDistanceOverride_SET(USceneCaptureComponent* Ptr, float Value) { Ptr->MaxViewDistanceOverride = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent_PrimitiveRenderMode_GET(USceneCaptureComponent* Ptr) { return Ptr->PrimitiveRenderMode; }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent_PrimitiveRenderMode_SET(USceneCaptureComponent* Ptr, ESceneCapturePrimitiveRenderMode Value) { Ptr->PrimitiveRenderMode = Value; }
DOTNET_EXPORT auto E_PROP_USceneCaptureComponent_ProfilingEventName_GET(USceneCaptureComponent* Ptr) { return ConvertToManage_StringWrapper(Ptr->ProfilingEventName); }
DOTNET_EXPORT void E_PROP_USceneCaptureComponent_ProfilingEventName_SET(USceneCaptureComponent* Ptr, char* Value) { Ptr->ProfilingEventName = ConvertFromManage_FString(Value); }
DOTNET_EXPORT INT_PTR E_NewObject_USceneCaptureComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<USceneCaptureComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_USceneCaptureComponent_ClearHiddenComponents(USceneCaptureComponent* Self)
{
Self->ClearHiddenComponents();
}
DOTNET_EXPORT auto E_USceneCaptureComponent_ClearShowOnlyComponents(USceneCaptureComponent* Self)
{
Self->ClearShowOnlyComponents();
}
DOTNET_EXPORT auto E_USceneCaptureComponent_GetViewOwner(USceneCaptureComponent* Self)
{
return ConvertToManage_ObjectPointerDescription(Self->GetViewOwner());
}
DOTNET_EXPORT auto E_USceneCaptureComponent_HideActorComponents(USceneCaptureComponent* Self, AActor* InActor)
{
auto _p0 = InActor;
Self->HideActorComponents(_p0);
}
DOTNET_EXPORT auto E_USceneCaptureComponent_HideComponent(USceneCaptureComponent* Self, UPrimitiveComponent* InComponent)
{
auto _p0 = InComponent;
Self->HideComponent(_p0);
}
DOTNET_EXPORT auto E_USceneCaptureComponent_RemoveShowOnlyActorComponents(USceneCaptureComponent* Self, AActor* InActor)
{
auto _p0 = InActor;
Self->RemoveShowOnlyActorComponents(_p0);
}
DOTNET_EXPORT auto E_USceneCaptureComponent_RemoveShowOnlyComponent(USceneCaptureComponent* Self, UPrimitiveComponent* InComponent)
{
auto _p0 = InComponent;
Self->RemoveShowOnlyComponent(_p0);
}
DOTNET_EXPORT auto E_USceneCaptureComponent_SetCaptureSortPriority(USceneCaptureComponent* Self, int32 NewCaptureSortPriority)
{
auto _p0 = NewCaptureSortPriority;
Self->SetCaptureSortPriority(_p0);
}
DOTNET_EXPORT auto E_USceneCaptureComponent_ShowOnlyActorComponents(USceneCaptureComponent* Self, AActor* InActor)
{
auto _p0 = InActor;
Self->ShowOnlyActorComponents(_p0);
}
DOTNET_EXPORT auto E_USceneCaptureComponent_ShowOnlyComponent(USceneCaptureComponent* Self, UPrimitiveComponent* InComponent)
{
auto _p0 = InComponent;
Self->ShowOnlyComponent(_p0);
}
DOTNET_EXPORT auto E_USceneCaptureComponent_UpdateShowFlags(USceneCaptureComponent* Self)
{
((E_PROTECTED_WRAP_USceneCaptureComponent*)Self)->UpdateShowFlags_WRAP();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/URectLightComponent.h | <gh_stars>10-100
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageRectLightComponent.h"
#include "Runtime/Engine/Classes/Components/RectLightComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\RectLightComponent.h:20
extern "C"
{
DOTNET_EXPORT auto E_PROP_URectLightComponent_BarnDoorAngle_GET(URectLightComponent* Ptr) { return Ptr->BarnDoorAngle; }
DOTNET_EXPORT void E_PROP_URectLightComponent_BarnDoorAngle_SET(URectLightComponent* Ptr, float Value) { Ptr->BarnDoorAngle = Value; }
DOTNET_EXPORT auto E_PROP_URectLightComponent_BarnDoorLength_GET(URectLightComponent* Ptr) { return Ptr->BarnDoorLength; }
DOTNET_EXPORT void E_PROP_URectLightComponent_BarnDoorLength_SET(URectLightComponent* Ptr, float Value) { Ptr->BarnDoorLength = Value; }
DOTNET_EXPORT auto E_PROP_URectLightComponent_SourceHeight_GET(URectLightComponent* Ptr) { return Ptr->SourceHeight; }
DOTNET_EXPORT void E_PROP_URectLightComponent_SourceHeight_SET(URectLightComponent* Ptr, float Value) { Ptr->SourceHeight = Value; }
DOTNET_EXPORT auto E_PROP_URectLightComponent_SourceWidth_GET(URectLightComponent* Ptr) { return Ptr->SourceWidth; }
DOTNET_EXPORT void E_PROP_URectLightComponent_SourceWidth_SET(URectLightComponent* Ptr, float Value) { Ptr->SourceWidth = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_URectLightComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<URectLightComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_URectLightComponent_SetBarnDoorAngle(URectLightComponent* Self, float NewValue)
{
auto _p0 = NewValue;
Self->SetBarnDoorAngle(_p0);
}
DOTNET_EXPORT auto E_URectLightComponent_SetBarnDoorLength(URectLightComponent* Self, float NewValue)
{
auto _p0 = NewValue;
Self->SetBarnDoorLength(_p0);
}
DOTNET_EXPORT auto E_URectLightComponent_SetSourceHeight(URectLightComponent* Self, float NewValue)
{
auto _p0 = NewValue;
Self->SetSourceHeight(_p0);
}
DOTNET_EXPORT auto E_URectLightComponent_SetSourceWidth(URectLightComponent* Self, float bNewValue)
{
auto _p0 = bNewValue;
Self->SetSourceWidth(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_UpdateLightGUIDs(ULightComponentBase* Self)
{
((UManageRectLightComponent*)Self)->_Supper__UpdateLightGUIDs();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageRectLightComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_UpdateBounds(USceneComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageRectLightComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageRectLightComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_BeginPlay(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_Deactivate(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageRectLightComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_InitializeComponent(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageRectLightComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageRectLightComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnRegister(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnUnregister(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageRectLightComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageRectLightComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageRectLightComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageRectLightComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageRectLightComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_ToggleActive(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageRectLightComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_BeginDestroy(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_FinishDestroy(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PostCDOContruct(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PostEditImport(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PostInitProperties(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PostLoad(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PostNetReceive(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PostRepNotifies(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageRectLightComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_PreNetReceive(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_ShutdownAfterError(UObject* Self)
{
((UManageRectLightComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageRectLightComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__URectLightComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageRectLightComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UPawnAction_Move.h | <reponame>mrkriv/UnrealDotNet
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManagePawnAction_Move.h"
#include "Runtime/AIModule/Classes/Actions/PawnAction_Move.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\AIModule\Classes\Actions\PawnAction_Move.h:27
class E_PROTECTED_WRAP_UPawnAction_Move : protected UPawnAction_Move
{
public:
void ClearPath_WRAP()
{
ClearPath();
}
void ClearPendingRepath_WRAP()
{
ClearPendingRepath();
}
void ClearTimers_WRAP()
{
ClearTimers();
}
void DeferredPerformMoveAction_WRAP()
{
DeferredPerformMoveAction();
}
bool IsPartialPathAllowed_WRAP()
{
return IsPartialPathAllowed();
}
bool PerformMoveAction_WRAP()
{
return PerformMoveAction();
}
void TryToRepath_WRAP()
{
TryToRepath();
}
};
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UPawnAction_Move(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UPawnAction_Move>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UPawnAction_Move_CheckAlreadyAtGoal(UPawnAction_Move* Self, AAIController& Controller, INT_PTR TestLocation, float Radius)
{
auto& _p0 = Controller;
auto& _p1 = *(FVector*)TestLocation;
auto _p2 = Radius;
return Self->CheckAlreadyAtGoal(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_UPawnAction_Move_CheckAlreadyAtGoal_o1(UPawnAction_Move* Self, AAIController& Controller, AActor& TestGoal, float Radius)
{
auto& _p0 = Controller;
auto& _p1 = TestGoal;
auto _p2 = Radius;
return Self->CheckAlreadyAtGoal(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E_UPawnAction_Move_ClearPath(UPawnAction_Move* Self)
{
((E_PROTECTED_WRAP_UPawnAction_Move*)Self)->ClearPath_WRAP();
}
DOTNET_EXPORT auto E_UPawnAction_Move_ClearPendingRepath(UPawnAction_Move* Self)
{
((E_PROTECTED_WRAP_UPawnAction_Move*)Self)->ClearPendingRepath_WRAP();
}
DOTNET_EXPORT auto E_UPawnAction_Move_ClearTimers(UPawnAction_Move* Self)
{
((E_PROTECTED_WRAP_UPawnAction_Move*)Self)->ClearTimers_WRAP();
}
DOTNET_EXPORT auto E_UPawnAction_Move_DeferredPerformMoveAction(UPawnAction_Move* Self)
{
((E_PROTECTED_WRAP_UPawnAction_Move*)Self)->DeferredPerformMoveAction_WRAP();
}
DOTNET_EXPORT auto E_UPawnAction_Move_EnableChildAbortionOnPathUpdate(UPawnAction_Move* Self, bool bEnable)
{
auto _p0 = bEnable;
Self->EnableChildAbortionOnPathUpdate(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_Move_EnableGoalLocationProjectionToNavigation(UPawnAction_Move* Self, bool bEnable)
{
auto _p0 = bEnable;
Self->EnableGoalLocationProjectionToNavigation(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_Move_EnablePathUpdateOnMoveGoalLocationChange(UPawnAction_Move* Self, bool bEnable)
{
auto _p0 = bEnable;
Self->EnablePathUpdateOnMoveGoalLocationChange(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_Move_EnableStrafing(UPawnAction_Move* Self, bool bNewStrafing)
{
auto _p0 = bNewStrafing;
Self->EnableStrafing(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_Move_IsPartialPathAllowed(UPawnAction_Move* Self)
{
return ((E_PROTECTED_WRAP_UPawnAction_Move*)Self)->IsPartialPathAllowed_WRAP();
}
DOTNET_EXPORT auto E_UPawnAction_Move_PerformMoveAction(UPawnAction_Move* Self)
{
return ((E_PROTECTED_WRAP_UPawnAction_Move*)Self)->PerformMoveAction_WRAP();
}
DOTNET_EXPORT auto E_UPawnAction_Move_SetAcceptableRadius(UPawnAction_Move* Self, float NewAcceptableRadius)
{
auto _p0 = NewAcceptableRadius;
Self->SetAcceptableRadius(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_Move_SetAllowPartialPath(UPawnAction_Move* Self, bool bEnable)
{
auto _p0 = bEnable;
Self->SetAllowPartialPath(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_Move_SetFinishOnOverlap(UPawnAction_Move* Self, bool bNewFinishOnOverlap)
{
auto _p0 = bNewFinishOnOverlap;
Self->SetFinishOnOverlap(_p0);
}
DOTNET_EXPORT auto E_UPawnAction_Move_TryToRepath(UPawnAction_Move* Self)
{
((E_PROTECTED_WRAP_UPawnAction_Move*)Self)->TryToRepath_WRAP();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_Tick(UPawnAction* Self, float DeltaTime)
{
auto _p0 = DeltaTime;
((UManagePawnAction_Move*)Self)->_Supper__Tick(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_BeginDestroy(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_FinishDestroy(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PostCDOContruct(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PostEditImport(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PostInitProperties(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PostLoad(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PostNetReceive(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PostRepNotifies(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManagePawnAction_Move*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PreDestroyFromReplication(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_PreNetReceive(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_ShutdownAfterError(UObject* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_CreateCluster(UObjectBaseUtility* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UPawnAction_Move_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManagePawnAction_Move*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UPlayerInput.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManagePlayerInput.h"
#include "Runtime/Engine/Classes/GameFramework/PlayerInput.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\PlayerInput.h:270
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UPlayerInput(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UPlayerInput>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_BeginDestroy(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_FinishDestroy(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PostCDOContruct(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PostEditImport(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PostInitProperties(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PostLoad(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PostNetReceive(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PostRepNotifies(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManagePlayerInput*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PreDestroyFromReplication(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_PreNetReceive(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_ShutdownAfterError(UObject* Self)
{
((UManagePlayerInput*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_CreateCluster(UObjectBaseUtility* Self)
{
((UManagePlayerInput*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UPlayerInput_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManagePlayerInput*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UArrowComponent.h | <gh_stars>10-100
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageArrowComponent.h"
#include "Runtime/Engine/Classes/Components/ArrowComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\ArrowComponent.h:19
extern "C"
{
DOTNET_EXPORT auto E_PROP_UArrowComponent_ArrowSize_GET(UArrowComponent* Ptr) { return Ptr->ArrowSize; }
DOTNET_EXPORT void E_PROP_UArrowComponent_ArrowSize_SET(UArrowComponent* Ptr, float Value) { Ptr->ArrowSize = Value; }
DOTNET_EXPORT auto E_PROP_UArrowComponent_bIsScreenSizeScaled_GET(UArrowComponent* Ptr) { return Ptr->bIsScreenSizeScaled; }
DOTNET_EXPORT void E_PROP_UArrowComponent_bIsScreenSizeScaled_SET(UArrowComponent* Ptr, bool Value) { Ptr->bIsScreenSizeScaled = Value; }
DOTNET_EXPORT auto E_PROP_UArrowComponent_ScreenSize_GET(UArrowComponent* Ptr) { return Ptr->ScreenSize; }
DOTNET_EXPORT void E_PROP_UArrowComponent_ScreenSize_SET(UArrowComponent* Ptr, float Value) { Ptr->ScreenSize = Value; }
DOTNET_EXPORT INT_PTR E_NewObject_UArrowComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UArrowComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UArrowComponent_SetArrowColor(UArrowComponent* Self, INT_PTR NewColor)
{
auto _p0 = *(FLinearColor*)NewColor;
Self->SetArrowColor(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnComponentCollisionSettingsChanged(UPrimitiveComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnComponentCollisionSettingsChanged();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PutAllRigidBodiesToSleep(UPrimitiveComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__PutAllRigidBodiesToSleep();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetAllMassScale(UPrimitiveComponent* Self, float InMassScale)
{
auto _p0 = InMassScale;
((UManageArrowComponent*)Self)->_Supper__SetAllMassScale(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetAllUseCCD(UPrimitiveComponent* Self, bool InUseCCD)
{
auto _p0 = InUseCCD;
((UManageArrowComponent*)Self)->_Supper__SetAllUseCCD(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetAngularDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageArrowComponent*)Self)->_Supper__SetAngularDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetEnableGravity(UPrimitiveComponent* Self, bool bGravityEnabled)
{
auto _p0 = bGravityEnabled;
((UManageArrowComponent*)Self)->_Supper__SetEnableGravity(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetLinearDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageArrowComponent*)Self)->_Supper__SetLinearDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetNotifyRigidBodyCollision(UPrimitiveComponent* Self, bool bNewNotifyRigidBodyCollision)
{
auto _p0 = bNewNotifyRigidBodyCollision;
((UManageArrowComponent*)Self)->_Supper__SetNotifyRigidBodyCollision(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetSimulatePhysics(UPrimitiveComponent* Self, bool bSimulate)
{
auto _p0 = bSimulate;
((UManageArrowComponent*)Self)->_Supper__SetSimulatePhysics(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_UnWeldChildren(UPrimitiveComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__UnWeldChildren();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_UnWeldFromParent(UPrimitiveComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__UnWeldFromParent();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_UpdatePhysicsToRBChannels(UPrimitiveComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__UpdatePhysicsToRBChannels();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_WakeAllRigidBodies(UPrimitiveComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__WakeAllRigidBodies();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageArrowComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_UpdateBounds(USceneComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageArrowComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageArrowComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_BeginPlay(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_Deactivate(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageArrowComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_InitializeComponent(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageArrowComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageArrowComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnRegister(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnUnregister(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageArrowComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageArrowComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageArrowComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageArrowComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageArrowComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_ToggleActive(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageArrowComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_BeginDestroy(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_FinishDestroy(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PostCDOContruct(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PostEditImport(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PostInitProperties(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PostLoad(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PostNetReceive(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PostRepNotifies(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageArrowComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_PreNetReceive(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_ShutdownAfterError(UObject* Self)
{
((UManageArrowComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageArrowComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UArrowComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageArrowComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/UCapsuleComponent.h | <reponame>mrkriv/UnrealDotNet
#pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Generate/Manage/ManageCapsuleComponent.h"
#include "Runtime/Engine/Classes/Components/CapsuleComponent.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\Components\CapsuleComponent.h:16
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_UCapsuleComponent(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<UCapsuleComponent>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetScaledCapsuleHalfHeight(UCapsuleComponent* Self)
{
return Self->GetScaledCapsuleHalfHeight();
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetScaledCapsuleHalfHeight_WithoutHemisphere(UCapsuleComponent* Self)
{
return Self->GetScaledCapsuleHalfHeight_WithoutHemisphere();
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetScaledCapsuleRadius(UCapsuleComponent* Self)
{
return Self->GetScaledCapsuleRadius();
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetScaledCapsuleSize(UCapsuleComponent* Self, float OutRadius, float OutHalfHeight)
{
auto& _p0 = OutRadius;
auto& _p1 = OutHalfHeight;
Self->GetScaledCapsuleSize(_p0, _p1);
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetScaledCapsuleSize_WithoutHemisphere(UCapsuleComponent* Self, float OutRadius, float OutHalfHeightWithoutHemisphere)
{
auto& _p0 = OutRadius;
auto& _p1 = OutHalfHeightWithoutHemisphere;
Self->GetScaledCapsuleSize_WithoutHemisphere(_p0, _p1);
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetShapeScale(UCapsuleComponent* Self)
{
return Self->GetShapeScale();
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetUnscaledCapsuleHalfHeight(UCapsuleComponent* Self)
{
return Self->GetUnscaledCapsuleHalfHeight();
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetUnscaledCapsuleHalfHeight_WithoutHemisphere(UCapsuleComponent* Self)
{
return Self->GetUnscaledCapsuleHalfHeight_WithoutHemisphere();
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetUnscaledCapsuleRadius(UCapsuleComponent* Self)
{
return Self->GetUnscaledCapsuleRadius();
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetUnscaledCapsuleSize(UCapsuleComponent* Self, float OutRadius, float OutHalfHeight)
{
auto& _p0 = OutRadius;
auto& _p1 = OutHalfHeight;
Self->GetUnscaledCapsuleSize(_p0, _p1);
}
DOTNET_EXPORT auto E_UCapsuleComponent_GetUnscaledCapsuleSize_WithoutHemisphere(UCapsuleComponent* Self, float OutRadius, float OutHalfHeightWithoutHemisphere)
{
auto& _p0 = OutRadius;
auto& _p1 = OutHalfHeightWithoutHemisphere;
Self->GetUnscaledCapsuleSize_WithoutHemisphere(_p0, _p1);
}
DOTNET_EXPORT auto E_UCapsuleComponent_InitCapsuleSize(UCapsuleComponent* Self, float InRadius, float InHalfHeight)
{
auto _p0 = InRadius;
auto _p1 = InHalfHeight;
Self->InitCapsuleSize(_p0, _p1);
}
DOTNET_EXPORT auto E_UCapsuleComponent_SetCapsuleHalfHeight(UCapsuleComponent* Self, float HalfHeight, bool bUpdateOverlaps)
{
auto _p0 = HalfHeight;
auto _p1 = bUpdateOverlaps;
Self->SetCapsuleHalfHeight(_p0, _p1);
}
DOTNET_EXPORT auto E_UCapsuleComponent_SetCapsuleRadius(UCapsuleComponent* Self, float Radius, bool bUpdateOverlaps)
{
auto _p0 = Radius;
auto _p1 = bUpdateOverlaps;
Self->SetCapsuleRadius(_p0, _p1);
}
DOTNET_EXPORT auto E_UCapsuleComponent_SetCapsuleSize(UCapsuleComponent* Self, float InRadius, float InHalfHeight, bool bUpdateOverlaps)
{
auto _p0 = InRadius;
auto _p1 = InHalfHeight;
auto _p2 = bUpdateOverlaps;
Self->SetCapsuleSize(_p0, _p1, _p2);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_UpdateBodySetup(UShapeComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__UpdateBodySetup();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnComponentCollisionSettingsChanged(UPrimitiveComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnComponentCollisionSettingsChanged();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PutAllRigidBodiesToSleep(UPrimitiveComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PutAllRigidBodiesToSleep();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetAllMassScale(UPrimitiveComponent* Self, float InMassScale)
{
auto _p0 = InMassScale;
((UManageCapsuleComponent*)Self)->_Supper__SetAllMassScale(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetAllUseCCD(UPrimitiveComponent* Self, bool InUseCCD)
{
auto _p0 = InUseCCD;
((UManageCapsuleComponent*)Self)->_Supper__SetAllUseCCD(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetAngularDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageCapsuleComponent*)Self)->_Supper__SetAngularDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetEnableGravity(UPrimitiveComponent* Self, bool bGravityEnabled)
{
auto _p0 = bGravityEnabled;
((UManageCapsuleComponent*)Self)->_Supper__SetEnableGravity(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetLinearDamping(UPrimitiveComponent* Self, float InDamping)
{
auto _p0 = InDamping;
((UManageCapsuleComponent*)Self)->_Supper__SetLinearDamping(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetNotifyRigidBodyCollision(UPrimitiveComponent* Self, bool bNewNotifyRigidBodyCollision)
{
auto _p0 = bNewNotifyRigidBodyCollision;
((UManageCapsuleComponent*)Self)->_Supper__SetNotifyRigidBodyCollision(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetSimulatePhysics(UPrimitiveComponent* Self, bool bSimulate)
{
auto _p0 = bSimulate;
((UManageCapsuleComponent*)Self)->_Supper__SetSimulatePhysics(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_UnWeldChildren(UPrimitiveComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__UnWeldChildren();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_UnWeldFromParent(UPrimitiveComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__UnWeldFromParent();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_UpdatePhysicsToRBChannels(UPrimitiveComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__UpdatePhysicsToRBChannels();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_WakeAllRigidBodies(UPrimitiveComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__WakeAllRigidBodies();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_DetachFromParent(USceneComponent* Self, bool bMaintainWorldPosition, bool bCallModify)
{
auto _p0 = bMaintainWorldPosition;
auto _p1 = bCallModify;
((UManageCapsuleComponent*)Self)->_Supper__DetachFromParent(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnAttachmentChanged(USceneComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnAttachmentChanged();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnHiddenInGameChanged(USceneComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnHiddenInGameChanged();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnVisibilityChanged(USceneComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnVisibilityChanged();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PropagateLightingScenarioChange(USceneComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PropagateLightingScenarioChange();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_UpdateBounds(USceneComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__UpdateBounds();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_UpdatePhysicsVolume(USceneComponent* Self, bool bTriggerNotifiers)
{
auto _p0 = bTriggerNotifiers;
((UManageCapsuleComponent*)Self)->_Supper__UpdatePhysicsVolume(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_Activate(UActorComponent* Self, bool bReset)
{
auto _p0 = bReset;
((UManageCapsuleComponent*)Self)->_Supper__Activate(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_BeginPlay(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__BeginPlay();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_CreateRenderState_Concurrent(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__CreateRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_Deactivate(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__Deactivate();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_DestroyComponent(UActorComponent* Self, bool bPromoteChildren)
{
auto _p0 = bPromoteChildren;
((UManageCapsuleComponent*)Self)->_Supper__DestroyComponent(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_DestroyRenderState_Concurrent(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__DestroyRenderState_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_InitializeComponent(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__InitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_InvalidateLightingCacheDetailed(UActorComponent* Self, bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
{
auto _p0 = bInvalidateBuildEnqueuedLighting;
auto _p1 = bTranslationOnly;
((UManageCapsuleComponent*)Self)->_Supper__InvalidateLightingCacheDetailed(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnActorEnableCollisionChanged(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnActorEnableCollisionChanged();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnComponentCreated(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnComponentCreated();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnComponentDestroyed(UActorComponent* Self, bool bDestroyingHierarchy)
{
auto _p0 = bDestroyingHierarchy;
((UManageCapsuleComponent*)Self)->_Supper__OnComponentDestroyed(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnCreatePhysicsState(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnCreatePhysicsState();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnDestroyPhysicsState(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnDestroyPhysicsState();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnRegister(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnRegister();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnRep_IsActive(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnRep_IsActive();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnUnregister(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnUnregister();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_RegisterComponentTickFunctions(UActorComponent* Self, bool bRegister)
{
auto _p0 = bRegister;
((UManageCapsuleComponent*)Self)->_Supper__RegisterComponentTickFunctions(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SendRenderDynamicData_Concurrent(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__SendRenderDynamicData_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SendRenderTransform_Concurrent(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__SendRenderTransform_Concurrent();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetActive(UActorComponent* Self, bool bNewActive, bool bReset)
{
auto _p0 = bNewActive;
auto _p1 = bReset;
((UManageCapsuleComponent*)Self)->_Supper__SetActive(_p0, _p1);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetAutoActivate(UActorComponent* Self, bool bNewAutoActivate)
{
auto _p0 = bNewAutoActivate;
((UManageCapsuleComponent*)Self)->_Supper__SetAutoActivate(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetComponentTickEnabled(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageCapsuleComponent*)Self)->_Supper__SetComponentTickEnabled(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_SetComponentTickEnabledAsync(UActorComponent* Self, bool bEnabled)
{
auto _p0 = bEnabled;
((UManageCapsuleComponent*)Self)->_Supper__SetComponentTickEnabledAsync(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_ToggleActive(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__ToggleActive();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_UninitializeComponent(UActorComponent* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__UninitializeComponent();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_BeginDestroy(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__BeginDestroy();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_FinishDestroy(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__FinishDestroy();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_MarkAsEditorOnlySubobject(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__MarkAsEditorOnlySubobject();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PostCDOContruct(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PostCDOContruct();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PostEditImport(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PostEditImport();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PostInitProperties(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PostInitProperties();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PostLoad(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PostLoad();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PostNetReceive(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PostNetReceive();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PostRepNotifies(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PostRepNotifies();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PostSaveRoot(UObject* Self, bool bCleanupIsRequired)
{
auto _p0 = bCleanupIsRequired;
((UManageCapsuleComponent*)Self)->_Supper__PostSaveRoot(_p0);
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PreDestroyFromReplication(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PreDestroyFromReplication();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_PreNetReceive(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__PreNetReceive();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_ShutdownAfterError(UObject* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__ShutdownAfterError();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_CreateCluster(UObjectBaseUtility* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__CreateCluster();
}
DOTNET_EXPORT auto E__Supper__UCapsuleComponent_OnClusterMarkedAsPendingKill(UObjectBaseUtility* Self)
{
((UManageCapsuleComponent*)Self)->_Supper__OnClusterMarkedAsPendingKill();
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
mrkriv/UnrealDotNet | Plugins/UnrealDotNet/Source/UnrealDotNetRuntime/Public/Generate/Export/AInfo.h | #pragma once
// This file was created automatically, do not modify the contents of this file.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#include "CoreMinimal.h"
#include "ManageEventSender.h"
#include "Runtime/Engine/Classes/GameFramework/Info.h"
// Source file C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\Info.h:20
extern "C"
{
DOTNET_EXPORT INT_PTR E_NewObject_AInfo(UObject* Parent, char* Name)
{
return (INT_PTR)NewObject<AInfo>(Parent, FName(UTF8_TO_TCHAR(Name)));
}
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/networkserver/networkserver.pb-c.c | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/networkserver/networkserver.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/networkserver/networkserver.pb-c.h"
void networkserver__devices_request__init
(Networkserver__DevicesRequest *message)
{
static const Networkserver__DevicesRequest init_value = NETWORKSERVER__DEVICES_REQUEST__INIT;
*message = init_value;
}
size_t networkserver__devices_request__get_packed_size
(const Networkserver__DevicesRequest *message)
{
assert(message->base.descriptor == &networkserver__devices_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t networkserver__devices_request__pack
(const Networkserver__DevicesRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &networkserver__devices_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t networkserver__devices_request__pack_to_buffer
(const Networkserver__DevicesRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &networkserver__devices_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Networkserver__DevicesRequest *
networkserver__devices_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Networkserver__DevicesRequest *)
protobuf_c_message_unpack (&networkserver__devices_request__descriptor,
allocator, len, data);
}
void networkserver__devices_request__free_unpacked
(Networkserver__DevicesRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &networkserver__devices_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void networkserver__devices_response__init
(Networkserver__DevicesResponse *message)
{
static const Networkserver__DevicesResponse init_value = NETWORKSERVER__DEVICES_RESPONSE__INIT;
*message = init_value;
}
size_t networkserver__devices_response__get_packed_size
(const Networkserver__DevicesResponse *message)
{
assert(message->base.descriptor == &networkserver__devices_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t networkserver__devices_response__pack
(const Networkserver__DevicesResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &networkserver__devices_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t networkserver__devices_response__pack_to_buffer
(const Networkserver__DevicesResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &networkserver__devices_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Networkserver__DevicesResponse *
networkserver__devices_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Networkserver__DevicesResponse *)
protobuf_c_message_unpack (&networkserver__devices_response__descriptor,
allocator, len, data);
}
void networkserver__devices_response__free_unpacked
(Networkserver__DevicesResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &networkserver__devices_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void networkserver__status_request__init
(Networkserver__StatusRequest *message)
{
static const Networkserver__StatusRequest init_value = NETWORKSERVER__STATUS_REQUEST__INIT;
*message = init_value;
}
size_t networkserver__status_request__get_packed_size
(const Networkserver__StatusRequest *message)
{
assert(message->base.descriptor == &networkserver__status_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t networkserver__status_request__pack
(const Networkserver__StatusRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &networkserver__status_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t networkserver__status_request__pack_to_buffer
(const Networkserver__StatusRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &networkserver__status_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Networkserver__StatusRequest *
networkserver__status_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Networkserver__StatusRequest *)
protobuf_c_message_unpack (&networkserver__status_request__descriptor,
allocator, len, data);
}
void networkserver__status_request__free_unpacked
(Networkserver__StatusRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &networkserver__status_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void networkserver__status__init
(Networkserver__Status *message)
{
static const Networkserver__Status init_value = NETWORKSERVER__STATUS__INIT;
*message = init_value;
}
size_t networkserver__status__get_packed_size
(const Networkserver__Status *message)
{
assert(message->base.descriptor == &networkserver__status__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t networkserver__status__pack
(const Networkserver__Status *message,
uint8_t *out)
{
assert(message->base.descriptor == &networkserver__status__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t networkserver__status__pack_to_buffer
(const Networkserver__Status *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &networkserver__status__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Networkserver__Status *
networkserver__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Networkserver__Status *)
protobuf_c_message_unpack (&networkserver__status__descriptor,
allocator, len, data);
}
void networkserver__status__free_unpacked
(Networkserver__Status *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &networkserver__status__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor networkserver__devices_request__field_descriptors[2] =
{
{
"dev_addr",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Networkserver__DevicesRequest, dev_addr),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"f_cnt",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Networkserver__DevicesRequest, f_cnt),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned networkserver__devices_request__field_indices_by_name[] = {
0, /* field[0] = dev_addr */
1, /* field[1] = f_cnt */
};
static const ProtobufCIntRange networkserver__devices_request__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor networkserver__devices_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"networkserver.DevicesRequest",
"DevicesRequest",
"Networkserver__DevicesRequest",
"networkserver",
sizeof(Networkserver__DevicesRequest),
2,
networkserver__devices_request__field_descriptors,
networkserver__devices_request__field_indices_by_name,
1, networkserver__devices_request__number_ranges,
(ProtobufCMessageInit) networkserver__devices_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor networkserver__devices_response__field_descriptors[1] =
{
{
"results",
1,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Networkserver__DevicesResponse, n_results),
offsetof(Networkserver__DevicesResponse, results),
&lorawan__device__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned networkserver__devices_response__field_indices_by_name[] = {
0, /* field[0] = results */
};
static const ProtobufCIntRange networkserver__devices_response__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor networkserver__devices_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"networkserver.DevicesResponse",
"DevicesResponse",
"Networkserver__DevicesResponse",
"networkserver",
sizeof(Networkserver__DevicesResponse),
1,
networkserver__devices_response__field_descriptors,
networkserver__devices_response__field_indices_by_name,
1, networkserver__devices_response__number_ranges,
(ProtobufCMessageInit) networkserver__devices_response__init,
NULL,NULL,NULL /* reserved[123] */
};
#define networkserver__status_request__field_descriptors NULL
#define networkserver__status_request__field_indices_by_name NULL
#define networkserver__status_request__number_ranges NULL
const ProtobufCMessageDescriptor networkserver__status_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"networkserver.StatusRequest",
"StatusRequest",
"Networkserver__StatusRequest",
"networkserver",
sizeof(Networkserver__StatusRequest),
0,
networkserver__status_request__field_descriptors,
networkserver__status_request__field_indices_by_name,
0, networkserver__status_request__number_ranges,
(ProtobufCMessageInit) networkserver__status_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor networkserver__status__field_descriptors[6] =
{
{
"system",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Networkserver__Status, system),
&api__system_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"component",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Networkserver__Status, component),
&api__component_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"uplink",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Networkserver__Status, uplink),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Networkserver__Status, downlink),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activations",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Networkserver__Status, activations),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"devices_per_address",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Networkserver__Status, devices_per_address),
&api__percentiles__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned networkserver__status__field_indices_by_name[] = {
4, /* field[4] = activations */
1, /* field[1] = component */
5, /* field[5] = devices_per_address */
3, /* field[3] = downlink */
0, /* field[0] = system */
2, /* field[2] = uplink */
};
static const ProtobufCIntRange networkserver__status__number_ranges[3 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 5 },
{ 0, 6 }
};
const ProtobufCMessageDescriptor networkserver__status__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"networkserver.Status",
"Status",
"Networkserver__Status",
"networkserver",
sizeof(Networkserver__Status),
6,
networkserver__status__field_descriptors,
networkserver__status__field_indices_by_name,
3, networkserver__status__number_ranges,
(ProtobufCMessageInit) networkserver__status__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCMethodDescriptor networkserver__network_server__method_descriptors[5] =
{
{ "GetDevices", &networkserver__devices_request__descriptor, &networkserver__devices_response__descriptor },
{ "PrepareActivation", &broker__deduplicated_device_activation_request__descriptor, &broker__deduplicated_device_activation_request__descriptor },
{ "Activate", &handler__device_activation_response__descriptor, &handler__device_activation_response__descriptor },
{ "Uplink", &broker__deduplicated_uplink_message__descriptor, &broker__deduplicated_uplink_message__descriptor },
{ "Downlink", &broker__downlink_message__descriptor, &broker__downlink_message__descriptor },
};
const unsigned networkserver__network_server__method_indices_by_name[] = {
2, /* Activate */
4, /* Downlink */
0, /* GetDevices */
1, /* PrepareActivation */
3 /* Uplink */
};
const ProtobufCServiceDescriptor networkserver__network_server__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"networkserver.NetworkServer",
"NetworkServer",
"Networkserver__NetworkServer",
"networkserver",
5,
networkserver__network_server__method_descriptors,
networkserver__network_server__method_indices_by_name
};
void networkserver__network_server__get_devices(ProtobufCService *service,
const Networkserver__DevicesRequest *input,
Networkserver__DevicesResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &networkserver__network_server__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void networkserver__network_server__prepare_activation(ProtobufCService *service,
const Broker__DeduplicatedDeviceActivationRequest *input,
Broker__DeduplicatedDeviceActivationRequest_Closure closure,
void *closure_data)
{
assert(service->descriptor == &networkserver__network_server__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void networkserver__network_server__activate(ProtobufCService *service,
const Handler__DeviceActivationResponse *input,
Handler__DeviceActivationResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &networkserver__network_server__descriptor);
service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void networkserver__network_server__uplink(ProtobufCService *service,
const Broker__DeduplicatedUplinkMessage *input,
Broker__DeduplicatedUplinkMessage_Closure closure,
void *closure_data)
{
assert(service->descriptor == &networkserver__network_server__descriptor);
service->invoke(service, 3, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void networkserver__network_server__downlink(ProtobufCService *service,
const Broker__DownlinkMessage *input,
Broker__DownlinkMessage_Closure closure,
void *closure_data)
{
assert(service->descriptor == &networkserver__network_server__descriptor);
service->invoke(service, 4, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void networkserver__network_server__init (Networkserver__NetworkServer_Service *service,
Networkserver__NetworkServer_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&networkserver__network_server__descriptor,
(ProtobufCServiceDestroy) destroy);
}
static const ProtobufCMethodDescriptor networkserver__network_server_manager__method_descriptors[1] =
{
{ "GetStatus", &networkserver__status_request__descriptor, &networkserver__status__descriptor },
};
const unsigned networkserver__network_server_manager__method_indices_by_name[] = {
0 /* GetStatus */
};
const ProtobufCServiceDescriptor networkserver__network_server_manager__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"networkserver.NetworkServerManager",
"NetworkServerManager",
"Networkserver__NetworkServerManager",
"networkserver",
1,
networkserver__network_server_manager__method_descriptors,
networkserver__network_server_manager__method_indices_by_name
};
void networkserver__network_server_manager__get_status(ProtobufCService *service,
const Networkserver__StatusRequest *input,
Networkserver__Status_Closure closure,
void *closure_data)
{
assert(service->descriptor == &networkserver__network_server_manager__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void networkserver__network_server_manager__init (Networkserver__NetworkServerManager_Service *service,
Networkserver__NetworkServerManager_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&networkserver__network_server_manager__descriptor,
(ProtobufCServiceDestroy) destroy);
}
|
LukasHabring/api | c/google/api/annotations.pb-c.c | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api/annotations.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api/annotations.pb-c.h"
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/handler/handler.pb-c.h | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/handler/handler.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fhandler_2fhandler_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fhandler_2fhandler_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "google/protobuf/empty.pb-c.h"
#include "google/api/annotations.pb-c.h"
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
#include "github.com/TheThingsNetwork/api/api.pb-c.h"
#include "github.com/TheThingsNetwork/api/broker/broker.pb-c.h"
#include "github.com/TheThingsNetwork/api/protocol/protocol.pb-c.h"
#include "github.com/TheThingsNetwork/api/protocol/lorawan/device.pb-c.h"
#include "github.com/TheThingsNetwork/api/trace/trace.pb-c.h"
typedef struct _Handler__DeviceActivationResponse Handler__DeviceActivationResponse;
typedef struct _Handler__StatusRequest Handler__StatusRequest;
typedef struct _Handler__Status Handler__Status;
typedef struct _Handler__ApplicationIdentifier Handler__ApplicationIdentifier;
typedef struct _Handler__Application Handler__Application;
typedef struct _Handler__DeviceIdentifier Handler__DeviceIdentifier;
typedef struct _Handler__Device Handler__Device;
typedef struct _Handler__Device__AttributesEntry Handler__Device__AttributesEntry;
typedef struct _Handler__DeviceList Handler__DeviceList;
typedef struct _Handler__DryDownlinkMessage Handler__DryDownlinkMessage;
typedef struct _Handler__DryUplinkMessage Handler__DryUplinkMessage;
typedef struct _Handler__SimulatedUplinkMessage Handler__SimulatedUplinkMessage;
typedef struct _Handler__LogEntry Handler__LogEntry;
typedef struct _Handler__DryUplinkResult Handler__DryUplinkResult;
typedef struct _Handler__DryDownlinkResult Handler__DryDownlinkResult;
/* --- enums --- */
/* --- messages --- */
struct _Handler__DeviceActivationResponse
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
Broker__DownlinkOption *downlink_option;
Protocol__ActivationMetadata *activation_metadata;
Trace__Trace *trace;
};
#define HANDLER__DEVICE_ACTIVATION_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__device_activation_response__descriptor) \
, {0,NULL}, NULL, NULL, NULL, NULL }
/*
* message StatusRequest is used to request the status of this Handler
*/
struct _Handler__StatusRequest
{
ProtobufCMessage base;
};
#define HANDLER__STATUS_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__status_request__descriptor) \
}
/*
* message Status is the response to the StatusRequest
*/
struct _Handler__Status
{
ProtobufCMessage base;
Api__SystemStats *system;
Api__ComponentStats *component;
Api__Rates *uplink;
Api__Rates *downlink;
Api__Rates *activations;
};
#define HANDLER__STATUS__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__status__descriptor) \
, NULL, NULL, NULL, NULL, NULL }
struct _Handler__ApplicationIdentifier
{
ProtobufCMessage base;
char *app_id;
};
#define HANDLER__APPLICATION_IDENTIFIER__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__application_identifier__descriptor) \
, (char *)protobuf_c_empty_string }
/*
* The Application settings
*/
struct _Handler__Application
{
ProtobufCMessage base;
char *app_id;
/*
* The payload format indicates how payload is formatted.
*/
char *payload_format;
/*
* The decoder is a JavaScript function that decodes a byte array to an object.
* This function is used when the payload format is set to custom.
*/
char *decoder;
/*
* The converter is a JavaScript function that can be used to convert values
* in the object returned from the decoder. This can for example be useful to
* convert a voltage to a temperature. This function is used when the payload format is set to custom.
*/
char *converter;
/*
* The validator is a JavaScript function that checks the validity of the
* object returned by the decoder or converter. If validation fails, the
* message is dropped. This function is used when the payload format is set to custom.
*/
char *validator;
/*
* The encoder is a JavaScript function that encodes an object to a byte array.
* This function is used when the payload format is set to custom.
*/
char *encoder;
/*
* The "register on join" access key should only be set if devices need to be registered on join
*/
char *register_on_join_access_key;
};
#define HANDLER__APPLICATION__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__application__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
struct _Handler__DeviceIdentifier
{
ProtobufCMessage base;
char *app_id;
char *dev_id;
};
#define HANDLER__DEVICE_IDENTIFIER__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__device_identifier__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
struct _Handler__Device__AttributesEntry
{
ProtobufCMessage base;
char *key;
char *value;
};
#define HANDLER__DEVICE__ATTRIBUTES_ENTRY__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__device__attributes_entry__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
typedef enum {
HANDLER__DEVICE__DEVICE__NOT_SET = 0,
HANDLER__DEVICE__DEVICE_LORAWAN_DEVICE = 3
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(HANDLER__DEVICE__DEVICE)
} Handler__Device__DeviceCase;
/*
* The Device settings
*/
struct _Handler__Device
{
ProtobufCMessage base;
char *app_id;
char *dev_id;
float latitude;
float longitude;
int32_t altitude;
size_t n_attributes;
Handler__Device__AttributesEntry **attributes;
char *description;
Handler__Device__DeviceCase device_case;
union {
Lorawan__Device *lorawan_device;
};
};
#define HANDLER__DEVICE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__device__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0, 0, 0,NULL, (char *)protobuf_c_empty_string, HANDLER__DEVICE__DEVICE__NOT_SET, {0} }
struct _Handler__DeviceList
{
ProtobufCMessage base;
size_t n_devices;
Handler__Device **devices;
};
#define HANDLER__DEVICE_LIST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__device_list__descriptor) \
, 0,NULL }
/*
* DryDownlinkMessage is a simulated message to test downlink processing
*/
struct _Handler__DryDownlinkMessage
{
ProtobufCMessage base;
/*
* The binary payload to use
*/
ProtobufCBinaryData payload;
/*
* JSON-encoded object with fields to encode
*/
char *fields;
/*
* The Application containing the payload functions that should be executed
*/
Handler__Application *app;
/*
* The port number that should be passed to the payload function
*/
uint32_t port;
};
#define HANDLER__DRY_DOWNLINK_MESSAGE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__dry_downlink_message__descriptor) \
, {0,NULL}, (char *)protobuf_c_empty_string, NULL, 0 }
/*
* DryUplinkMessage is a simulated message to test uplink processing
*/
struct _Handler__DryUplinkMessage
{
ProtobufCMessage base;
/*
* The binary payload to use
*/
ProtobufCBinaryData payload;
/*
* The Application containing the payload functions that should be executed
*/
Handler__Application *app;
/*
* The port number that should be passed to the payload function
*/
uint32_t port;
};
#define HANDLER__DRY_UPLINK_MESSAGE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__dry_uplink_message__descriptor) \
, {0,NULL}, NULL, 0 }
/*
* SimulatedUplinkMessage is a simulated uplink message
*/
struct _Handler__SimulatedUplinkMessage
{
ProtobufCMessage base;
char *app_id;
char *dev_id;
/*
* The binary payload to use
*/
ProtobufCBinaryData payload;
/*
* The port number
*/
uint32_t port;
};
#define HANDLER__SIMULATED_UPLINK_MESSAGE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__simulated_uplink_message__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, {0,NULL}, 0 }
struct _Handler__LogEntry
{
ProtobufCMessage base;
/*
* The location where the log was created (what payload function)
*/
char *function;
/*
* A list of JSON-encoded fields that were logged
*/
size_t n_fields;
char **fields;
};
#define HANDLER__LOG_ENTRY__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__log_entry__descriptor) \
, (char *)protobuf_c_empty_string, 0,NULL }
/*
* DryUplinkResult is the result from an uplink simulation
*/
struct _Handler__DryUplinkResult
{
ProtobufCMessage base;
/*
* The binary payload
*/
ProtobufCBinaryData payload;
/*
* The decoded fields
*/
char *fields;
/*
* Was validation of the message successful
*/
protobuf_c_boolean valid;
/*
* Logs that have been generated while processing
*/
size_t n_logs;
Handler__LogEntry **logs;
};
#define HANDLER__DRY_UPLINK_RESULT__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__dry_uplink_result__descriptor) \
, {0,NULL}, (char *)protobuf_c_empty_string, 0, 0,NULL }
/*
* DryDownlinkResult is the result from a downlink simulation
*/
struct _Handler__DryDownlinkResult
{
ProtobufCMessage base;
/*
* The payload that was encoded
*/
ProtobufCBinaryData payload;
/*
* Logs that have been generated while processing
*/
size_t n_logs;
Handler__LogEntry **logs;
};
#define HANDLER__DRY_DOWNLINK_RESULT__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&handler__dry_downlink_result__descriptor) \
, {0,NULL}, 0,NULL }
/* Handler__DeviceActivationResponse methods */
void handler__device_activation_response__init
(Handler__DeviceActivationResponse *message);
size_t handler__device_activation_response__get_packed_size
(const Handler__DeviceActivationResponse *message);
size_t handler__device_activation_response__pack
(const Handler__DeviceActivationResponse *message,
uint8_t *out);
size_t handler__device_activation_response__pack_to_buffer
(const Handler__DeviceActivationResponse *message,
ProtobufCBuffer *buffer);
Handler__DeviceActivationResponse *
handler__device_activation_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__device_activation_response__free_unpacked
(Handler__DeviceActivationResponse *message,
ProtobufCAllocator *allocator);
/* Handler__StatusRequest methods */
void handler__status_request__init
(Handler__StatusRequest *message);
size_t handler__status_request__get_packed_size
(const Handler__StatusRequest *message);
size_t handler__status_request__pack
(const Handler__StatusRequest *message,
uint8_t *out);
size_t handler__status_request__pack_to_buffer
(const Handler__StatusRequest *message,
ProtobufCBuffer *buffer);
Handler__StatusRequest *
handler__status_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__status_request__free_unpacked
(Handler__StatusRequest *message,
ProtobufCAllocator *allocator);
/* Handler__Status methods */
void handler__status__init
(Handler__Status *message);
size_t handler__status__get_packed_size
(const Handler__Status *message);
size_t handler__status__pack
(const Handler__Status *message,
uint8_t *out);
size_t handler__status__pack_to_buffer
(const Handler__Status *message,
ProtobufCBuffer *buffer);
Handler__Status *
handler__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__status__free_unpacked
(Handler__Status *message,
ProtobufCAllocator *allocator);
/* Handler__ApplicationIdentifier methods */
void handler__application_identifier__init
(Handler__ApplicationIdentifier *message);
size_t handler__application_identifier__get_packed_size
(const Handler__ApplicationIdentifier *message);
size_t handler__application_identifier__pack
(const Handler__ApplicationIdentifier *message,
uint8_t *out);
size_t handler__application_identifier__pack_to_buffer
(const Handler__ApplicationIdentifier *message,
ProtobufCBuffer *buffer);
Handler__ApplicationIdentifier *
handler__application_identifier__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__application_identifier__free_unpacked
(Handler__ApplicationIdentifier *message,
ProtobufCAllocator *allocator);
/* Handler__Application methods */
void handler__application__init
(Handler__Application *message);
size_t handler__application__get_packed_size
(const Handler__Application *message);
size_t handler__application__pack
(const Handler__Application *message,
uint8_t *out);
size_t handler__application__pack_to_buffer
(const Handler__Application *message,
ProtobufCBuffer *buffer);
Handler__Application *
handler__application__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__application__free_unpacked
(Handler__Application *message,
ProtobufCAllocator *allocator);
/* Handler__DeviceIdentifier methods */
void handler__device_identifier__init
(Handler__DeviceIdentifier *message);
size_t handler__device_identifier__get_packed_size
(const Handler__DeviceIdentifier *message);
size_t handler__device_identifier__pack
(const Handler__DeviceIdentifier *message,
uint8_t *out);
size_t handler__device_identifier__pack_to_buffer
(const Handler__DeviceIdentifier *message,
ProtobufCBuffer *buffer);
Handler__DeviceIdentifier *
handler__device_identifier__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__device_identifier__free_unpacked
(Handler__DeviceIdentifier *message,
ProtobufCAllocator *allocator);
/* Handler__Device__AttributesEntry methods */
void handler__device__attributes_entry__init
(Handler__Device__AttributesEntry *message);
/* Handler__Device methods */
void handler__device__init
(Handler__Device *message);
size_t handler__device__get_packed_size
(const Handler__Device *message);
size_t handler__device__pack
(const Handler__Device *message,
uint8_t *out);
size_t handler__device__pack_to_buffer
(const Handler__Device *message,
ProtobufCBuffer *buffer);
Handler__Device *
handler__device__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__device__free_unpacked
(Handler__Device *message,
ProtobufCAllocator *allocator);
/* Handler__DeviceList methods */
void handler__device_list__init
(Handler__DeviceList *message);
size_t handler__device_list__get_packed_size
(const Handler__DeviceList *message);
size_t handler__device_list__pack
(const Handler__DeviceList *message,
uint8_t *out);
size_t handler__device_list__pack_to_buffer
(const Handler__DeviceList *message,
ProtobufCBuffer *buffer);
Handler__DeviceList *
handler__device_list__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__device_list__free_unpacked
(Handler__DeviceList *message,
ProtobufCAllocator *allocator);
/* Handler__DryDownlinkMessage methods */
void handler__dry_downlink_message__init
(Handler__DryDownlinkMessage *message);
size_t handler__dry_downlink_message__get_packed_size
(const Handler__DryDownlinkMessage *message);
size_t handler__dry_downlink_message__pack
(const Handler__DryDownlinkMessage *message,
uint8_t *out);
size_t handler__dry_downlink_message__pack_to_buffer
(const Handler__DryDownlinkMessage *message,
ProtobufCBuffer *buffer);
Handler__DryDownlinkMessage *
handler__dry_downlink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__dry_downlink_message__free_unpacked
(Handler__DryDownlinkMessage *message,
ProtobufCAllocator *allocator);
/* Handler__DryUplinkMessage methods */
void handler__dry_uplink_message__init
(Handler__DryUplinkMessage *message);
size_t handler__dry_uplink_message__get_packed_size
(const Handler__DryUplinkMessage *message);
size_t handler__dry_uplink_message__pack
(const Handler__DryUplinkMessage *message,
uint8_t *out);
size_t handler__dry_uplink_message__pack_to_buffer
(const Handler__DryUplinkMessage *message,
ProtobufCBuffer *buffer);
Handler__DryUplinkMessage *
handler__dry_uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__dry_uplink_message__free_unpacked
(Handler__DryUplinkMessage *message,
ProtobufCAllocator *allocator);
/* Handler__SimulatedUplinkMessage methods */
void handler__simulated_uplink_message__init
(Handler__SimulatedUplinkMessage *message);
size_t handler__simulated_uplink_message__get_packed_size
(const Handler__SimulatedUplinkMessage *message);
size_t handler__simulated_uplink_message__pack
(const Handler__SimulatedUplinkMessage *message,
uint8_t *out);
size_t handler__simulated_uplink_message__pack_to_buffer
(const Handler__SimulatedUplinkMessage *message,
ProtobufCBuffer *buffer);
Handler__SimulatedUplinkMessage *
handler__simulated_uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__simulated_uplink_message__free_unpacked
(Handler__SimulatedUplinkMessage *message,
ProtobufCAllocator *allocator);
/* Handler__LogEntry methods */
void handler__log_entry__init
(Handler__LogEntry *message);
size_t handler__log_entry__get_packed_size
(const Handler__LogEntry *message);
size_t handler__log_entry__pack
(const Handler__LogEntry *message,
uint8_t *out);
size_t handler__log_entry__pack_to_buffer
(const Handler__LogEntry *message,
ProtobufCBuffer *buffer);
Handler__LogEntry *
handler__log_entry__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__log_entry__free_unpacked
(Handler__LogEntry *message,
ProtobufCAllocator *allocator);
/* Handler__DryUplinkResult methods */
void handler__dry_uplink_result__init
(Handler__DryUplinkResult *message);
size_t handler__dry_uplink_result__get_packed_size
(const Handler__DryUplinkResult *message);
size_t handler__dry_uplink_result__pack
(const Handler__DryUplinkResult *message,
uint8_t *out);
size_t handler__dry_uplink_result__pack_to_buffer
(const Handler__DryUplinkResult *message,
ProtobufCBuffer *buffer);
Handler__DryUplinkResult *
handler__dry_uplink_result__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__dry_uplink_result__free_unpacked
(Handler__DryUplinkResult *message,
ProtobufCAllocator *allocator);
/* Handler__DryDownlinkResult methods */
void handler__dry_downlink_result__init
(Handler__DryDownlinkResult *message);
size_t handler__dry_downlink_result__get_packed_size
(const Handler__DryDownlinkResult *message);
size_t handler__dry_downlink_result__pack
(const Handler__DryDownlinkResult *message,
uint8_t *out);
size_t handler__dry_downlink_result__pack_to_buffer
(const Handler__DryDownlinkResult *message,
ProtobufCBuffer *buffer);
Handler__DryDownlinkResult *
handler__dry_downlink_result__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void handler__dry_downlink_result__free_unpacked
(Handler__DryDownlinkResult *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Handler__DeviceActivationResponse_Closure)
(const Handler__DeviceActivationResponse *message,
void *closure_data);
typedef void (*Handler__StatusRequest_Closure)
(const Handler__StatusRequest *message,
void *closure_data);
typedef void (*Handler__Status_Closure)
(const Handler__Status *message,
void *closure_data);
typedef void (*Handler__ApplicationIdentifier_Closure)
(const Handler__ApplicationIdentifier *message,
void *closure_data);
typedef void (*Handler__Application_Closure)
(const Handler__Application *message,
void *closure_data);
typedef void (*Handler__DeviceIdentifier_Closure)
(const Handler__DeviceIdentifier *message,
void *closure_data);
typedef void (*Handler__Device__AttributesEntry_Closure)
(const Handler__Device__AttributesEntry *message,
void *closure_data);
typedef void (*Handler__Device_Closure)
(const Handler__Device *message,
void *closure_data);
typedef void (*Handler__DeviceList_Closure)
(const Handler__DeviceList *message,
void *closure_data);
typedef void (*Handler__DryDownlinkMessage_Closure)
(const Handler__DryDownlinkMessage *message,
void *closure_data);
typedef void (*Handler__DryUplinkMessage_Closure)
(const Handler__DryUplinkMessage *message,
void *closure_data);
typedef void (*Handler__SimulatedUplinkMessage_Closure)
(const Handler__SimulatedUplinkMessage *message,
void *closure_data);
typedef void (*Handler__LogEntry_Closure)
(const Handler__LogEntry *message,
void *closure_data);
typedef void (*Handler__DryUplinkResult_Closure)
(const Handler__DryUplinkResult *message,
void *closure_data);
typedef void (*Handler__DryDownlinkResult_Closure)
(const Handler__DryDownlinkResult *message,
void *closure_data);
/* --- services --- */
typedef struct _Handler__Handler_Service Handler__Handler_Service;
struct _Handler__Handler_Service
{
ProtobufCService base;
void (*activation_challenge)(Handler__Handler_Service *service,
const Broker__ActivationChallengeRequest *input,
Broker__ActivationChallengeResponse_Closure closure,
void *closure_data);
void (*activate)(Handler__Handler_Service *service,
const Broker__DeduplicatedDeviceActivationRequest *input,
Handler__DeviceActivationResponse_Closure closure,
void *closure_data);
};
typedef void (*Handler__Handler_ServiceDestroy)(Handler__Handler_Service *);
void handler__handler__init (Handler__Handler_Service *service,
Handler__Handler_ServiceDestroy destroy);
#define HANDLER__HANDLER__BASE_INIT \
{ &handler__handler__descriptor, protobuf_c_service_invoke_internal, NULL }
#define HANDLER__HANDLER__INIT(function_prefix__) \
{ HANDLER__HANDLER__BASE_INIT,\
function_prefix__ ## activation_challenge,\
function_prefix__ ## activate }
void handler__handler__activation_challenge(ProtobufCService *service,
const Broker__ActivationChallengeRequest *input,
Broker__ActivationChallengeResponse_Closure closure,
void *closure_data);
void handler__handler__activate(ProtobufCService *service,
const Broker__DeduplicatedDeviceActivationRequest *input,
Handler__DeviceActivationResponse_Closure closure,
void *closure_data);
typedef struct _Handler__ApplicationManager_Service Handler__ApplicationManager_Service;
struct _Handler__ApplicationManager_Service
{
ProtobufCService base;
void (*register_application)(Handler__ApplicationManager_Service *service,
const Handler__ApplicationIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*get_application)(Handler__ApplicationManager_Service *service,
const Handler__ApplicationIdentifier *input,
Handler__Application_Closure closure,
void *closure_data);
void (*set_application)(Handler__ApplicationManager_Service *service,
const Handler__Application *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*delete_application)(Handler__ApplicationManager_Service *service,
const Handler__ApplicationIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*get_device)(Handler__ApplicationManager_Service *service,
const Handler__DeviceIdentifier *input,
Handler__Device_Closure closure,
void *closure_data);
void (*set_device)(Handler__ApplicationManager_Service *service,
const Handler__Device *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*delete_device)(Handler__ApplicationManager_Service *service,
const Handler__DeviceIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*get_devices_for_application)(Handler__ApplicationManager_Service *service,
const Handler__ApplicationIdentifier *input,
Handler__DeviceList_Closure closure,
void *closure_data);
void (*dry_downlink)(Handler__ApplicationManager_Service *service,
const Handler__DryDownlinkMessage *input,
Handler__DryDownlinkResult_Closure closure,
void *closure_data);
void (*dry_uplink)(Handler__ApplicationManager_Service *service,
const Handler__DryUplinkMessage *input,
Handler__DryUplinkResult_Closure closure,
void *closure_data);
void (*simulate_uplink)(Handler__ApplicationManager_Service *service,
const Handler__SimulatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
};
typedef void (*Handler__ApplicationManager_ServiceDestroy)(Handler__ApplicationManager_Service *);
void handler__application_manager__init (Handler__ApplicationManager_Service *service,
Handler__ApplicationManager_ServiceDestroy destroy);
#define HANDLER__APPLICATION_MANAGER__BASE_INIT \
{ &handler__application_manager__descriptor, protobuf_c_service_invoke_internal, NULL }
#define HANDLER__APPLICATION_MANAGER__INIT(function_prefix__) \
{ HANDLER__APPLICATION_MANAGER__BASE_INIT,\
function_prefix__ ## register_application,\
function_prefix__ ## get_application,\
function_prefix__ ## set_application,\
function_prefix__ ## delete_application,\
function_prefix__ ## get_device,\
function_prefix__ ## set_device,\
function_prefix__ ## delete_device,\
function_prefix__ ## get_devices_for_application,\
function_prefix__ ## dry_downlink,\
function_prefix__ ## dry_uplink,\
function_prefix__ ## simulate_uplink }
void handler__application_manager__register_application(ProtobufCService *service,
const Handler__ApplicationIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void handler__application_manager__get_application(ProtobufCService *service,
const Handler__ApplicationIdentifier *input,
Handler__Application_Closure closure,
void *closure_data);
void handler__application_manager__set_application(ProtobufCService *service,
const Handler__Application *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void handler__application_manager__delete_application(ProtobufCService *service,
const Handler__ApplicationIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void handler__application_manager__get_device(ProtobufCService *service,
const Handler__DeviceIdentifier *input,
Handler__Device_Closure closure,
void *closure_data);
void handler__application_manager__set_device(ProtobufCService *service,
const Handler__Device *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void handler__application_manager__delete_device(ProtobufCService *service,
const Handler__DeviceIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void handler__application_manager__get_devices_for_application(ProtobufCService *service,
const Handler__ApplicationIdentifier *input,
Handler__DeviceList_Closure closure,
void *closure_data);
void handler__application_manager__dry_downlink(ProtobufCService *service,
const Handler__DryDownlinkMessage *input,
Handler__DryDownlinkResult_Closure closure,
void *closure_data);
void handler__application_manager__dry_uplink(ProtobufCService *service,
const Handler__DryUplinkMessage *input,
Handler__DryUplinkResult_Closure closure,
void *closure_data);
void handler__application_manager__simulate_uplink(ProtobufCService *service,
const Handler__SimulatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
typedef struct _Handler__HandlerManager_Service Handler__HandlerManager_Service;
struct _Handler__HandlerManager_Service
{
ProtobufCService base;
void (*get_status)(Handler__HandlerManager_Service *service,
const Handler__StatusRequest *input,
Handler__Status_Closure closure,
void *closure_data);
};
typedef void (*Handler__HandlerManager_ServiceDestroy)(Handler__HandlerManager_Service *);
void handler__handler_manager__init (Handler__HandlerManager_Service *service,
Handler__HandlerManager_ServiceDestroy destroy);
#define HANDLER__HANDLER_MANAGER__BASE_INIT \
{ &handler__handler_manager__descriptor, protobuf_c_service_invoke_internal, NULL }
#define HANDLER__HANDLER_MANAGER__INIT(function_prefix__) \
{ HANDLER__HANDLER_MANAGER__BASE_INIT,\
function_prefix__ ## get_status }
void handler__handler_manager__get_status(ProtobufCService *service,
const Handler__StatusRequest *input,
Handler__Status_Closure closure,
void *closure_data);
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor handler__device_activation_response__descriptor;
extern const ProtobufCMessageDescriptor handler__status_request__descriptor;
extern const ProtobufCMessageDescriptor handler__status__descriptor;
extern const ProtobufCMessageDescriptor handler__application_identifier__descriptor;
extern const ProtobufCMessageDescriptor handler__application__descriptor;
extern const ProtobufCMessageDescriptor handler__device_identifier__descriptor;
extern const ProtobufCMessageDescriptor handler__device__descriptor;
extern const ProtobufCMessageDescriptor handler__device__attributes_entry__descriptor;
extern const ProtobufCMessageDescriptor handler__device_list__descriptor;
extern const ProtobufCMessageDescriptor handler__dry_downlink_message__descriptor;
extern const ProtobufCMessageDescriptor handler__dry_uplink_message__descriptor;
extern const ProtobufCMessageDescriptor handler__simulated_uplink_message__descriptor;
extern const ProtobufCMessageDescriptor handler__log_entry__descriptor;
extern const ProtobufCMessageDescriptor handler__dry_uplink_result__descriptor;
extern const ProtobufCMessageDescriptor handler__dry_downlink_result__descriptor;
extern const ProtobufCServiceDescriptor handler__handler__descriptor;
extern const ProtobufCServiceDescriptor handler__application_manager__descriptor;
extern const ProtobufCServiceDescriptor handler__handler_manager__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fhandler_2fhandler_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/networkserver/networkserver.pb-c.h | <filename>c/github.com/TheThingsNetwork/api/networkserver/networkserver.pb-c.h
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/networkserver/networkserver.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fnetworkserver_2fnetworkserver_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fnetworkserver_2fnetworkserver_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
#include "github.com/TheThingsNetwork/api/api.pb-c.h"
#include "github.com/TheThingsNetwork/api/protocol/lorawan/device.pb-c.h"
#include "github.com/TheThingsNetwork/api/broker/broker.pb-c.h"
#include "github.com/TheThingsNetwork/api/handler/handler.pb-c.h"
typedef struct _Networkserver__DevicesRequest Networkserver__DevicesRequest;
typedef struct _Networkserver__DevicesResponse Networkserver__DevicesResponse;
typedef struct _Networkserver__StatusRequest Networkserver__StatusRequest;
typedef struct _Networkserver__Status Networkserver__Status;
/* --- enums --- */
/* --- messages --- */
struct _Networkserver__DevicesRequest
{
ProtobufCMessage base;
/*
* Device address from the uplink message
*/
ProtobufCBinaryData dev_addr;
/*
* Frame counter from the uplink message
*/
uint32_t f_cnt;
};
#define NETWORKSERVER__DEVICES_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&networkserver__devices_request__descriptor) \
, {0,NULL}, 0 }
struct _Networkserver__DevicesResponse
{
ProtobufCMessage base;
size_t n_results;
Lorawan__Device **results;
};
#define NETWORKSERVER__DEVICES_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&networkserver__devices_response__descriptor) \
, 0,NULL }
/*
* message StatusRequest is used to request the status of this NetworkServer
*/
struct _Networkserver__StatusRequest
{
ProtobufCMessage base;
};
#define NETWORKSERVER__STATUS_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&networkserver__status_request__descriptor) \
}
/*
* message Status is the response to the StatusRequest
*/
struct _Networkserver__Status
{
ProtobufCMessage base;
Api__SystemStats *system;
Api__ComponentStats *component;
Api__Rates *uplink;
Api__Rates *downlink;
Api__Rates *activations;
Api__Percentiles *devices_per_address;
};
#define NETWORKSERVER__STATUS__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&networkserver__status__descriptor) \
, NULL, NULL, NULL, NULL, NULL, NULL }
/* Networkserver__DevicesRequest methods */
void networkserver__devices_request__init
(Networkserver__DevicesRequest *message);
size_t networkserver__devices_request__get_packed_size
(const Networkserver__DevicesRequest *message);
size_t networkserver__devices_request__pack
(const Networkserver__DevicesRequest *message,
uint8_t *out);
size_t networkserver__devices_request__pack_to_buffer
(const Networkserver__DevicesRequest *message,
ProtobufCBuffer *buffer);
Networkserver__DevicesRequest *
networkserver__devices_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void networkserver__devices_request__free_unpacked
(Networkserver__DevicesRequest *message,
ProtobufCAllocator *allocator);
/* Networkserver__DevicesResponse methods */
void networkserver__devices_response__init
(Networkserver__DevicesResponse *message);
size_t networkserver__devices_response__get_packed_size
(const Networkserver__DevicesResponse *message);
size_t networkserver__devices_response__pack
(const Networkserver__DevicesResponse *message,
uint8_t *out);
size_t networkserver__devices_response__pack_to_buffer
(const Networkserver__DevicesResponse *message,
ProtobufCBuffer *buffer);
Networkserver__DevicesResponse *
networkserver__devices_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void networkserver__devices_response__free_unpacked
(Networkserver__DevicesResponse *message,
ProtobufCAllocator *allocator);
/* Networkserver__StatusRequest methods */
void networkserver__status_request__init
(Networkserver__StatusRequest *message);
size_t networkserver__status_request__get_packed_size
(const Networkserver__StatusRequest *message);
size_t networkserver__status_request__pack
(const Networkserver__StatusRequest *message,
uint8_t *out);
size_t networkserver__status_request__pack_to_buffer
(const Networkserver__StatusRequest *message,
ProtobufCBuffer *buffer);
Networkserver__StatusRequest *
networkserver__status_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void networkserver__status_request__free_unpacked
(Networkserver__StatusRequest *message,
ProtobufCAllocator *allocator);
/* Networkserver__Status methods */
void networkserver__status__init
(Networkserver__Status *message);
size_t networkserver__status__get_packed_size
(const Networkserver__Status *message);
size_t networkserver__status__pack
(const Networkserver__Status *message,
uint8_t *out);
size_t networkserver__status__pack_to_buffer
(const Networkserver__Status *message,
ProtobufCBuffer *buffer);
Networkserver__Status *
networkserver__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void networkserver__status__free_unpacked
(Networkserver__Status *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Networkserver__DevicesRequest_Closure)
(const Networkserver__DevicesRequest *message,
void *closure_data);
typedef void (*Networkserver__DevicesResponse_Closure)
(const Networkserver__DevicesResponse *message,
void *closure_data);
typedef void (*Networkserver__StatusRequest_Closure)
(const Networkserver__StatusRequest *message,
void *closure_data);
typedef void (*Networkserver__Status_Closure)
(const Networkserver__Status *message,
void *closure_data);
/* --- services --- */
typedef struct _Networkserver__NetworkServer_Service Networkserver__NetworkServer_Service;
struct _Networkserver__NetworkServer_Service
{
ProtobufCService base;
void (*get_devices)(Networkserver__NetworkServer_Service *service,
const Networkserver__DevicesRequest *input,
Networkserver__DevicesResponse_Closure closure,
void *closure_data);
void (*prepare_activation)(Networkserver__NetworkServer_Service *service,
const Broker__DeduplicatedDeviceActivationRequest *input,
Broker__DeduplicatedDeviceActivationRequest_Closure closure,
void *closure_data);
void (*activate)(Networkserver__NetworkServer_Service *service,
const Handler__DeviceActivationResponse *input,
Handler__DeviceActivationResponse_Closure closure,
void *closure_data);
void (*uplink)(Networkserver__NetworkServer_Service *service,
const Broker__DeduplicatedUplinkMessage *input,
Broker__DeduplicatedUplinkMessage_Closure closure,
void *closure_data);
void (*downlink)(Networkserver__NetworkServer_Service *service,
const Broker__DownlinkMessage *input,
Broker__DownlinkMessage_Closure closure,
void *closure_data);
};
typedef void (*Networkserver__NetworkServer_ServiceDestroy)(Networkserver__NetworkServer_Service *);
void networkserver__network_server__init (Networkserver__NetworkServer_Service *service,
Networkserver__NetworkServer_ServiceDestroy destroy);
#define NETWORKSERVER__NETWORK_SERVER__BASE_INIT \
{ &networkserver__network_server__descriptor, protobuf_c_service_invoke_internal, NULL }
#define NETWORKSERVER__NETWORK_SERVER__INIT(function_prefix__) \
{ NETWORKSERVER__NETWORK_SERVER__BASE_INIT,\
function_prefix__ ## get_devices,\
function_prefix__ ## prepare_activation,\
function_prefix__ ## activate,\
function_prefix__ ## uplink,\
function_prefix__ ## downlink }
void networkserver__network_server__get_devices(ProtobufCService *service,
const Networkserver__DevicesRequest *input,
Networkserver__DevicesResponse_Closure closure,
void *closure_data);
void networkserver__network_server__prepare_activation(ProtobufCService *service,
const Broker__DeduplicatedDeviceActivationRequest *input,
Broker__DeduplicatedDeviceActivationRequest_Closure closure,
void *closure_data);
void networkserver__network_server__activate(ProtobufCService *service,
const Handler__DeviceActivationResponse *input,
Handler__DeviceActivationResponse_Closure closure,
void *closure_data);
void networkserver__network_server__uplink(ProtobufCService *service,
const Broker__DeduplicatedUplinkMessage *input,
Broker__DeduplicatedUplinkMessage_Closure closure,
void *closure_data);
void networkserver__network_server__downlink(ProtobufCService *service,
const Broker__DownlinkMessage *input,
Broker__DownlinkMessage_Closure closure,
void *closure_data);
typedef struct _Networkserver__NetworkServerManager_Service Networkserver__NetworkServerManager_Service;
struct _Networkserver__NetworkServerManager_Service
{
ProtobufCService base;
void (*get_status)(Networkserver__NetworkServerManager_Service *service,
const Networkserver__StatusRequest *input,
Networkserver__Status_Closure closure,
void *closure_data);
};
typedef void (*Networkserver__NetworkServerManager_ServiceDestroy)(Networkserver__NetworkServerManager_Service *);
void networkserver__network_server_manager__init (Networkserver__NetworkServerManager_Service *service,
Networkserver__NetworkServerManager_ServiceDestroy destroy);
#define NETWORKSERVER__NETWORK_SERVER_MANAGER__BASE_INIT \
{ &networkserver__network_server_manager__descriptor, protobuf_c_service_invoke_internal, NULL }
#define NETWORKSERVER__NETWORK_SERVER_MANAGER__INIT(function_prefix__) \
{ NETWORKSERVER__NETWORK_SERVER_MANAGER__BASE_INIT,\
function_prefix__ ## get_status }
void networkserver__network_server_manager__get_status(ProtobufCService *service,
const Networkserver__StatusRequest *input,
Networkserver__Status_Closure closure,
void *closure_data);
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor networkserver__devices_request__descriptor;
extern const ProtobufCMessageDescriptor networkserver__devices_response__descriptor;
extern const ProtobufCMessageDescriptor networkserver__status_request__descriptor;
extern const ProtobufCMessageDescriptor networkserver__status__descriptor;
extern const ProtobufCServiceDescriptor networkserver__network_server__descriptor;
extern const ProtobufCServiceDescriptor networkserver__network_server_manager__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fnetworkserver_2fnetworkserver_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/discovery/discovery.pb-c.c | <reponame>LukasHabring/api<filename>c/github.com/TheThingsNetwork/api/discovery/discovery.pb-c.c
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/discovery/discovery.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/discovery/discovery.pb-c.h"
void discovery__metadata__init
(Discovery__Metadata *message)
{
static const Discovery__Metadata init_value = DISCOVERY__METADATA__INIT;
*message = init_value;
}
size_t discovery__metadata__get_packed_size
(const Discovery__Metadata *message)
{
assert(message->base.descriptor == &discovery__metadata__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__metadata__pack
(const Discovery__Metadata *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__metadata__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__metadata__pack_to_buffer
(const Discovery__Metadata *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__metadata__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__Metadata *
discovery__metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__Metadata *)
protobuf_c_message_unpack (&discovery__metadata__descriptor,
allocator, len, data);
}
void discovery__metadata__free_unpacked
(Discovery__Metadata *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__metadata__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void discovery__announcement__init
(Discovery__Announcement *message)
{
static const Discovery__Announcement init_value = DISCOVERY__ANNOUNCEMENT__INIT;
*message = init_value;
}
size_t discovery__announcement__get_packed_size
(const Discovery__Announcement *message)
{
assert(message->base.descriptor == &discovery__announcement__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__announcement__pack
(const Discovery__Announcement *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__announcement__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__announcement__pack_to_buffer
(const Discovery__Announcement *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__announcement__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__Announcement *
discovery__announcement__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__Announcement *)
protobuf_c_message_unpack (&discovery__announcement__descriptor,
allocator, len, data);
}
void discovery__announcement__free_unpacked
(Discovery__Announcement *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__announcement__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void discovery__get_service_request__init
(Discovery__GetServiceRequest *message)
{
static const Discovery__GetServiceRequest init_value = DISCOVERY__GET_SERVICE_REQUEST__INIT;
*message = init_value;
}
size_t discovery__get_service_request__get_packed_size
(const Discovery__GetServiceRequest *message)
{
assert(message->base.descriptor == &discovery__get_service_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__get_service_request__pack
(const Discovery__GetServiceRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__get_service_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__get_service_request__pack_to_buffer
(const Discovery__GetServiceRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__get_service_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__GetServiceRequest *
discovery__get_service_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__GetServiceRequest *)
protobuf_c_message_unpack (&discovery__get_service_request__descriptor,
allocator, len, data);
}
void discovery__get_service_request__free_unpacked
(Discovery__GetServiceRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__get_service_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void discovery__get_request__init
(Discovery__GetRequest *message)
{
static const Discovery__GetRequest init_value = DISCOVERY__GET_REQUEST__INIT;
*message = init_value;
}
size_t discovery__get_request__get_packed_size
(const Discovery__GetRequest *message)
{
assert(message->base.descriptor == &discovery__get_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__get_request__pack
(const Discovery__GetRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__get_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__get_request__pack_to_buffer
(const Discovery__GetRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__get_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__GetRequest *
discovery__get_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__GetRequest *)
protobuf_c_message_unpack (&discovery__get_request__descriptor,
allocator, len, data);
}
void discovery__get_request__free_unpacked
(Discovery__GetRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__get_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void discovery__metadata_request__init
(Discovery__MetadataRequest *message)
{
static const Discovery__MetadataRequest init_value = DISCOVERY__METADATA_REQUEST__INIT;
*message = init_value;
}
size_t discovery__metadata_request__get_packed_size
(const Discovery__MetadataRequest *message)
{
assert(message->base.descriptor == &discovery__metadata_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__metadata_request__pack
(const Discovery__MetadataRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__metadata_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__metadata_request__pack_to_buffer
(const Discovery__MetadataRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__metadata_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__MetadataRequest *
discovery__metadata_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__MetadataRequest *)
protobuf_c_message_unpack (&discovery__metadata_request__descriptor,
allocator, len, data);
}
void discovery__metadata_request__free_unpacked
(Discovery__MetadataRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__metadata_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void discovery__announcements_response__init
(Discovery__AnnouncementsResponse *message)
{
static const Discovery__AnnouncementsResponse init_value = DISCOVERY__ANNOUNCEMENTS_RESPONSE__INIT;
*message = init_value;
}
size_t discovery__announcements_response__get_packed_size
(const Discovery__AnnouncementsResponse *message)
{
assert(message->base.descriptor == &discovery__announcements_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__announcements_response__pack
(const Discovery__AnnouncementsResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__announcements_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__announcements_response__pack_to_buffer
(const Discovery__AnnouncementsResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__announcements_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__AnnouncementsResponse *
discovery__announcements_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__AnnouncementsResponse *)
protobuf_c_message_unpack (&discovery__announcements_response__descriptor,
allocator, len, data);
}
void discovery__announcements_response__free_unpacked
(Discovery__AnnouncementsResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__announcements_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void discovery__get_by_app_idrequest__init
(Discovery__GetByAppIDRequest *message)
{
static const Discovery__GetByAppIDRequest init_value = DISCOVERY__GET_BY_APP_IDREQUEST__INIT;
*message = init_value;
}
size_t discovery__get_by_app_idrequest__get_packed_size
(const Discovery__GetByAppIDRequest *message)
{
assert(message->base.descriptor == &discovery__get_by_app_idrequest__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__get_by_app_idrequest__pack
(const Discovery__GetByAppIDRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__get_by_app_idrequest__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__get_by_app_idrequest__pack_to_buffer
(const Discovery__GetByAppIDRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__get_by_app_idrequest__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__GetByAppIDRequest *
discovery__get_by_app_idrequest__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__GetByAppIDRequest *)
protobuf_c_message_unpack (&discovery__get_by_app_idrequest__descriptor,
allocator, len, data);
}
void discovery__get_by_app_idrequest__free_unpacked
(Discovery__GetByAppIDRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__get_by_app_idrequest__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void discovery__get_by_gateway_idrequest__init
(Discovery__GetByGatewayIDRequest *message)
{
static const Discovery__GetByGatewayIDRequest init_value = DISCOVERY__GET_BY_GATEWAY_IDREQUEST__INIT;
*message = init_value;
}
size_t discovery__get_by_gateway_idrequest__get_packed_size
(const Discovery__GetByGatewayIDRequest *message)
{
assert(message->base.descriptor == &discovery__get_by_gateway_idrequest__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__get_by_gateway_idrequest__pack
(const Discovery__GetByGatewayIDRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__get_by_gateway_idrequest__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__get_by_gateway_idrequest__pack_to_buffer
(const Discovery__GetByGatewayIDRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__get_by_gateway_idrequest__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__GetByGatewayIDRequest *
discovery__get_by_gateway_idrequest__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__GetByGatewayIDRequest *)
protobuf_c_message_unpack (&discovery__get_by_gateway_idrequest__descriptor,
allocator, len, data);
}
void discovery__get_by_gateway_idrequest__free_unpacked
(Discovery__GetByGatewayIDRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__get_by_gateway_idrequest__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void discovery__get_by_app_euirequest__init
(Discovery__GetByAppEUIRequest *message)
{
static const Discovery__GetByAppEUIRequest init_value = DISCOVERY__GET_BY_APP_EUIREQUEST__INIT;
*message = init_value;
}
size_t discovery__get_by_app_euirequest__get_packed_size
(const Discovery__GetByAppEUIRequest *message)
{
assert(message->base.descriptor == &discovery__get_by_app_euirequest__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t discovery__get_by_app_euirequest__pack
(const Discovery__GetByAppEUIRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &discovery__get_by_app_euirequest__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t discovery__get_by_app_euirequest__pack_to_buffer
(const Discovery__GetByAppEUIRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &discovery__get_by_app_euirequest__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Discovery__GetByAppEUIRequest *
discovery__get_by_app_euirequest__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Discovery__GetByAppEUIRequest *)
protobuf_c_message_unpack (&discovery__get_by_app_euirequest__descriptor,
allocator, len, data);
}
void discovery__get_by_app_euirequest__free_unpacked
(Discovery__GetByAppEUIRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &discovery__get_by_app_euirequest__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor discovery__metadata__field_descriptors[4] =
{
{
"gateway_id",
10,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
offsetof(Discovery__Metadata, metadata_case),
offsetof(Discovery__Metadata, gateway_id),
NULL,
&protobuf_c_empty_string,
0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_addr_prefix",
20,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
offsetof(Discovery__Metadata, metadata_case),
offsetof(Discovery__Metadata, dev_addr_prefix),
NULL,
NULL,
0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_id",
30,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
offsetof(Discovery__Metadata, metadata_case),
offsetof(Discovery__Metadata, app_id),
NULL,
&protobuf_c_empty_string,
0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_eui",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
offsetof(Discovery__Metadata, metadata_case),
offsetof(Discovery__Metadata, app_eui),
NULL,
NULL,
0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__metadata__field_indices_by_name[] = {
3, /* field[3] = app_eui */
2, /* field[2] = app_id */
1, /* field[1] = dev_addr_prefix */
0, /* field[0] = gateway_id */
};
static const ProtobufCIntRange discovery__metadata__number_ranges[3 + 1] =
{
{ 10, 0 },
{ 20, 1 },
{ 30, 2 },
{ 0, 4 }
};
const ProtobufCMessageDescriptor discovery__metadata__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.Metadata",
"Metadata",
"Discovery__Metadata",
"discovery",
sizeof(Discovery__Metadata),
4,
discovery__metadata__field_descriptors,
discovery__metadata__field_indices_by_name,
3, discovery__metadata__number_ranges,
(ProtobufCMessageInit) discovery__metadata__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor discovery__announcement__field_descriptors[13] =
{
{
"id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"service_name",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, service_name),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"service_version",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, service_version),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"description",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, description),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"url",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, url),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"public",
6,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BOOL,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, public_),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"net_address",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, net_address),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"public_key",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, public_key),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"certificate",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, certificate),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"api_address",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, api_address),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"mqtt_address",
15,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, mqtt_address),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"amqp_address",
16,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__Announcement, amqp_address),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"metadata",
22,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Discovery__Announcement, n_metadata),
offsetof(Discovery__Announcement, metadata),
&discovery__metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__announcement__field_indices_by_name[] = {
11, /* field[11] = amqp_address */
9, /* field[9] = api_address */
8, /* field[8] = certificate */
3, /* field[3] = description */
0, /* field[0] = id */
12, /* field[12] = metadata */
10, /* field[10] = mqtt_address */
6, /* field[6] = net_address */
5, /* field[5] = public */
7, /* field[7] = public_key */
1, /* field[1] = service_name */
2, /* field[2] = service_version */
4, /* field[4] = url */
};
static const ProtobufCIntRange discovery__announcement__number_ranges[3 + 1] =
{
{ 1, 0 },
{ 11, 6 },
{ 22, 12 },
{ 0, 13 }
};
const ProtobufCMessageDescriptor discovery__announcement__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.Announcement",
"Announcement",
"Discovery__Announcement",
"discovery",
sizeof(Discovery__Announcement),
13,
discovery__announcement__field_descriptors,
discovery__announcement__field_indices_by_name,
3, discovery__announcement__number_ranges,
(ProtobufCMessageInit) discovery__announcement__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor discovery__get_service_request__field_descriptors[1] =
{
{
"service_name",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__GetServiceRequest, service_name),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__get_service_request__field_indices_by_name[] = {
0, /* field[0] = service_name */
};
static const ProtobufCIntRange discovery__get_service_request__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor discovery__get_service_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.GetServiceRequest",
"GetServiceRequest",
"Discovery__GetServiceRequest",
"discovery",
sizeof(Discovery__GetServiceRequest),
1,
discovery__get_service_request__field_descriptors,
discovery__get_service_request__field_indices_by_name,
1, discovery__get_service_request__number_ranges,
(ProtobufCMessageInit) discovery__get_service_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor discovery__get_request__field_descriptors[2] =
{
{
"id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__GetRequest, id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"service_name",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__GetRequest, service_name),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__get_request__field_indices_by_name[] = {
0, /* field[0] = id */
1, /* field[1] = service_name */
};
static const ProtobufCIntRange discovery__get_request__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor discovery__get_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.GetRequest",
"GetRequest",
"Discovery__GetRequest",
"discovery",
sizeof(Discovery__GetRequest),
2,
discovery__get_request__field_descriptors,
discovery__get_request__field_indices_by_name,
1, discovery__get_request__number_ranges,
(ProtobufCMessageInit) discovery__get_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor discovery__metadata_request__field_descriptors[3] =
{
{
"id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__MetadataRequest, id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"service_name",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__MetadataRequest, service_name),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"metadata",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Discovery__MetadataRequest, metadata),
&discovery__metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__metadata_request__field_indices_by_name[] = {
0, /* field[0] = id */
2, /* field[2] = metadata */
1, /* field[1] = service_name */
};
static const ProtobufCIntRange discovery__metadata_request__number_ranges[2 + 1] =
{
{ 1, 0 },
{ 12, 2 },
{ 0, 3 }
};
const ProtobufCMessageDescriptor discovery__metadata_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.MetadataRequest",
"MetadataRequest",
"Discovery__MetadataRequest",
"discovery",
sizeof(Discovery__MetadataRequest),
3,
discovery__metadata_request__field_descriptors,
discovery__metadata_request__field_indices_by_name,
2, discovery__metadata_request__number_ranges,
(ProtobufCMessageInit) discovery__metadata_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor discovery__announcements_response__field_descriptors[1] =
{
{
"services",
1,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Discovery__AnnouncementsResponse, n_services),
offsetof(Discovery__AnnouncementsResponse, services),
&discovery__announcement__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__announcements_response__field_indices_by_name[] = {
0, /* field[0] = services */
};
static const ProtobufCIntRange discovery__announcements_response__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor discovery__announcements_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.AnnouncementsResponse",
"AnnouncementsResponse",
"Discovery__AnnouncementsResponse",
"discovery",
sizeof(Discovery__AnnouncementsResponse),
1,
discovery__announcements_response__field_descriptors,
discovery__announcements_response__field_indices_by_name,
1, discovery__announcements_response__number_ranges,
(ProtobufCMessageInit) discovery__announcements_response__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor discovery__get_by_app_idrequest__field_descriptors[1] =
{
{
"app_id",
30,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__GetByAppIDRequest, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__get_by_app_idrequest__field_indices_by_name[] = {
0, /* field[0] = app_id */
};
static const ProtobufCIntRange discovery__get_by_app_idrequest__number_ranges[1 + 1] =
{
{ 30, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor discovery__get_by_app_idrequest__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.GetByAppIDRequest",
"GetByAppIDRequest",
"Discovery__GetByAppIDRequest",
"discovery",
sizeof(Discovery__GetByAppIDRequest),
1,
discovery__get_by_app_idrequest__field_descriptors,
discovery__get_by_app_idrequest__field_indices_by_name,
1, discovery__get_by_app_idrequest__number_ranges,
(ProtobufCMessageInit) discovery__get_by_app_idrequest__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor discovery__get_by_gateway_idrequest__field_descriptors[1] =
{
{
"gateway_id",
30,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Discovery__GetByGatewayIDRequest, gateway_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__get_by_gateway_idrequest__field_indices_by_name[] = {
0, /* field[0] = gateway_id */
};
static const ProtobufCIntRange discovery__get_by_gateway_idrequest__number_ranges[1 + 1] =
{
{ 30, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor discovery__get_by_gateway_idrequest__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.GetByGatewayIDRequest",
"GetByGatewayIDRequest",
"Discovery__GetByGatewayIDRequest",
"discovery",
sizeof(Discovery__GetByGatewayIDRequest),
1,
discovery__get_by_gateway_idrequest__field_descriptors,
discovery__get_by_gateway_idrequest__field_indices_by_name,
1, discovery__get_by_gateway_idrequest__number_ranges,
(ProtobufCMessageInit) discovery__get_by_gateway_idrequest__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor discovery__get_by_app_euirequest__field_descriptors[1] =
{
{
"app_eui",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Discovery__GetByAppEUIRequest, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned discovery__get_by_app_euirequest__field_indices_by_name[] = {
0, /* field[0] = app_eui */
};
static const ProtobufCIntRange discovery__get_by_app_euirequest__number_ranges[1 + 1] =
{
{ 31, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor discovery__get_by_app_euirequest__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"discovery.GetByAppEUIRequest",
"GetByAppEUIRequest",
"Discovery__GetByAppEUIRequest",
"discovery",
sizeof(Discovery__GetByAppEUIRequest),
1,
discovery__get_by_app_euirequest__field_descriptors,
discovery__get_by_app_euirequest__field_indices_by_name,
1, discovery__get_by_app_euirequest__number_ranges,
(ProtobufCMessageInit) discovery__get_by_app_euirequest__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCMethodDescriptor discovery__discovery__method_descriptors[8] =
{
{ "Announce", &discovery__announcement__descriptor, &google__protobuf__empty__descriptor },
{ "GetAll", &discovery__get_service_request__descriptor, &discovery__announcements_response__descriptor },
{ "Get", &discovery__get_request__descriptor, &discovery__announcement__descriptor },
{ "AddMetadata", &discovery__metadata_request__descriptor, &google__protobuf__empty__descriptor },
{ "DeleteMetadata", &discovery__metadata_request__descriptor, &google__protobuf__empty__descriptor },
{ "GetByAppID", &discovery__get_by_app_idrequest__descriptor, &discovery__announcement__descriptor },
{ "GetByGatewayID", &discovery__get_by_gateway_idrequest__descriptor, &discovery__announcement__descriptor },
{ "GetByAppEUI", &discovery__get_by_app_euirequest__descriptor, &discovery__announcement__descriptor },
};
const unsigned discovery__discovery__method_indices_by_name[] = {
3, /* AddMetadata */
0, /* Announce */
4, /* DeleteMetadata */
2, /* Get */
1, /* GetAll */
7, /* GetByAppEUI */
5, /* GetByAppID */
6 /* GetByGatewayID */
};
const ProtobufCServiceDescriptor discovery__discovery__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"discovery.Discovery",
"Discovery",
"Discovery__Discovery",
"discovery",
8,
discovery__discovery__method_descriptors,
discovery__discovery__method_indices_by_name
};
void discovery__discovery__announce(ProtobufCService *service,
const Discovery__Announcement *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &discovery__discovery__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void discovery__discovery__get_all(ProtobufCService *service,
const Discovery__GetServiceRequest *input,
Discovery__AnnouncementsResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &discovery__discovery__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void discovery__discovery__get(ProtobufCService *service,
const Discovery__GetRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data)
{
assert(service->descriptor == &discovery__discovery__descriptor);
service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void discovery__discovery__add_metadata(ProtobufCService *service,
const Discovery__MetadataRequest *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &discovery__discovery__descriptor);
service->invoke(service, 3, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void discovery__discovery__delete_metadata(ProtobufCService *service,
const Discovery__MetadataRequest *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &discovery__discovery__descriptor);
service->invoke(service, 4, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void discovery__discovery__get_by_app_id(ProtobufCService *service,
const Discovery__GetByAppIDRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data)
{
assert(service->descriptor == &discovery__discovery__descriptor);
service->invoke(service, 5, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void discovery__discovery__get_by_gateway_id(ProtobufCService *service,
const Discovery__GetByGatewayIDRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data)
{
assert(service->descriptor == &discovery__discovery__descriptor);
service->invoke(service, 6, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void discovery__discovery__get_by_app_eui(ProtobufCService *service,
const Discovery__GetByAppEUIRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data)
{
assert(service->descriptor == &discovery__discovery__descriptor);
service->invoke(service, 7, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void discovery__discovery__init (Discovery__Discovery_Service *service,
Discovery__Discovery_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&discovery__discovery__descriptor,
(ProtobufCServiceDestroy) destroy);
}
static const ProtobufCMethodDescriptor discovery__discovery_manager__method_descriptors[0] =
{
};
const unsigned discovery__discovery_manager__method_indices_by_name[] = {
};
const ProtobufCServiceDescriptor discovery__discovery_manager__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"discovery.DiscoveryManager",
"DiscoveryManager",
"Discovery__DiscoveryManager",
"discovery",
0,
discovery__discovery_manager__method_descriptors,
discovery__discovery_manager__method_indices_by_name
};
void discovery__discovery_manager__init (Discovery__DiscoveryManager_Service *service,
Discovery__DiscoveryManager_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&discovery__discovery_manager__descriptor,
(ProtobufCServiceDestroy) destroy);
}
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/protocol/lorawan/device_address.pb-c.c | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/protocol/lorawan/device_address.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/protocol/lorawan/device_address.pb-c.h"
void lorawan__prefixes_request__init
(Lorawan__PrefixesRequest *message)
{
static const Lorawan__PrefixesRequest init_value = LORAWAN__PREFIXES_REQUEST__INIT;
*message = init_value;
}
size_t lorawan__prefixes_request__get_packed_size
(const Lorawan__PrefixesRequest *message)
{
assert(message->base.descriptor == &lorawan__prefixes_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t lorawan__prefixes_request__pack
(const Lorawan__PrefixesRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &lorawan__prefixes_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t lorawan__prefixes_request__pack_to_buffer
(const Lorawan__PrefixesRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &lorawan__prefixes_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Lorawan__PrefixesRequest *
lorawan__prefixes_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Lorawan__PrefixesRequest *)
protobuf_c_message_unpack (&lorawan__prefixes_request__descriptor,
allocator, len, data);
}
void lorawan__prefixes_request__free_unpacked
(Lorawan__PrefixesRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &lorawan__prefixes_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void lorawan__prefixes_response__prefix_mapping__init
(Lorawan__PrefixesResponse__PrefixMapping *message)
{
static const Lorawan__PrefixesResponse__PrefixMapping init_value = LORAWAN__PREFIXES_RESPONSE__PREFIX_MAPPING__INIT;
*message = init_value;
}
void lorawan__prefixes_response__init
(Lorawan__PrefixesResponse *message)
{
static const Lorawan__PrefixesResponse init_value = LORAWAN__PREFIXES_RESPONSE__INIT;
*message = init_value;
}
size_t lorawan__prefixes_response__get_packed_size
(const Lorawan__PrefixesResponse *message)
{
assert(message->base.descriptor == &lorawan__prefixes_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t lorawan__prefixes_response__pack
(const Lorawan__PrefixesResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &lorawan__prefixes_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t lorawan__prefixes_response__pack_to_buffer
(const Lorawan__PrefixesResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &lorawan__prefixes_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Lorawan__PrefixesResponse *
lorawan__prefixes_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Lorawan__PrefixesResponse *)
protobuf_c_message_unpack (&lorawan__prefixes_response__descriptor,
allocator, len, data);
}
void lorawan__prefixes_response__free_unpacked
(Lorawan__PrefixesResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &lorawan__prefixes_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void lorawan__dev_addr_request__init
(Lorawan__DevAddrRequest *message)
{
static const Lorawan__DevAddrRequest init_value = LORAWAN__DEV_ADDR_REQUEST__INIT;
*message = init_value;
}
size_t lorawan__dev_addr_request__get_packed_size
(const Lorawan__DevAddrRequest *message)
{
assert(message->base.descriptor == &lorawan__dev_addr_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t lorawan__dev_addr_request__pack
(const Lorawan__DevAddrRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &lorawan__dev_addr_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t lorawan__dev_addr_request__pack_to_buffer
(const Lorawan__DevAddrRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &lorawan__dev_addr_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Lorawan__DevAddrRequest *
lorawan__dev_addr_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Lorawan__DevAddrRequest *)
protobuf_c_message_unpack (&lorawan__dev_addr_request__descriptor,
allocator, len, data);
}
void lorawan__dev_addr_request__free_unpacked
(Lorawan__DevAddrRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &lorawan__dev_addr_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void lorawan__dev_addr_response__init
(Lorawan__DevAddrResponse *message)
{
static const Lorawan__DevAddrResponse init_value = LORAWAN__DEV_ADDR_RESPONSE__INIT;
*message = init_value;
}
size_t lorawan__dev_addr_response__get_packed_size
(const Lorawan__DevAddrResponse *message)
{
assert(message->base.descriptor == &lorawan__dev_addr_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t lorawan__dev_addr_response__pack
(const Lorawan__DevAddrResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &lorawan__dev_addr_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t lorawan__dev_addr_response__pack_to_buffer
(const Lorawan__DevAddrResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &lorawan__dev_addr_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Lorawan__DevAddrResponse *
lorawan__dev_addr_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Lorawan__DevAddrResponse *)
protobuf_c_message_unpack (&lorawan__dev_addr_response__descriptor,
allocator, len, data);
}
void lorawan__dev_addr_response__free_unpacked
(Lorawan__DevAddrResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &lorawan__dev_addr_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
#define lorawan__prefixes_request__field_descriptors NULL
#define lorawan__prefixes_request__field_indices_by_name NULL
#define lorawan__prefixes_request__number_ranges NULL
const ProtobufCMessageDescriptor lorawan__prefixes_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"lorawan.PrefixesRequest",
"PrefixesRequest",
"Lorawan__PrefixesRequest",
"lorawan",
sizeof(Lorawan__PrefixesRequest),
0,
lorawan__prefixes_request__field_descriptors,
lorawan__prefixes_request__field_indices_by_name,
0, lorawan__prefixes_request__number_ranges,
(ProtobufCMessageInit) lorawan__prefixes_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor lorawan__prefixes_response__prefix_mapping__field_descriptors[2] =
{
{
"prefix",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Lorawan__PrefixesResponse__PrefixMapping, prefix),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"usage",
2,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_STRING,
offsetof(Lorawan__PrefixesResponse__PrefixMapping, n_usage),
offsetof(Lorawan__PrefixesResponse__PrefixMapping, usage),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned lorawan__prefixes_response__prefix_mapping__field_indices_by_name[] = {
0, /* field[0] = prefix */
1, /* field[1] = usage */
};
static const ProtobufCIntRange lorawan__prefixes_response__prefix_mapping__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor lorawan__prefixes_response__prefix_mapping__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"lorawan.PrefixesResponse.PrefixMapping",
"PrefixMapping",
"Lorawan__PrefixesResponse__PrefixMapping",
"lorawan",
sizeof(Lorawan__PrefixesResponse__PrefixMapping),
2,
lorawan__prefixes_response__prefix_mapping__field_descriptors,
lorawan__prefixes_response__prefix_mapping__field_indices_by_name,
1, lorawan__prefixes_response__prefix_mapping__number_ranges,
(ProtobufCMessageInit) lorawan__prefixes_response__prefix_mapping__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor lorawan__prefixes_response__field_descriptors[1] =
{
{
"prefixes",
1,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Lorawan__PrefixesResponse, n_prefixes),
offsetof(Lorawan__PrefixesResponse, prefixes),
&lorawan__prefixes_response__prefix_mapping__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned lorawan__prefixes_response__field_indices_by_name[] = {
0, /* field[0] = prefixes */
};
static const ProtobufCIntRange lorawan__prefixes_response__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor lorawan__prefixes_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"lorawan.PrefixesResponse",
"PrefixesResponse",
"Lorawan__PrefixesResponse",
"lorawan",
sizeof(Lorawan__PrefixesResponse),
1,
lorawan__prefixes_response__field_descriptors,
lorawan__prefixes_response__field_indices_by_name,
1, lorawan__prefixes_response__number_ranges,
(ProtobufCMessageInit) lorawan__prefixes_response__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor lorawan__dev_addr_request__field_descriptors[1] =
{
{
"usage",
1,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_STRING,
offsetof(Lorawan__DevAddrRequest, n_usage),
offsetof(Lorawan__DevAddrRequest, usage),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned lorawan__dev_addr_request__field_indices_by_name[] = {
0, /* field[0] = usage */
};
static const ProtobufCIntRange lorawan__dev_addr_request__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor lorawan__dev_addr_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"lorawan.DevAddrRequest",
"DevAddrRequest",
"Lorawan__DevAddrRequest",
"lorawan",
sizeof(Lorawan__DevAddrRequest),
1,
lorawan__dev_addr_request__field_descriptors,
lorawan__dev_addr_request__field_indices_by_name,
1, lorawan__dev_addr_request__number_ranges,
(ProtobufCMessageInit) lorawan__dev_addr_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor lorawan__dev_addr_response__field_descriptors[1] =
{
{
"dev_addr",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__DevAddrResponse, dev_addr),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned lorawan__dev_addr_response__field_indices_by_name[] = {
0, /* field[0] = dev_addr */
};
static const ProtobufCIntRange lorawan__dev_addr_response__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor lorawan__dev_addr_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"lorawan.DevAddrResponse",
"DevAddrResponse",
"Lorawan__DevAddrResponse",
"lorawan",
sizeof(Lorawan__DevAddrResponse),
1,
lorawan__dev_addr_response__field_descriptors,
lorawan__dev_addr_response__field_indices_by_name,
1, lorawan__dev_addr_response__number_ranges,
(ProtobufCMessageInit) lorawan__dev_addr_response__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCMethodDescriptor lorawan__dev_addr_manager__method_descriptors[2] =
{
{ "GetPrefixes", &lorawan__prefixes_request__descriptor, &lorawan__prefixes_response__descriptor },
{ "GetDevAddr", &lorawan__dev_addr_request__descriptor, &lorawan__dev_addr_response__descriptor },
};
const unsigned lorawan__dev_addr_manager__method_indices_by_name[] = {
1, /* GetDevAddr */
0 /* GetPrefixes */
};
const ProtobufCServiceDescriptor lorawan__dev_addr_manager__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"lorawan.DevAddrManager",
"DevAddrManager",
"Lorawan__DevAddrManager",
"lorawan",
2,
lorawan__dev_addr_manager__method_descriptors,
lorawan__dev_addr_manager__method_indices_by_name
};
void lorawan__dev_addr_manager__get_prefixes(ProtobufCService *service,
const Lorawan__PrefixesRequest *input,
Lorawan__PrefixesResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &lorawan__dev_addr_manager__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void lorawan__dev_addr_manager__get_dev_addr(ProtobufCService *service,
const Lorawan__DevAddrRequest *input,
Lorawan__DevAddrResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &lorawan__dev_addr_manager__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void lorawan__dev_addr_manager__init (Lorawan__DevAddrManager_Service *service,
Lorawan__DevAddrManager_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&lorawan__dev_addr_manager__descriptor,
(ProtobufCServiceDestroy) destroy);
}
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/protocol/lorawan/device.pb-c.h | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/protocol/lorawan/device.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2fdevice_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2fdevice_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "google/protobuf/empty.pb-c.h"
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
typedef struct _Lorawan__DeviceIdentifier Lorawan__DeviceIdentifier;
typedef struct _Lorawan__Device Lorawan__Device;
/* --- enums --- */
/* --- messages --- */
struct _Lorawan__DeviceIdentifier
{
ProtobufCMessage base;
/*
* The AppEUI is a unique, 8 byte identifier for the application a device belongs to.
*/
ProtobufCBinaryData app_eui;
/*
* The DevEUI is a unique, 8 byte identifier for the device.
*/
ProtobufCBinaryData dev_eui;
};
#define LORAWAN__DEVICE_IDENTIFIER__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__device_identifier__descriptor) \
, {0,NULL}, {0,NULL} }
struct _Lorawan__Device
{
ProtobufCMessage base;
/*
* The AppEUI is a unique, 8 byte identifier for the application a device belongs to.
*/
ProtobufCBinaryData app_eui;
/*
* The DevEUI is a unique, 8 byte identifier for the device.
*/
ProtobufCBinaryData dev_eui;
/*
* The AppID is a unique identifier for the application a device belongs to. It can contain lowercase letters, numbers, - and _.
*/
char *app_id;
/*
* The DevID is a unique identifier for the device. It can contain lowercase letters, numbers, - and _.
*/
char *dev_id;
/*
* The DevAddr is a dynamic, 4 byte session address for the device.
*/
ProtobufCBinaryData dev_addr;
/*
* The NwkSKey is a 16 byte session key that is known by the device and the network. It is used for routing and MAC related functionality.
* This key is negotiated during the OTAA join procedure, or statically configured using ABP.
*/
ProtobufCBinaryData nwk_s_key;
/*
* The AppSKey is a 16 byte session key that is known by the device and the application. It is used for payload encryption.
* This key is negotiated during the OTAA join procedure, or statically configured using ABP.
*/
ProtobufCBinaryData app_s_key;
/*
* The AppKey is a 16 byte static key that is known by the device and the application. It is used for negotiating session keys (OTAA).
*/
ProtobufCBinaryData app_key;
/*
* FCntUp is the uplink frame counter for a device session.
*/
uint32_t f_cnt_up;
/*
* FCntDown is the downlink frame counter for a device session.
*/
uint32_t f_cnt_down;
/*
* The DisableFCntCheck option disables the frame counter check. Disabling this makes the device vulnerable to replay attacks, but makes ABP slightly easier.
*/
protobuf_c_boolean disable_f_cnt_check;
/*
* The Uses32BitFCnt option indicates that the device keeps track of full 32 bit frame counters. As only the 16 lsb are actually transmitted, the 16 msb will have to be inferred.
*/
protobuf_c_boolean uses32_bit_f_cnt;
/*
* The ActivationContstraints are used to allocate a device address for a device (comma-separated).
* There are different prefixes for `otaa`, `abp`, `world`, `local`, `private`, `testing`.
*/
char *activation_constraints;
/*
* The DevNonces that have been used in joins. This field is read-only. Reset the nonces by changing the AppKey.
*/
size_t n_used_dev_nonces;
ProtobufCBinaryData *used_dev_nonces;
/*
* The AppNonces that have been used in joins. This field is read-only. Reset the nonces by changing the AppKey.
*/
size_t n_used_app_nonces;
ProtobufCBinaryData *used_app_nonces;
/*
* When the device was last seen (Unix nanoseconds)
*/
int64_t last_seen;
};
#define LORAWAN__DEVICE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__device__descriptor) \
, {0,NULL}, {0,NULL}, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, {0,NULL}, {0,NULL}, {0,NULL}, {0,NULL}, 0, 0, 0, 0, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0 }
/* Lorawan__DeviceIdentifier methods */
void lorawan__device_identifier__init
(Lorawan__DeviceIdentifier *message);
size_t lorawan__device_identifier__get_packed_size
(const Lorawan__DeviceIdentifier *message);
size_t lorawan__device_identifier__pack
(const Lorawan__DeviceIdentifier *message,
uint8_t *out);
size_t lorawan__device_identifier__pack_to_buffer
(const Lorawan__DeviceIdentifier *message,
ProtobufCBuffer *buffer);
Lorawan__DeviceIdentifier *
lorawan__device_identifier__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__device_identifier__free_unpacked
(Lorawan__DeviceIdentifier *message,
ProtobufCAllocator *allocator);
/* Lorawan__Device methods */
void lorawan__device__init
(Lorawan__Device *message);
size_t lorawan__device__get_packed_size
(const Lorawan__Device *message);
size_t lorawan__device__pack
(const Lorawan__Device *message,
uint8_t *out);
size_t lorawan__device__pack_to_buffer
(const Lorawan__Device *message,
ProtobufCBuffer *buffer);
Lorawan__Device *
lorawan__device__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__device__free_unpacked
(Lorawan__Device *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Lorawan__DeviceIdentifier_Closure)
(const Lorawan__DeviceIdentifier *message,
void *closure_data);
typedef void (*Lorawan__Device_Closure)
(const Lorawan__Device *message,
void *closure_data);
/* --- services --- */
typedef struct _Lorawan__DeviceManager_Service Lorawan__DeviceManager_Service;
struct _Lorawan__DeviceManager_Service
{
ProtobufCService base;
void (*get_device)(Lorawan__DeviceManager_Service *service,
const Lorawan__DeviceIdentifier *input,
Lorawan__Device_Closure closure,
void *closure_data);
void (*set_device)(Lorawan__DeviceManager_Service *service,
const Lorawan__Device *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*delete_device)(Lorawan__DeviceManager_Service *service,
const Lorawan__DeviceIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
};
typedef void (*Lorawan__DeviceManager_ServiceDestroy)(Lorawan__DeviceManager_Service *);
void lorawan__device_manager__init (Lorawan__DeviceManager_Service *service,
Lorawan__DeviceManager_ServiceDestroy destroy);
#define LORAWAN__DEVICE_MANAGER__BASE_INIT \
{ &lorawan__device_manager__descriptor, protobuf_c_service_invoke_internal, NULL }
#define LORAWAN__DEVICE_MANAGER__INIT(function_prefix__) \
{ LORAWAN__DEVICE_MANAGER__BASE_INIT,\
function_prefix__ ## get_device,\
function_prefix__ ## set_device,\
function_prefix__ ## delete_device }
void lorawan__device_manager__get_device(ProtobufCService *service,
const Lorawan__DeviceIdentifier *input,
Lorawan__Device_Closure closure,
void *closure_data);
void lorawan__device_manager__set_device(ProtobufCService *service,
const Lorawan__Device *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void lorawan__device_manager__delete_device(ProtobufCService *service,
const Lorawan__DeviceIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor lorawan__device_identifier__descriptor;
extern const ProtobufCMessageDescriptor lorawan__device__descriptor;
extern const ProtobufCServiceDescriptor lorawan__device_manager__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2fdevice_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/monitor/monitor.pb-c.h | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/monitor/monitor.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fmonitor_2fmonitor_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fmonitor_2fmonitor_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "google/protobuf/empty.pb-c.h"
#include "github.com/TheThingsNetwork/api/gateway/gateway.pb-c.h"
#include "github.com/TheThingsNetwork/api/router/router.pb-c.h"
#include "github.com/TheThingsNetwork/api/broker/broker.pb-c.h"
#include "github.com/TheThingsNetwork/api/handler/handler.pb-c.h"
#include "github.com/TheThingsNetwork/api/networkserver/networkserver.pb-c.h"
/* --- enums --- */
/* --- messages --- */
/* --- per-message closures --- */
/* --- services --- */
typedef struct _Monitor__Monitor_Service Monitor__Monitor_Service;
struct _Monitor__Monitor_Service
{
ProtobufCService base;
void (*router_status)(Monitor__Monitor_Service *service,
const Router__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*gateway_status)(Monitor__Monitor_Service *service,
const Gateway__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*gateway_uplink)(Monitor__Monitor_Service *service,
const Router__UplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*gateway_downlink)(Monitor__Monitor_Service *service,
const Router__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*broker_status)(Monitor__Monitor_Service *service,
const Broker__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*broker_uplink)(Monitor__Monitor_Service *service,
const Broker__DeduplicatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*broker_downlink)(Monitor__Monitor_Service *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*handler_status)(Monitor__Monitor_Service *service,
const Handler__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*handler_uplink)(Monitor__Monitor_Service *service,
const Broker__DeduplicatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*handler_downlink)(Monitor__Monitor_Service *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*network_server_status)(Monitor__Monitor_Service *service,
const Networkserver__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
};
typedef void (*Monitor__Monitor_ServiceDestroy)(Monitor__Monitor_Service *);
void monitor__monitor__init (Monitor__Monitor_Service *service,
Monitor__Monitor_ServiceDestroy destroy);
#define MONITOR__MONITOR__BASE_INIT \
{ &monitor__monitor__descriptor, protobuf_c_service_invoke_internal, NULL }
#define MONITOR__MONITOR__INIT(function_prefix__) \
{ MONITOR__MONITOR__BASE_INIT,\
function_prefix__ ## router_status,\
function_prefix__ ## gateway_status,\
function_prefix__ ## gateway_uplink,\
function_prefix__ ## gateway_downlink,\
function_prefix__ ## broker_status,\
function_prefix__ ## broker_uplink,\
function_prefix__ ## broker_downlink,\
function_prefix__ ## handler_status,\
function_prefix__ ## handler_uplink,\
function_prefix__ ## handler_downlink,\
function_prefix__ ## network_server_status }
void monitor__monitor__router_status(ProtobufCService *service,
const Router__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__gateway_status(ProtobufCService *service,
const Gateway__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__gateway_uplink(ProtobufCService *service,
const Router__UplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__gateway_downlink(ProtobufCService *service,
const Router__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__broker_status(ProtobufCService *service,
const Broker__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__broker_uplink(ProtobufCService *service,
const Broker__DeduplicatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__broker_downlink(ProtobufCService *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__handler_status(ProtobufCService *service,
const Handler__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__handler_uplink(ProtobufCService *service,
const Broker__DeduplicatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__handler_downlink(ProtobufCService *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void monitor__monitor__network_server_status(ProtobufCService *service,
const Networkserver__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
/* --- descriptors --- */
extern const ProtobufCServiceDescriptor monitor__monitor__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fmonitor_2fmonitor_2eproto__INCLUDED */
|
LukasHabring/api | c/google/protobuf/timestamp.pb-c.h | <gh_stars>10-100
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/gogo/protobuf/protobuf/google/protobuf/timestamp.proto */
#ifndef PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2ftimestamp_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2ftimestamp_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
typedef struct _Google__Protobuf__Timestamp Google__Protobuf__Timestamp;
/* --- enums --- */
/* --- messages --- */
/*
* A Timestamp represents a point in time independent of any time zone
* or calendar, represented as seconds and fractions of seconds at
* nanosecond resolution in UTC Epoch time. It is encoded using the
* Proleptic Gregorian Calendar which extends the Gregorian calendar
* backwards to year one. It is encoded assuming all minutes are 60
* seconds long, i.e. leap seconds are "smeared" so that no leap second
* table is needed for interpretation. Range is from
* 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
* By restricting to that range, we ensure that we can convert to
* and from RFC 3339 date strings.
* See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
* # Examples
* Example 1: Compute Timestamp from POSIX `time()`.
* Timestamp timestamp;
* timestamp.set_seconds(time(NULL));
* timestamp.set_nanos(0);
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
* struct timeval tv;
* gettimeofday(&tv, NULL);
* Timestamp timestamp;
* timestamp.set_seconds(tv.tv_sec);
* timestamp.set_nanos(tv.tv_usec * 1000);
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
* FILETIME ft;
* GetSystemTimeAsFileTime(&ft);
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
* Timestamp timestamp;
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
* long millis = System.currentTimeMillis();
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
* .setNanos((int) ((millis % 1000) * 1000000)).build();
* Example 5: Compute Timestamp from current time in Python.
* timestamp = Timestamp()
* timestamp.GetCurrentTime()
* # JSON Mapping
* In JSON format, the Timestamp type is encoded as a string in the
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
* where {year} is always expressed using four digits while {month}, {day},
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
* is required, though only UTC (as indicated by "Z") is presently supported.
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
* 01:30 UTC on January 15, 2017.
* In JavaScript, one can convert a Date object to this format using the
* standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
* method. In Python, a standard `datetime.datetime` object can be converted
* to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
* with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
* can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
* to obtain a formatter capable of generating timestamps in this format.
*/
struct _Google__Protobuf__Timestamp
{
ProtobufCMessage base;
/*
* Represents seconds of UTC time since Unix epoch
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
* 9999-12-31T23:59:59Z inclusive.
*/
int64_t seconds;
/*
* Non-negative fractions of a second at nanosecond resolution. Negative
* second values with fractions must still have non-negative nanos values
* that count forward in time. Must be from 0 to 999,999,999
* inclusive.
*/
int32_t nanos;
};
#define GOOGLE__PROTOBUF__TIMESTAMP__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__timestamp__descriptor) \
, 0, 0 }
/* Google__Protobuf__Timestamp methods */
void google__protobuf__timestamp__init
(Google__Protobuf__Timestamp *message);
size_t google__protobuf__timestamp__get_packed_size
(const Google__Protobuf__Timestamp *message);
size_t google__protobuf__timestamp__pack
(const Google__Protobuf__Timestamp *message,
uint8_t *out);
size_t google__protobuf__timestamp__pack_to_buffer
(const Google__Protobuf__Timestamp *message,
ProtobufCBuffer *buffer);
Google__Protobuf__Timestamp *
google__protobuf__timestamp__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__timestamp__free_unpacked
(Google__Protobuf__Timestamp *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Google__Protobuf__Timestamp_Closure)
(const Google__Protobuf__Timestamp *message,
void *closure_data);
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor google__protobuf__timestamp__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2ftimestamp_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/protocol/lorawan/device.pb-c.c | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/protocol/lorawan/device.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/protocol/lorawan/device.pb-c.h"
void lorawan__device_identifier__init
(Lorawan__DeviceIdentifier *message)
{
static const Lorawan__DeviceIdentifier init_value = LORAWAN__DEVICE_IDENTIFIER__INIT;
*message = init_value;
}
size_t lorawan__device_identifier__get_packed_size
(const Lorawan__DeviceIdentifier *message)
{
assert(message->base.descriptor == &lorawan__device_identifier__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t lorawan__device_identifier__pack
(const Lorawan__DeviceIdentifier *message,
uint8_t *out)
{
assert(message->base.descriptor == &lorawan__device_identifier__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t lorawan__device_identifier__pack_to_buffer
(const Lorawan__DeviceIdentifier *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &lorawan__device_identifier__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Lorawan__DeviceIdentifier *
lorawan__device_identifier__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Lorawan__DeviceIdentifier *)
protobuf_c_message_unpack (&lorawan__device_identifier__descriptor,
allocator, len, data);
}
void lorawan__device_identifier__free_unpacked
(Lorawan__DeviceIdentifier *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &lorawan__device_identifier__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void lorawan__device__init
(Lorawan__Device *message)
{
static const Lorawan__Device init_value = LORAWAN__DEVICE__INIT;
*message = init_value;
}
size_t lorawan__device__get_packed_size
(const Lorawan__Device *message)
{
assert(message->base.descriptor == &lorawan__device__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t lorawan__device__pack
(const Lorawan__Device *message,
uint8_t *out)
{
assert(message->base.descriptor == &lorawan__device__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t lorawan__device__pack_to_buffer
(const Lorawan__Device *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &lorawan__device__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Lorawan__Device *
lorawan__device__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Lorawan__Device *)
protobuf_c_message_unpack (&lorawan__device__descriptor,
allocator, len, data);
}
void lorawan__device__free_unpacked
(Lorawan__Device *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &lorawan__device__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor lorawan__device_identifier__field_descriptors[2] =
{
{
"app_eui",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__DeviceIdentifier, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__DeviceIdentifier, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned lorawan__device_identifier__field_indices_by_name[] = {
0, /* field[0] = app_eui */
1, /* field[1] = dev_eui */
};
static const ProtobufCIntRange lorawan__device_identifier__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor lorawan__device_identifier__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"lorawan.DeviceIdentifier",
"DeviceIdentifier",
"Lorawan__DeviceIdentifier",
"lorawan",
sizeof(Lorawan__DeviceIdentifier),
2,
lorawan__device_identifier__field_descriptors,
lorawan__device_identifier__field_indices_by_name,
1, lorawan__device_identifier__number_ranges,
(ProtobufCMessageInit) lorawan__device_identifier__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor lorawan__device__field_descriptors[16] =
{
{
"app_eui",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__Device, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__Device, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_id",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Lorawan__Device, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Lorawan__Device, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_addr",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__Device, dev_addr),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"nwk_s_key",
6,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__Device, nwk_s_key),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_s_key",
7,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__Device, app_s_key),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_key",
8,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Lorawan__Device, app_key),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"f_cnt_up",
9,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Lorawan__Device, f_cnt_up),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"f_cnt_down",
10,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Lorawan__Device, f_cnt_down),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"disable_f_cnt_check",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BOOL,
0, /* quantifier_offset */
offsetof(Lorawan__Device, disable_f_cnt_check),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"uses32_bit_f_cnt",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BOOL,
0, /* quantifier_offset */
offsetof(Lorawan__Device, uses32_bit_f_cnt),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activation_constraints",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Lorawan__Device, activation_constraints),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"used_dev_nonces",
14,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_BYTES,
offsetof(Lorawan__Device, n_used_dev_nonces),
offsetof(Lorawan__Device, used_dev_nonces),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"used_app_nonces",
15,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_BYTES,
offsetof(Lorawan__Device, n_used_app_nonces),
offsetof(Lorawan__Device, used_app_nonces),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"last_seen",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Lorawan__Device, last_seen),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned lorawan__device__field_indices_by_name[] = {
12, /* field[12] = activation_constraints */
0, /* field[0] = app_eui */
2, /* field[2] = app_id */
7, /* field[7] = app_key */
6, /* field[6] = app_s_key */
4, /* field[4] = dev_addr */
1, /* field[1] = dev_eui */
3, /* field[3] = dev_id */
10, /* field[10] = disable_f_cnt_check */
9, /* field[9] = f_cnt_down */
8, /* field[8] = f_cnt_up */
15, /* field[15] = last_seen */
5, /* field[5] = nwk_s_key */
14, /* field[14] = used_app_nonces */
13, /* field[13] = used_dev_nonces */
11, /* field[11] = uses32_bit_f_cnt */
};
static const ProtobufCIntRange lorawan__device__number_ranges[2 + 1] =
{
{ 1, 0 },
{ 21, 15 },
{ 0, 16 }
};
const ProtobufCMessageDescriptor lorawan__device__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"lorawan.Device",
"Device",
"Lorawan__Device",
"lorawan",
sizeof(Lorawan__Device),
16,
lorawan__device__field_descriptors,
lorawan__device__field_indices_by_name,
2, lorawan__device__number_ranges,
(ProtobufCMessageInit) lorawan__device__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCMethodDescriptor lorawan__device_manager__method_descriptors[3] =
{
{ "GetDevice", &lorawan__device_identifier__descriptor, &lorawan__device__descriptor },
{ "SetDevice", &lorawan__device__descriptor, &google__protobuf__empty__descriptor },
{ "DeleteDevice", &lorawan__device_identifier__descriptor, &google__protobuf__empty__descriptor },
};
const unsigned lorawan__device_manager__method_indices_by_name[] = {
2, /* DeleteDevice */
0, /* GetDevice */
1 /* SetDevice */
};
const ProtobufCServiceDescriptor lorawan__device_manager__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"lorawan.DeviceManager",
"DeviceManager",
"Lorawan__DeviceManager",
"lorawan",
3,
lorawan__device_manager__method_descriptors,
lorawan__device_manager__method_indices_by_name
};
void lorawan__device_manager__get_device(ProtobufCService *service,
const Lorawan__DeviceIdentifier *input,
Lorawan__Device_Closure closure,
void *closure_data)
{
assert(service->descriptor == &lorawan__device_manager__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void lorawan__device_manager__set_device(ProtobufCService *service,
const Lorawan__Device *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &lorawan__device_manager__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void lorawan__device_manager__delete_device(ProtobufCService *service,
const Lorawan__DeviceIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &lorawan__device_manager__descriptor);
service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void lorawan__device_manager__init (Lorawan__DeviceManager_Service *service,
Lorawan__DeviceManager_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&lorawan__device_manager__descriptor,
(ProtobufCServiceDestroy) destroy);
}
|
LukasHabring/api | c/google/protobuf/wrappers.pb-c.h | <gh_stars>10-100
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/gogo/protobuf/protobuf/google/protobuf/wrappers.proto */
#ifndef PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fwrappers_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fwrappers_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
typedef struct _Google__Protobuf__DoubleValue Google__Protobuf__DoubleValue;
typedef struct _Google__Protobuf__FloatValue Google__Protobuf__FloatValue;
typedef struct _Google__Protobuf__Int64Value Google__Protobuf__Int64Value;
typedef struct _Google__Protobuf__UInt64Value Google__Protobuf__UInt64Value;
typedef struct _Google__Protobuf__Int32Value Google__Protobuf__Int32Value;
typedef struct _Google__Protobuf__UInt32Value Google__Protobuf__UInt32Value;
typedef struct _Google__Protobuf__BoolValue Google__Protobuf__BoolValue;
typedef struct _Google__Protobuf__StringValue Google__Protobuf__StringValue;
typedef struct _Google__Protobuf__BytesValue Google__Protobuf__BytesValue;
/* --- enums --- */
/* --- messages --- */
/*
* Wrapper message for `double`.
* The JSON representation for `DoubleValue` is JSON number.
*/
struct _Google__Protobuf__DoubleValue
{
ProtobufCMessage base;
/*
* The double value.
*/
double value;
};
#define GOOGLE__PROTOBUF__DOUBLE_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__double_value__descriptor) \
, 0 }
/*
* Wrapper message for `float`.
* The JSON representation for `FloatValue` is JSON number.
*/
struct _Google__Protobuf__FloatValue
{
ProtobufCMessage base;
/*
* The float value.
*/
float value;
};
#define GOOGLE__PROTOBUF__FLOAT_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__float_value__descriptor) \
, 0 }
/*
* Wrapper message for `int64`.
* The JSON representation for `Int64Value` is JSON string.
*/
struct _Google__Protobuf__Int64Value
{
ProtobufCMessage base;
/*
* The int64 value.
*/
int64_t value;
};
#define GOOGLE__PROTOBUF__INT64_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__int64_value__descriptor) \
, 0 }
/*
* Wrapper message for `uint64`.
* The JSON representation for `UInt64Value` is JSON string.
*/
struct _Google__Protobuf__UInt64Value
{
ProtobufCMessage base;
/*
* The uint64 value.
*/
uint64_t value;
};
#define GOOGLE__PROTOBUF__UINT64_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__uint64_value__descriptor) \
, 0 }
/*
* Wrapper message for `int32`.
* The JSON representation for `Int32Value` is JSON number.
*/
struct _Google__Protobuf__Int32Value
{
ProtobufCMessage base;
/*
* The int32 value.
*/
int32_t value;
};
#define GOOGLE__PROTOBUF__INT32_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__int32_value__descriptor) \
, 0 }
/*
* Wrapper message for `uint32`.
* The JSON representation for `UInt32Value` is JSON number.
*/
struct _Google__Protobuf__UInt32Value
{
ProtobufCMessage base;
/*
* The uint32 value.
*/
uint32_t value;
};
#define GOOGLE__PROTOBUF__UINT32_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__uint32_value__descriptor) \
, 0 }
/*
* Wrapper message for `bool`.
* The JSON representation for `BoolValue` is JSON `true` and `false`.
*/
struct _Google__Protobuf__BoolValue
{
ProtobufCMessage base;
/*
* The bool value.
*/
protobuf_c_boolean value;
};
#define GOOGLE__PROTOBUF__BOOL_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__bool_value__descriptor) \
, 0 }
/*
* Wrapper message for `string`.
* The JSON representation for `StringValue` is JSON string.
*/
struct _Google__Protobuf__StringValue
{
ProtobufCMessage base;
/*
* The string value.
*/
char *value;
};
#define GOOGLE__PROTOBUF__STRING_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__string_value__descriptor) \
, (char *)protobuf_c_empty_string }
/*
* Wrapper message for `bytes`.
* The JSON representation for `BytesValue` is JSON string.
*/
struct _Google__Protobuf__BytesValue
{
ProtobufCMessage base;
/*
* The bytes value.
*/
ProtobufCBinaryData value;
};
#define GOOGLE__PROTOBUF__BYTES_VALUE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__bytes_value__descriptor) \
, {0,NULL} }
/* Google__Protobuf__DoubleValue methods */
void google__protobuf__double_value__init
(Google__Protobuf__DoubleValue *message);
size_t google__protobuf__double_value__get_packed_size
(const Google__Protobuf__DoubleValue *message);
size_t google__protobuf__double_value__pack
(const Google__Protobuf__DoubleValue *message,
uint8_t *out);
size_t google__protobuf__double_value__pack_to_buffer
(const Google__Protobuf__DoubleValue *message,
ProtobufCBuffer *buffer);
Google__Protobuf__DoubleValue *
google__protobuf__double_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__double_value__free_unpacked
(Google__Protobuf__DoubleValue *message,
ProtobufCAllocator *allocator);
/* Google__Protobuf__FloatValue methods */
void google__protobuf__float_value__init
(Google__Protobuf__FloatValue *message);
size_t google__protobuf__float_value__get_packed_size
(const Google__Protobuf__FloatValue *message);
size_t google__protobuf__float_value__pack
(const Google__Protobuf__FloatValue *message,
uint8_t *out);
size_t google__protobuf__float_value__pack_to_buffer
(const Google__Protobuf__FloatValue *message,
ProtobufCBuffer *buffer);
Google__Protobuf__FloatValue *
google__protobuf__float_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__float_value__free_unpacked
(Google__Protobuf__FloatValue *message,
ProtobufCAllocator *allocator);
/* Google__Protobuf__Int64Value methods */
void google__protobuf__int64_value__init
(Google__Protobuf__Int64Value *message);
size_t google__protobuf__int64_value__get_packed_size
(const Google__Protobuf__Int64Value *message);
size_t google__protobuf__int64_value__pack
(const Google__Protobuf__Int64Value *message,
uint8_t *out);
size_t google__protobuf__int64_value__pack_to_buffer
(const Google__Protobuf__Int64Value *message,
ProtobufCBuffer *buffer);
Google__Protobuf__Int64Value *
google__protobuf__int64_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__int64_value__free_unpacked
(Google__Protobuf__Int64Value *message,
ProtobufCAllocator *allocator);
/* Google__Protobuf__UInt64Value methods */
void google__protobuf__uint64_value__init
(Google__Protobuf__UInt64Value *message);
size_t google__protobuf__uint64_value__get_packed_size
(const Google__Protobuf__UInt64Value *message);
size_t google__protobuf__uint64_value__pack
(const Google__Protobuf__UInt64Value *message,
uint8_t *out);
size_t google__protobuf__uint64_value__pack_to_buffer
(const Google__Protobuf__UInt64Value *message,
ProtobufCBuffer *buffer);
Google__Protobuf__UInt64Value *
google__protobuf__uint64_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__uint64_value__free_unpacked
(Google__Protobuf__UInt64Value *message,
ProtobufCAllocator *allocator);
/* Google__Protobuf__Int32Value methods */
void google__protobuf__int32_value__init
(Google__Protobuf__Int32Value *message);
size_t google__protobuf__int32_value__get_packed_size
(const Google__Protobuf__Int32Value *message);
size_t google__protobuf__int32_value__pack
(const Google__Protobuf__Int32Value *message,
uint8_t *out);
size_t google__protobuf__int32_value__pack_to_buffer
(const Google__Protobuf__Int32Value *message,
ProtobufCBuffer *buffer);
Google__Protobuf__Int32Value *
google__protobuf__int32_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__int32_value__free_unpacked
(Google__Protobuf__Int32Value *message,
ProtobufCAllocator *allocator);
/* Google__Protobuf__UInt32Value methods */
void google__protobuf__uint32_value__init
(Google__Protobuf__UInt32Value *message);
size_t google__protobuf__uint32_value__get_packed_size
(const Google__Protobuf__UInt32Value *message);
size_t google__protobuf__uint32_value__pack
(const Google__Protobuf__UInt32Value *message,
uint8_t *out);
size_t google__protobuf__uint32_value__pack_to_buffer
(const Google__Protobuf__UInt32Value *message,
ProtobufCBuffer *buffer);
Google__Protobuf__UInt32Value *
google__protobuf__uint32_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__uint32_value__free_unpacked
(Google__Protobuf__UInt32Value *message,
ProtobufCAllocator *allocator);
/* Google__Protobuf__BoolValue methods */
void google__protobuf__bool_value__init
(Google__Protobuf__BoolValue *message);
size_t google__protobuf__bool_value__get_packed_size
(const Google__Protobuf__BoolValue *message);
size_t google__protobuf__bool_value__pack
(const Google__Protobuf__BoolValue *message,
uint8_t *out);
size_t google__protobuf__bool_value__pack_to_buffer
(const Google__Protobuf__BoolValue *message,
ProtobufCBuffer *buffer);
Google__Protobuf__BoolValue *
google__protobuf__bool_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__bool_value__free_unpacked
(Google__Protobuf__BoolValue *message,
ProtobufCAllocator *allocator);
/* Google__Protobuf__StringValue methods */
void google__protobuf__string_value__init
(Google__Protobuf__StringValue *message);
size_t google__protobuf__string_value__get_packed_size
(const Google__Protobuf__StringValue *message);
size_t google__protobuf__string_value__pack
(const Google__Protobuf__StringValue *message,
uint8_t *out);
size_t google__protobuf__string_value__pack_to_buffer
(const Google__Protobuf__StringValue *message,
ProtobufCBuffer *buffer);
Google__Protobuf__StringValue *
google__protobuf__string_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__string_value__free_unpacked
(Google__Protobuf__StringValue *message,
ProtobufCAllocator *allocator);
/* Google__Protobuf__BytesValue methods */
void google__protobuf__bytes_value__init
(Google__Protobuf__BytesValue *message);
size_t google__protobuf__bytes_value__get_packed_size
(const Google__Protobuf__BytesValue *message);
size_t google__protobuf__bytes_value__pack
(const Google__Protobuf__BytesValue *message,
uint8_t *out);
size_t google__protobuf__bytes_value__pack_to_buffer
(const Google__Protobuf__BytesValue *message,
ProtobufCBuffer *buffer);
Google__Protobuf__BytesValue *
google__protobuf__bytes_value__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__bytes_value__free_unpacked
(Google__Protobuf__BytesValue *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Google__Protobuf__DoubleValue_Closure)
(const Google__Protobuf__DoubleValue *message,
void *closure_data);
typedef void (*Google__Protobuf__FloatValue_Closure)
(const Google__Protobuf__FloatValue *message,
void *closure_data);
typedef void (*Google__Protobuf__Int64Value_Closure)
(const Google__Protobuf__Int64Value *message,
void *closure_data);
typedef void (*Google__Protobuf__UInt64Value_Closure)
(const Google__Protobuf__UInt64Value *message,
void *closure_data);
typedef void (*Google__Protobuf__Int32Value_Closure)
(const Google__Protobuf__Int32Value *message,
void *closure_data);
typedef void (*Google__Protobuf__UInt32Value_Closure)
(const Google__Protobuf__UInt32Value *message,
void *closure_data);
typedef void (*Google__Protobuf__BoolValue_Closure)
(const Google__Protobuf__BoolValue *message,
void *closure_data);
typedef void (*Google__Protobuf__StringValue_Closure)
(const Google__Protobuf__StringValue *message,
void *closure_data);
typedef void (*Google__Protobuf__BytesValue_Closure)
(const Google__Protobuf__BytesValue *message,
void *closure_data);
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor google__protobuf__double_value__descriptor;
extern const ProtobufCMessageDescriptor google__protobuf__float_value__descriptor;
extern const ProtobufCMessageDescriptor google__protobuf__int64_value__descriptor;
extern const ProtobufCMessageDescriptor google__protobuf__uint64_value__descriptor;
extern const ProtobufCMessageDescriptor google__protobuf__int32_value__descriptor;
extern const ProtobufCMessageDescriptor google__protobuf__uint32_value__descriptor;
extern const ProtobufCMessageDescriptor google__protobuf__bool_value__descriptor;
extern const ProtobufCMessageDescriptor google__protobuf__string_value__descriptor;
extern const ProtobufCMessageDescriptor google__protobuf__bytes_value__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fwrappers_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/gateway/gateway.pb-c.c | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/gateway/gateway.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/gateway/gateway.pb-c.h"
void gateway__location_metadata__init
(Gateway__LocationMetadata *message)
{
static const Gateway__LocationMetadata init_value = GATEWAY__LOCATION_METADATA__INIT;
*message = init_value;
}
size_t gateway__location_metadata__get_packed_size
(const Gateway__LocationMetadata *message)
{
assert(message->base.descriptor == &gateway__location_metadata__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t gateway__location_metadata__pack
(const Gateway__LocationMetadata *message,
uint8_t *out)
{
assert(message->base.descriptor == &gateway__location_metadata__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t gateway__location_metadata__pack_to_buffer
(const Gateway__LocationMetadata *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &gateway__location_metadata__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Gateway__LocationMetadata *
gateway__location_metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Gateway__LocationMetadata *)
protobuf_c_message_unpack (&gateway__location_metadata__descriptor,
allocator, len, data);
}
void gateway__location_metadata__free_unpacked
(Gateway__LocationMetadata *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &gateway__location_metadata__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void gateway__rx_metadata__antenna__init
(Gateway__RxMetadata__Antenna *message)
{
static const Gateway__RxMetadata__Antenna init_value = GATEWAY__RX_METADATA__ANTENNA__INIT;
*message = init_value;
}
void gateway__rx_metadata__init
(Gateway__RxMetadata *message)
{
static const Gateway__RxMetadata init_value = GATEWAY__RX_METADATA__INIT;
*message = init_value;
}
size_t gateway__rx_metadata__get_packed_size
(const Gateway__RxMetadata *message)
{
assert(message->base.descriptor == &gateway__rx_metadata__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t gateway__rx_metadata__pack
(const Gateway__RxMetadata *message,
uint8_t *out)
{
assert(message->base.descriptor == &gateway__rx_metadata__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t gateway__rx_metadata__pack_to_buffer
(const Gateway__RxMetadata *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &gateway__rx_metadata__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Gateway__RxMetadata *
gateway__rx_metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Gateway__RxMetadata *)
protobuf_c_message_unpack (&gateway__rx_metadata__descriptor,
allocator, len, data);
}
void gateway__rx_metadata__free_unpacked
(Gateway__RxMetadata *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &gateway__rx_metadata__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void gateway__tx_configuration__init
(Gateway__TxConfiguration *message)
{
static const Gateway__TxConfiguration init_value = GATEWAY__TX_CONFIGURATION__INIT;
*message = init_value;
}
size_t gateway__tx_configuration__get_packed_size
(const Gateway__TxConfiguration *message)
{
assert(message->base.descriptor == &gateway__tx_configuration__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t gateway__tx_configuration__pack
(const Gateway__TxConfiguration *message,
uint8_t *out)
{
assert(message->base.descriptor == &gateway__tx_configuration__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t gateway__tx_configuration__pack_to_buffer
(const Gateway__TxConfiguration *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &gateway__tx_configuration__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Gateway__TxConfiguration *
gateway__tx_configuration__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Gateway__TxConfiguration *)
protobuf_c_message_unpack (&gateway__tx_configuration__descriptor,
allocator, len, data);
}
void gateway__tx_configuration__free_unpacked
(Gateway__TxConfiguration *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &gateway__tx_configuration__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void gateway__status__osmetrics__init
(Gateway__Status__OSMetrics *message)
{
static const Gateway__Status__OSMetrics init_value = GATEWAY__STATUS__OSMETRICS__INIT;
*message = init_value;
}
void gateway__status__init
(Gateway__Status *message)
{
static const Gateway__Status init_value = GATEWAY__STATUS__INIT;
*message = init_value;
}
size_t gateway__status__get_packed_size
(const Gateway__Status *message)
{
assert(message->base.descriptor == &gateway__status__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t gateway__status__pack
(const Gateway__Status *message,
uint8_t *out)
{
assert(message->base.descriptor == &gateway__status__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t gateway__status__pack_to_buffer
(const Gateway__Status *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &gateway__status__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Gateway__Status *
gateway__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Gateway__Status *)
protobuf_c_message_unpack (&gateway__status__descriptor,
allocator, len, data);
}
void gateway__status__free_unpacked
(Gateway__Status *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &gateway__status__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCEnumValue gateway__location_metadata__location_source__enum_values_by_number[5] =
{
{ "UNKNOWN", "GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__UNKNOWN", 0 },
{ "GPS", "GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__GPS", 1 },
{ "CONFIG", "GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__CONFIG", 2 },
{ "REGISTRY", "GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__REGISTRY", 3 },
{ "IP_GEOLOCATION", "GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__IP_GEOLOCATION", 4 },
};
static const ProtobufCIntRange gateway__location_metadata__location_source__value_ranges[] = {
{0, 0},{0, 5}
};
static const ProtobufCEnumValueIndex gateway__location_metadata__location_source__enum_values_by_name[5] =
{
{ "CONFIG", 2 },
{ "GPS", 1 },
{ "IP_GEOLOCATION", 4 },
{ "REGISTRY", 3 },
{ "UNKNOWN", 0 },
};
const ProtobufCEnumDescriptor gateway__location_metadata__location_source__descriptor =
{
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
"gateway.LocationMetadata.LocationSource",
"LocationSource",
"Gateway__LocationMetadata__LocationSource",
"gateway",
5,
gateway__location_metadata__location_source__enum_values_by_number,
5,
gateway__location_metadata__location_source__enum_values_by_name,
1,
gateway__location_metadata__location_source__value_ranges,
NULL,NULL,NULL,NULL /* reserved[1234] */
};
static const ProtobufCFieldDescriptor gateway__location_metadata__field_descriptors[6] =
{
{
"time",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Gateway__LocationMetadata, time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"latitude",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__LocationMetadata, latitude),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"longitude",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__LocationMetadata, longitude),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"altitude",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT32,
0, /* quantifier_offset */
offsetof(Gateway__LocationMetadata, altitude),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"accuracy",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT32,
0, /* quantifier_offset */
offsetof(Gateway__LocationMetadata, accuracy),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"source",
6,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_ENUM,
0, /* quantifier_offset */
offsetof(Gateway__LocationMetadata, source),
&gateway__location_metadata__location_source__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned gateway__location_metadata__field_indices_by_name[] = {
4, /* field[4] = accuracy */
3, /* field[3] = altitude */
1, /* field[1] = latitude */
2, /* field[2] = longitude */
5, /* field[5] = source */
0, /* field[0] = time */
};
static const ProtobufCIntRange gateway__location_metadata__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 6 }
};
const ProtobufCMessageDescriptor gateway__location_metadata__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"gateway.LocationMetadata",
"LocationMetadata",
"Gateway__LocationMetadata",
"gateway",
sizeof(Gateway__LocationMetadata),
6,
gateway__location_metadata__field_descriptors,
gateway__location_metadata__field_indices_by_name,
1, gateway__location_metadata__number_ranges,
(ProtobufCMessageInit) gateway__location_metadata__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor gateway__rx_metadata__antenna__field_descriptors[9] =
{
{
"antenna",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, antenna),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"channel",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, channel),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rssi",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, rssi),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"snr",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, snr),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"channel_rssi",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, channel_rssi),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rssi_standard_deviation",
6,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, rssi_standard_deviation),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"frequency_offset",
7,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, frequency_offset),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"encrypted_time",
10,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, encrypted_time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"fine_time",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata__Antenna, fine_time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned gateway__rx_metadata__antenna__field_indices_by_name[] = {
0, /* field[0] = antenna */
1, /* field[1] = channel */
4, /* field[4] = channel_rssi */
7, /* field[7] = encrypted_time */
8, /* field[8] = fine_time */
6, /* field[6] = frequency_offset */
2, /* field[2] = rssi */
5, /* field[5] = rssi_standard_deviation */
3, /* field[3] = snr */
};
static const ProtobufCIntRange gateway__rx_metadata__antenna__number_ranges[2 + 1] =
{
{ 1, 0 },
{ 10, 7 },
{ 0, 9 }
};
const ProtobufCMessageDescriptor gateway__rx_metadata__antenna__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"gateway.RxMetadata.Antenna",
"Antenna",
"Gateway__RxMetadata__Antenna",
"gateway",
sizeof(Gateway__RxMetadata__Antenna),
9,
gateway__rx_metadata__antenna__field_descriptors,
gateway__rx_metadata__antenna__field_indices_by_name,
2, gateway__rx_metadata__antenna__number_ranges,
(ProtobufCMessageInit) gateway__rx_metadata__antenna__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor gateway__rx_metadata__field_descriptors[12] =
{
{
"gateway_id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, gateway_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_trusted",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BOOL,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, gateway_trusted),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"timestamp",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, timestamp),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"time",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"encrypted_time",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, encrypted_time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rf_chain",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, rf_chain),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"channel",
22,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, channel),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"antennas",
30,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Gateway__RxMetadata, n_antennas),
offsetof(Gateway__RxMetadata, antennas),
&gateway__rx_metadata__antenna__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"frequency",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, frequency),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rssi",
32,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, rssi),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"snr",
33,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, snr),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"location",
41,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Gateway__RxMetadata, location),
&gateway__location_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned gateway__rx_metadata__field_indices_by_name[] = {
7, /* field[7] = antennas */
6, /* field[6] = channel */
4, /* field[4] = encrypted_time */
8, /* field[8] = frequency */
0, /* field[0] = gateway_id */
1, /* field[1] = gateway_trusted */
11, /* field[11] = location */
5, /* field[5] = rf_chain */
9, /* field[9] = rssi */
10, /* field[10] = snr */
3, /* field[3] = time */
2, /* field[2] = timestamp */
};
static const ProtobufCIntRange gateway__rx_metadata__number_ranges[5 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 5 },
{ 30, 7 },
{ 41, 11 },
{ 0, 12 }
};
const ProtobufCMessageDescriptor gateway__rx_metadata__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"gateway.RxMetadata",
"RxMetadata",
"Gateway__RxMetadata",
"gateway",
sizeof(Gateway__RxMetadata),
12,
gateway__rx_metadata__field_descriptors,
gateway__rx_metadata__field_indices_by_name,
5, gateway__rx_metadata__number_ranges,
(ProtobufCMessageInit) gateway__rx_metadata__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor gateway__tx_configuration__field_descriptors[6] =
{
{
"timestamp",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__TxConfiguration, timestamp),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rf_chain",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__TxConfiguration, rf_chain),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"frequency",
22,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Gateway__TxConfiguration, frequency),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"power",
23,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT32,
0, /* quantifier_offset */
offsetof(Gateway__TxConfiguration, power),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"polarization_inversion",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BOOL,
0, /* quantifier_offset */
offsetof(Gateway__TxConfiguration, polarization_inversion),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"frequency_deviation",
32,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__TxConfiguration, frequency_deviation),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned gateway__tx_configuration__field_indices_by_name[] = {
2, /* field[2] = frequency */
5, /* field[5] = frequency_deviation */
4, /* field[4] = polarization_inversion */
3, /* field[3] = power */
1, /* field[1] = rf_chain */
0, /* field[0] = timestamp */
};
static const ProtobufCIntRange gateway__tx_configuration__number_ranges[3 + 1] =
{
{ 11, 0 },
{ 21, 1 },
{ 31, 4 },
{ 0, 6 }
};
const ProtobufCMessageDescriptor gateway__tx_configuration__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"gateway.TxConfiguration",
"TxConfiguration",
"Gateway__TxConfiguration",
"gateway",
sizeof(Gateway__TxConfiguration),
6,
gateway__tx_configuration__field_descriptors,
gateway__tx_configuration__field_indices_by_name,
3, gateway__tx_configuration__number_ranges,
(ProtobufCMessageInit) gateway__tx_configuration__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor gateway__status__osmetrics__field_descriptors[6] =
{
{
"load_1",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__Status__OSMetrics, load_1),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"load_5",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__Status__OSMetrics, load_5),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"load_15",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__Status__OSMetrics, load_15),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"cpu_percentage",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__Status__OSMetrics, cpu_percentage),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"memory_percentage",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__Status__OSMetrics, memory_percentage),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"temperature",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Gateway__Status__OSMetrics, temperature),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned gateway__status__osmetrics__field_indices_by_name[] = {
3, /* field[3] = cpu_percentage */
0, /* field[0] = load_1 */
2, /* field[2] = load_15 */
1, /* field[1] = load_5 */
4, /* field[4] = memory_percentage */
5, /* field[5] = temperature */
};
static const ProtobufCIntRange gateway__status__osmetrics__number_ranges[4 + 1] =
{
{ 1, 0 },
{ 11, 3 },
{ 21, 4 },
{ 31, 5 },
{ 0, 6 }
};
const ProtobufCMessageDescriptor gateway__status__osmetrics__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"gateway.Status.OSMetrics",
"OSMetrics",
"Gateway__Status__OSMetrics",
"gateway",
sizeof(Gateway__Status__OSMetrics),
6,
gateway__status__osmetrics__field_descriptors,
gateway__status__osmetrics__field_indices_by_name,
4, gateway__status__osmetrics__number_ranges,
(ProtobufCMessageInit) gateway__status__osmetrics__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor gateway__status__field_descriptors[26] =
{
{
"timestamp",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, timestamp),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"time",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Gateway__Status, time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_trusted",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BOOL,
0, /* quantifier_offset */
offsetof(Gateway__Status, gateway_trusted),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"boot_time",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Gateway__Status, boot_time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"ip",
11,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_STRING,
offsetof(Gateway__Status, n_ip),
offsetof(Gateway__Status, ip),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"platform",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Gateway__Status, platform),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"contact_email",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Gateway__Status, contact_email),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"description",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Gateway__Status, description),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"frequency_plan",
15,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Gateway__Status, frequency_plan),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"bridge",
16,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Gateway__Status, bridge),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"router",
17,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Gateway__Status, router),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"fpga",
18,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, fpga),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dsp",
19,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, dsp),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"hal",
20,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Gateway__Status, hal),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"location",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Gateway__Status, location),
&gateway__location_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rtt",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, rtt),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rx_in",
41,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, rx_in),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rx_ok",
42,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, rx_ok),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"tx_in",
43,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, tx_in),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"tx_ok",
44,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, tx_ok),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"lm_ok",
45,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, lm_ok),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"lm_st",
46,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, lm_st),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"lm_nw",
47,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, lm_nw),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"l_pps",
48,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Gateway__Status, l_pps),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"os",
51,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Gateway__Status, os),
&gateway__status__osmetrics__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"messages",
52,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_STRING,
offsetof(Gateway__Status, n_messages),
offsetof(Gateway__Status, messages),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned gateway__status__field_indices_by_name[] = {
3, /* field[3] = boot_time */
9, /* field[9] = bridge */
6, /* field[6] = contact_email */
7, /* field[7] = description */
12, /* field[12] = dsp */
11, /* field[11] = fpga */
8, /* field[8] = frequency_plan */
2, /* field[2] = gateway_trusted */
13, /* field[13] = hal */
4, /* field[4] = ip */
23, /* field[23] = l_pps */
22, /* field[22] = lm_nw */
20, /* field[20] = lm_ok */
21, /* field[21] = lm_st */
14, /* field[14] = location */
25, /* field[25] = messages */
24, /* field[24] = os */
5, /* field[5] = platform */
10, /* field[10] = router */
15, /* field[15] = rtt */
16, /* field[16] = rx_in */
17, /* field[17] = rx_ok */
1, /* field[1] = time */
0, /* field[0] = timestamp */
18, /* field[18] = tx_in */
19, /* field[19] = tx_ok */
};
static const ProtobufCIntRange gateway__status__number_ranges[5 + 1] =
{
{ 1, 0 },
{ 11, 4 },
{ 31, 15 },
{ 41, 16 },
{ 51, 24 },
{ 0, 26 }
};
const ProtobufCMessageDescriptor gateway__status__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"gateway.Status",
"Status",
"Gateway__Status",
"gateway",
sizeof(Gateway__Status),
26,
gateway__status__field_descriptors,
gateway__status__field_indices_by_name,
5, gateway__status__number_ranges,
(ProtobufCMessageInit) gateway__status__init,
NULL,NULL,NULL /* reserved[123] */
};
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/discovery/discovery.pb-c.h | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/discovery/discovery.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fdiscovery_2fdiscovery_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fdiscovery_2fdiscovery_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "google/protobuf/empty.pb-c.h"
#include "google/api/annotations.pb-c.h"
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
typedef struct _Discovery__Metadata Discovery__Metadata;
typedef struct _Discovery__Announcement Discovery__Announcement;
typedef struct _Discovery__GetServiceRequest Discovery__GetServiceRequest;
typedef struct _Discovery__GetRequest Discovery__GetRequest;
typedef struct _Discovery__MetadataRequest Discovery__MetadataRequest;
typedef struct _Discovery__AnnouncementsResponse Discovery__AnnouncementsResponse;
typedef struct _Discovery__GetByAppIDRequest Discovery__GetByAppIDRequest;
typedef struct _Discovery__GetByGatewayIDRequest Discovery__GetByGatewayIDRequest;
typedef struct _Discovery__GetByAppEUIRequest Discovery__GetByAppEUIRequest;
/* --- enums --- */
/* --- messages --- */
typedef enum {
DISCOVERY__METADATA__METADATA__NOT_SET = 0,
DISCOVERY__METADATA__METADATA_GATEWAY_ID = 10,
DISCOVERY__METADATA__METADATA_DEV_ADDR_PREFIX = 20,
DISCOVERY__METADATA__METADATA_APP_ID = 30,
DISCOVERY__METADATA__METADATA_APP_EUI = 31
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(DISCOVERY__METADATA__METADATA)
} Discovery__Metadata__MetadataCase;
struct _Discovery__Metadata
{
ProtobufCMessage base;
Discovery__Metadata__MetadataCase metadata_case;
union {
/*
* GatewayID that is registered to this Router
* This metadata can only be added if the requesting client is authorized to manage this GatewayID.
*/
char *gateway_id;
/*
* DevAddr prefix that is routed by this Broker
* 5 bytes; the first byte is the prefix length, the following 4 bytes are the address.
* Only authorized Brokers can announce PREFIX metadata.
*/
/*
* for some reason gogoproto customtype doesn't work in a oneof, so we do this manually
*/
ProtobufCBinaryData dev_addr_prefix;
/*
* AppID that is registered to this Handler
* This metadata can only be added if the requesting client is authorized to manage this AppID.
*/
char *app_id;
/*
* AppEUI that is registered to this Join Handler
* Only authorized Join Handlers can announce APP_EUI metadata (and we don't have any of those yet).
*/
/*
* for some reason gogoproto customtype doesn't work in a oneof, so we do this manually
*/
ProtobufCBinaryData app_eui;
};
};
#define DISCOVERY__METADATA__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__metadata__descriptor) \
, DISCOVERY__METADATA__METADATA__NOT_SET, {0} }
/*
* The Announcement of a service (also called component)
*/
struct _Discovery__Announcement
{
ProtobufCMessage base;
/*
* The ID of the component
*/
char *id;
/*
* The name of the component (router/broker/handler)
*/
char *service_name;
/*
* Service version in the form "[version]-[commit] ([build date])"
*/
char *service_version;
/*
* Description of the component
*/
char *description;
/*
* URL with documentation or more information about this component
*/
char *url;
/*
* Indicates whether this service is part of The Things Network (the public community network)
*/
protobuf_c_boolean public_;
/*
* Comma-separated network addresses in the form "domain1:port,domain2:port,domain3:port" (currently we only use the first)
*/
char *net_address;
/*
* ECDSA public key of this component
*/
char *public_key;
/*
* TLS Certificate for gRPC on net_address (if TLS is enabled)
*/
char *certificate;
/*
* Contains the address where the HTTP API is exposed (if there is one).
* Format of api_address: `http(s)://domain(:port)`
* default http port is 80, default https port is 443.
*/
char *api_address;
/*
* Contains the address where the MQTT API is exposed (if there is one)
* Format of mqtt_address: `(mqtt(s)://)host(:port)`
* default mqtt port is 1883, default mqtts port is 8883.
* Examples:
* if `host:port` then `mqtt://host:port`
* if `host:8883` then `mqtts://host:8883`
* if `host` then `mqtt://host:1883` and `mqtts://host:8883`
* if `mqtt://host` then `mqtt://host:1883`
* if `mqtts://host` then `mqtt://host:1883` and `mqtts://host:8883`
*/
char *mqtt_address;
/*
* Contains the address where the AMQP API is exposed (if there is one)
* Format of amqp_address: `(amqp(s)://)host(:port)`
* default amqp port is 5672, default amqps port is 5671.
* Examples:
* if `host:port` then `amqp://host:port`
* if `host:5671` then `amqps://host:5671`
* if `host` then `amqp://host:5672` and `amqps://host:5671`
* if `amqp://host` then `amqp://host:5672`
* if `amqps://host` then `amqp://host:5672` and `amqps://host:5671`
*/
char *amqp_address;
/*
* Metadata for this component
*/
size_t n_metadata;
Discovery__Metadata **metadata;
};
#define DISCOVERY__ANNOUNCEMENT__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__announcement__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL }
struct _Discovery__GetServiceRequest
{
ProtobufCMessage base;
/*
* The name of the service (router/broker/handler)
*/
char *service_name;
};
#define DISCOVERY__GET_SERVICE_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__get_service_request__descriptor) \
, (char *)protobuf_c_empty_string }
/*
* The identifier of the service that should be returned
*/
struct _Discovery__GetRequest
{
ProtobufCMessage base;
/*
* The ID of the service
*/
char *id;
/*
* The name of the service (router/broker/handler)
*/
char *service_name;
};
#define DISCOVERY__GET_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__get_request__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
/*
* The metadata to add or remove from an announement
*/
struct _Discovery__MetadataRequest
{
ProtobufCMessage base;
/*
* The ID of the service that should be modified
*/
char *id;
/*
* The name of the service (router/broker/handler) that should be modified
*/
char *service_name;
/*
* Metadata to add or remove
*/
Discovery__Metadata *metadata;
};
#define DISCOVERY__METADATA_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__metadata_request__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, NULL }
/*
* A list of announcements
*/
struct _Discovery__AnnouncementsResponse
{
ProtobufCMessage base;
size_t n_services;
Discovery__Announcement **services;
};
#define DISCOVERY__ANNOUNCEMENTS_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__announcements_response__descriptor) \
, 0,NULL }
struct _Discovery__GetByAppIDRequest
{
ProtobufCMessage base;
/*
* compatible with Metadata message
*/
char *app_id;
};
#define DISCOVERY__GET_BY_APP_IDREQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__get_by_app_idrequest__descriptor) \
, (char *)protobuf_c_empty_string }
struct _Discovery__GetByGatewayIDRequest
{
ProtobufCMessage base;
/*
* compatible with Metadata message
*/
char *gateway_id;
};
#define DISCOVERY__GET_BY_GATEWAY_IDREQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__get_by_gateway_idrequest__descriptor) \
, (char *)protobuf_c_empty_string }
struct _Discovery__GetByAppEUIRequest
{
ProtobufCMessage base;
/*
* compatible with Metadata message
*/
ProtobufCBinaryData app_eui;
};
#define DISCOVERY__GET_BY_APP_EUIREQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&discovery__get_by_app_euirequest__descriptor) \
, {0,NULL} }
/* Discovery__Metadata methods */
void discovery__metadata__init
(Discovery__Metadata *message);
size_t discovery__metadata__get_packed_size
(const Discovery__Metadata *message);
size_t discovery__metadata__pack
(const Discovery__Metadata *message,
uint8_t *out);
size_t discovery__metadata__pack_to_buffer
(const Discovery__Metadata *message,
ProtobufCBuffer *buffer);
Discovery__Metadata *
discovery__metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__metadata__free_unpacked
(Discovery__Metadata *message,
ProtobufCAllocator *allocator);
/* Discovery__Announcement methods */
void discovery__announcement__init
(Discovery__Announcement *message);
size_t discovery__announcement__get_packed_size
(const Discovery__Announcement *message);
size_t discovery__announcement__pack
(const Discovery__Announcement *message,
uint8_t *out);
size_t discovery__announcement__pack_to_buffer
(const Discovery__Announcement *message,
ProtobufCBuffer *buffer);
Discovery__Announcement *
discovery__announcement__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__announcement__free_unpacked
(Discovery__Announcement *message,
ProtobufCAllocator *allocator);
/* Discovery__GetServiceRequest methods */
void discovery__get_service_request__init
(Discovery__GetServiceRequest *message);
size_t discovery__get_service_request__get_packed_size
(const Discovery__GetServiceRequest *message);
size_t discovery__get_service_request__pack
(const Discovery__GetServiceRequest *message,
uint8_t *out);
size_t discovery__get_service_request__pack_to_buffer
(const Discovery__GetServiceRequest *message,
ProtobufCBuffer *buffer);
Discovery__GetServiceRequest *
discovery__get_service_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__get_service_request__free_unpacked
(Discovery__GetServiceRequest *message,
ProtobufCAllocator *allocator);
/* Discovery__GetRequest methods */
void discovery__get_request__init
(Discovery__GetRequest *message);
size_t discovery__get_request__get_packed_size
(const Discovery__GetRequest *message);
size_t discovery__get_request__pack
(const Discovery__GetRequest *message,
uint8_t *out);
size_t discovery__get_request__pack_to_buffer
(const Discovery__GetRequest *message,
ProtobufCBuffer *buffer);
Discovery__GetRequest *
discovery__get_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__get_request__free_unpacked
(Discovery__GetRequest *message,
ProtobufCAllocator *allocator);
/* Discovery__MetadataRequest methods */
void discovery__metadata_request__init
(Discovery__MetadataRequest *message);
size_t discovery__metadata_request__get_packed_size
(const Discovery__MetadataRequest *message);
size_t discovery__metadata_request__pack
(const Discovery__MetadataRequest *message,
uint8_t *out);
size_t discovery__metadata_request__pack_to_buffer
(const Discovery__MetadataRequest *message,
ProtobufCBuffer *buffer);
Discovery__MetadataRequest *
discovery__metadata_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__metadata_request__free_unpacked
(Discovery__MetadataRequest *message,
ProtobufCAllocator *allocator);
/* Discovery__AnnouncementsResponse methods */
void discovery__announcements_response__init
(Discovery__AnnouncementsResponse *message);
size_t discovery__announcements_response__get_packed_size
(const Discovery__AnnouncementsResponse *message);
size_t discovery__announcements_response__pack
(const Discovery__AnnouncementsResponse *message,
uint8_t *out);
size_t discovery__announcements_response__pack_to_buffer
(const Discovery__AnnouncementsResponse *message,
ProtobufCBuffer *buffer);
Discovery__AnnouncementsResponse *
discovery__announcements_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__announcements_response__free_unpacked
(Discovery__AnnouncementsResponse *message,
ProtobufCAllocator *allocator);
/* Discovery__GetByAppIDRequest methods */
void discovery__get_by_app_idrequest__init
(Discovery__GetByAppIDRequest *message);
size_t discovery__get_by_app_idrequest__get_packed_size
(const Discovery__GetByAppIDRequest *message);
size_t discovery__get_by_app_idrequest__pack
(const Discovery__GetByAppIDRequest *message,
uint8_t *out);
size_t discovery__get_by_app_idrequest__pack_to_buffer
(const Discovery__GetByAppIDRequest *message,
ProtobufCBuffer *buffer);
Discovery__GetByAppIDRequest *
discovery__get_by_app_idrequest__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__get_by_app_idrequest__free_unpacked
(Discovery__GetByAppIDRequest *message,
ProtobufCAllocator *allocator);
/* Discovery__GetByGatewayIDRequest methods */
void discovery__get_by_gateway_idrequest__init
(Discovery__GetByGatewayIDRequest *message);
size_t discovery__get_by_gateway_idrequest__get_packed_size
(const Discovery__GetByGatewayIDRequest *message);
size_t discovery__get_by_gateway_idrequest__pack
(const Discovery__GetByGatewayIDRequest *message,
uint8_t *out);
size_t discovery__get_by_gateway_idrequest__pack_to_buffer
(const Discovery__GetByGatewayIDRequest *message,
ProtobufCBuffer *buffer);
Discovery__GetByGatewayIDRequest *
discovery__get_by_gateway_idrequest__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__get_by_gateway_idrequest__free_unpacked
(Discovery__GetByGatewayIDRequest *message,
ProtobufCAllocator *allocator);
/* Discovery__GetByAppEUIRequest methods */
void discovery__get_by_app_euirequest__init
(Discovery__GetByAppEUIRequest *message);
size_t discovery__get_by_app_euirequest__get_packed_size
(const Discovery__GetByAppEUIRequest *message);
size_t discovery__get_by_app_euirequest__pack
(const Discovery__GetByAppEUIRequest *message,
uint8_t *out);
size_t discovery__get_by_app_euirequest__pack_to_buffer
(const Discovery__GetByAppEUIRequest *message,
ProtobufCBuffer *buffer);
Discovery__GetByAppEUIRequest *
discovery__get_by_app_euirequest__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void discovery__get_by_app_euirequest__free_unpacked
(Discovery__GetByAppEUIRequest *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Discovery__Metadata_Closure)
(const Discovery__Metadata *message,
void *closure_data);
typedef void (*Discovery__Announcement_Closure)
(const Discovery__Announcement *message,
void *closure_data);
typedef void (*Discovery__GetServiceRequest_Closure)
(const Discovery__GetServiceRequest *message,
void *closure_data);
typedef void (*Discovery__GetRequest_Closure)
(const Discovery__GetRequest *message,
void *closure_data);
typedef void (*Discovery__MetadataRequest_Closure)
(const Discovery__MetadataRequest *message,
void *closure_data);
typedef void (*Discovery__AnnouncementsResponse_Closure)
(const Discovery__AnnouncementsResponse *message,
void *closure_data);
typedef void (*Discovery__GetByAppIDRequest_Closure)
(const Discovery__GetByAppIDRequest *message,
void *closure_data);
typedef void (*Discovery__GetByGatewayIDRequest_Closure)
(const Discovery__GetByGatewayIDRequest *message,
void *closure_data);
typedef void (*Discovery__GetByAppEUIRequest_Closure)
(const Discovery__GetByAppEUIRequest *message,
void *closure_data);
/* --- services --- */
typedef struct _Discovery__Discovery_Service Discovery__Discovery_Service;
struct _Discovery__Discovery_Service
{
ProtobufCService base;
void (*announce)(Discovery__Discovery_Service *service,
const Discovery__Announcement *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*get_all)(Discovery__Discovery_Service *service,
const Discovery__GetServiceRequest *input,
Discovery__AnnouncementsResponse_Closure closure,
void *closure_data);
void (*get)(Discovery__Discovery_Service *service,
const Discovery__GetRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data);
void (*add_metadata)(Discovery__Discovery_Service *service,
const Discovery__MetadataRequest *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*delete_metadata)(Discovery__Discovery_Service *service,
const Discovery__MetadataRequest *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*get_by_app_id)(Discovery__Discovery_Service *service,
const Discovery__GetByAppIDRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data);
void (*get_by_gateway_id)(Discovery__Discovery_Service *service,
const Discovery__GetByGatewayIDRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data);
void (*get_by_app_eui)(Discovery__Discovery_Service *service,
const Discovery__GetByAppEUIRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data);
};
typedef void (*Discovery__Discovery_ServiceDestroy)(Discovery__Discovery_Service *);
void discovery__discovery__init (Discovery__Discovery_Service *service,
Discovery__Discovery_ServiceDestroy destroy);
#define DISCOVERY__DISCOVERY__BASE_INIT \
{ &discovery__discovery__descriptor, protobuf_c_service_invoke_internal, NULL }
#define DISCOVERY__DISCOVERY__INIT(function_prefix__) \
{ DISCOVERY__DISCOVERY__BASE_INIT,\
function_prefix__ ## announce,\
function_prefix__ ## get_all,\
function_prefix__ ## get,\
function_prefix__ ## add_metadata,\
function_prefix__ ## delete_metadata,\
function_prefix__ ## get_by_app_id,\
function_prefix__ ## get_by_gateway_id,\
function_prefix__ ## get_by_app_eui }
void discovery__discovery__announce(ProtobufCService *service,
const Discovery__Announcement *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void discovery__discovery__get_all(ProtobufCService *service,
const Discovery__GetServiceRequest *input,
Discovery__AnnouncementsResponse_Closure closure,
void *closure_data);
void discovery__discovery__get(ProtobufCService *service,
const Discovery__GetRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data);
void discovery__discovery__add_metadata(ProtobufCService *service,
const Discovery__MetadataRequest *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void discovery__discovery__delete_metadata(ProtobufCService *service,
const Discovery__MetadataRequest *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void discovery__discovery__get_by_app_id(ProtobufCService *service,
const Discovery__GetByAppIDRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data);
void discovery__discovery__get_by_gateway_id(ProtobufCService *service,
const Discovery__GetByGatewayIDRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data);
void discovery__discovery__get_by_app_eui(ProtobufCService *service,
const Discovery__GetByAppEUIRequest *input,
Discovery__Announcement_Closure closure,
void *closure_data);
typedef struct _Discovery__DiscoveryManager_Service Discovery__DiscoveryManager_Service;
struct _Discovery__DiscoveryManager_Service
{
ProtobufCService base;
};
typedef void (*Discovery__DiscoveryManager_ServiceDestroy)(Discovery__DiscoveryManager_Service *);
void discovery__discovery_manager__init (Discovery__DiscoveryManager_Service *service,
Discovery__DiscoveryManager_ServiceDestroy destroy);
#define DISCOVERY__DISCOVERY_MANAGER__BASE_INIT \
{ &discovery__discovery_manager__descriptor, protobuf_c_service_invoke_internal, NULL }
#define DISCOVERY__DISCOVERY_MANAGER__INIT(function_prefix__) \
{ DISCOVERY__DISCOVERY_MANAGER__BASE_INIT }
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor discovery__metadata__descriptor;
extern const ProtobufCMessageDescriptor discovery__announcement__descriptor;
extern const ProtobufCMessageDescriptor discovery__get_service_request__descriptor;
extern const ProtobufCMessageDescriptor discovery__get_request__descriptor;
extern const ProtobufCMessageDescriptor discovery__metadata_request__descriptor;
extern const ProtobufCMessageDescriptor discovery__announcements_response__descriptor;
extern const ProtobufCMessageDescriptor discovery__get_by_app_idrequest__descriptor;
extern const ProtobufCMessageDescriptor discovery__get_by_gateway_idrequest__descriptor;
extern const ProtobufCMessageDescriptor discovery__get_by_app_euirequest__descriptor;
extern const ProtobufCServiceDescriptor discovery__discovery__descriptor;
extern const ProtobufCServiceDescriptor discovery__discovery_manager__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fdiscovery_2fdiscovery_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/gateway/gateway.pb-c.h | <filename>c/github.com/TheThingsNetwork/api/gateway/gateway.pb-c.h
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/gateway/gateway.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fgateway_2fgateway_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fgateway_2fgateway_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
typedef struct _Gateway__LocationMetadata Gateway__LocationMetadata;
typedef struct _Gateway__RxMetadata Gateway__RxMetadata;
typedef struct _Gateway__RxMetadata__Antenna Gateway__RxMetadata__Antenna;
typedef struct _Gateway__TxConfiguration Gateway__TxConfiguration;
typedef struct _Gateway__Status Gateway__Status;
typedef struct _Gateway__Status__OSMetrics Gateway__Status__OSMetrics;
/* --- enums --- */
typedef enum _Gateway__LocationMetadata__LocationSource {
/*
* The source of the location is not known or not set
*/
GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__UNKNOWN = 0,
/*
* The location is determined by GPS
*/
GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__GPS = 1,
/*
* The location is fixed by configuration
*/
GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__CONFIG = 2,
/*
* The location is set in and updated from a registry
*/
GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__REGISTRY = 3,
/*
* The location is estimated with IP Geolocation
*/
/*
* More estimation methods can be added
*/
GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__IP_GEOLOCATION = 4
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(GATEWAY__LOCATION_METADATA__LOCATION_SOURCE)
} Gateway__LocationMetadata__LocationSource;
/* --- messages --- */
struct _Gateway__LocationMetadata
{
ProtobufCMessage base;
/*
* Time (unix nanoseconds)
*/
int64_t time;
/*
* the north–south position (degrees; -90 to +90), where 0 is the equator, north pole is positive, south pole is negative
*/
float latitude;
/*
* the east-west position (degrees; -180 to +180), where 0 is the Prime Meridian (Greenwich), east is positive , west is negative
*/
float longitude;
/*
* the altitude (meters), where 0 is the mean sea level
*/
int32_t altitude;
/*
* the accuracy of the location (meters)
*/
int32_t accuracy;
Gateway__LocationMetadata__LocationSource source;
};
#define GATEWAY__LOCATION_METADATA__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&gateway__location_metadata__descriptor) \
, 0, 0, 0, 0, 0, GATEWAY__LOCATION_METADATA__LOCATION_SOURCE__UNKNOWN }
struct _Gateway__RxMetadata__Antenna
{
ProtobufCMessage base;
uint32_t antenna;
uint32_t channel;
/*
* Received signal power in dBm
*/
float rssi;
/*
* Received channel power in dBm
*/
float channel_rssi;
/*
* Standard deviation of the RSSI
*/
float rssi_standard_deviation;
/*
* Frequency offset (Hz)
*/
int64_t frequency_offset;
/*
* Signal-to-noise-ratio in dB
*/
float snr;
/*
* Encrypted fine timestamp from the Gateway FPGA
*/
ProtobufCBinaryData encrypted_time;
/*
* Fine timestamp from the Gateway FPGA (decrypted)
*/
int64_t fine_time;
};
#define GATEWAY__RX_METADATA__ANTENNA__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&gateway__rx_metadata__antenna__descriptor) \
, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0 }
struct _Gateway__RxMetadata
{
ProtobufCMessage base;
char *gateway_id;
/*
* Indicates whether the gateway is trusted. Components that are able to verify gateway trust MUST do so and set this value accordingly
*/
protobuf_c_boolean gateway_trusted;
/*
* Timestamp (uptime of LoRa module) in microseconds with rollover
*/
uint32_t timestamp;
/*
* Time in Unix nanoseconds
*/
int64_t time;
/*
* Encrypted time from the Gateway FPGA
*/
ProtobufCBinaryData encrypted_time;
uint32_t rf_chain;
uint32_t channel;
size_t n_antennas;
Gateway__RxMetadata__Antenna **antennas;
/*
* Frequency in Hz
*/
uint64_t frequency;
/*
* Received signal strength in dBm
*/
float rssi;
/*
* Signal-to-noise-ratio in dB
*/
float snr;
Gateway__LocationMetadata *location;
};
#define GATEWAY__RX_METADATA__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&gateway__rx_metadata__descriptor) \
, (char *)protobuf_c_empty_string, 0, 0, 0, {0,NULL}, 0, 0, 0,NULL, 0, 0, 0, NULL }
struct _Gateway__TxConfiguration
{
ProtobufCMessage base;
/*
* Timestamp (uptime of LoRa module) in microseconds with rollover
*/
uint32_t timestamp;
uint32_t rf_chain;
/*
* Frequency in Hz
*/
uint64_t frequency;
/*
* Transmit power in dBm
*/
int32_t power;
/*
* LoRa polarization inversion (basically always true for messages from gateway to node)
*/
protobuf_c_boolean polarization_inversion;
/*
* FSK frequency deviation in Hz
*/
uint32_t frequency_deviation;
};
#define GATEWAY__TX_CONFIGURATION__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&gateway__tx_configuration__descriptor) \
, 0, 0, 0, 0, 0, 0 }
/*
* Additional metrics from the operating system
*/
struct _Gateway__Status__OSMetrics
{
ProtobufCMessage base;
float load_1;
float load_5;
float load_15;
float cpu_percentage;
float memory_percentage;
float temperature;
};
#define GATEWAY__STATUS__OSMETRICS__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&gateway__status__osmetrics__descriptor) \
, 0, 0, 0, 0, 0, 0 }
/*
* message Status represents a status update from a Gateway.
*/
struct _Gateway__Status
{
ProtobufCMessage base;
/*
* Timestamp (uptime of gateway) in microseconds with rollover
*/
uint32_t timestamp;
/*
* Time in Unix nanoseconds
*/
int64_t time;
/*
* Indicates whether the gateway is trusted. Components that are able to verify gateway trust MUST do so and set this value accordingly
*/
protobuf_c_boolean gateway_trusted;
/*
* Boot time in Unix nanoseconds
*/
int64_t boot_time;
size_t n_ip;
char **ip;
char *platform;
char *contact_email;
char *description;
/*
* The gateway's frequency plan: one of EU_863_870, US_902_928, CN_779_787, EU_433, AU_915_928, CN_470_510, AS_923, AS_920_923, AS_923_925, KR_920_923
*/
char *frequency_plan;
/*
* The value of Bridge is set by the Bridge
*/
char *bridge;
/*
* The value of Router is set by the Router
*/
char *router;
/*
* Version of Gateway FPGA
*/
uint32_t fpga;
/*
* Version of Gateway DSP software
*/
uint32_t dsp;
/*
* Version of gateway driver (in X.X.X format)
*/
char *hal;
Gateway__LocationMetadata *location;
/*
* Round-trip time to the server in milliseconds
*/
uint32_t rtt;
/*
* Total number of received uplink packets since boot
*/
uint32_t rx_in;
/*
* Total number of successful (correct) uplink packets since boot
*/
uint32_t rx_ok;
/*
* Total number of received downlink packets since boot
*/
uint32_t tx_in;
/*
* Total number of successfully sent downlink packets since boot
*/
uint32_t tx_ok;
/*
* Total number of packets received from link testing mote, with CRC OK
*/
uint32_t lm_ok;
/*
* Sequence number of the first packet received from the link testing mote
*/
uint32_t lm_st;
/*
* Sequence number of the last packet received from the link testing mote
*/
uint32_t lm_nw;
/*
* Number of lost PPS pulses
*/
uint32_t l_pps;
Gateway__Status__OSMetrics *os;
/*
* debug or warning messages from the gateway
*/
size_t n_messages;
char **messages;
};
#define GATEWAY__STATUS__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&gateway__status__descriptor) \
, 0, 0, 0, 0, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0, (char *)protobuf_c_empty_string, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0,NULL }
/* Gateway__LocationMetadata methods */
void gateway__location_metadata__init
(Gateway__LocationMetadata *message);
size_t gateway__location_metadata__get_packed_size
(const Gateway__LocationMetadata *message);
size_t gateway__location_metadata__pack
(const Gateway__LocationMetadata *message,
uint8_t *out);
size_t gateway__location_metadata__pack_to_buffer
(const Gateway__LocationMetadata *message,
ProtobufCBuffer *buffer);
Gateway__LocationMetadata *
gateway__location_metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void gateway__location_metadata__free_unpacked
(Gateway__LocationMetadata *message,
ProtobufCAllocator *allocator);
/* Gateway__RxMetadata__Antenna methods */
void gateway__rx_metadata__antenna__init
(Gateway__RxMetadata__Antenna *message);
/* Gateway__RxMetadata methods */
void gateway__rx_metadata__init
(Gateway__RxMetadata *message);
size_t gateway__rx_metadata__get_packed_size
(const Gateway__RxMetadata *message);
size_t gateway__rx_metadata__pack
(const Gateway__RxMetadata *message,
uint8_t *out);
size_t gateway__rx_metadata__pack_to_buffer
(const Gateway__RxMetadata *message,
ProtobufCBuffer *buffer);
Gateway__RxMetadata *
gateway__rx_metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void gateway__rx_metadata__free_unpacked
(Gateway__RxMetadata *message,
ProtobufCAllocator *allocator);
/* Gateway__TxConfiguration methods */
void gateway__tx_configuration__init
(Gateway__TxConfiguration *message);
size_t gateway__tx_configuration__get_packed_size
(const Gateway__TxConfiguration *message);
size_t gateway__tx_configuration__pack
(const Gateway__TxConfiguration *message,
uint8_t *out);
size_t gateway__tx_configuration__pack_to_buffer
(const Gateway__TxConfiguration *message,
ProtobufCBuffer *buffer);
Gateway__TxConfiguration *
gateway__tx_configuration__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void gateway__tx_configuration__free_unpacked
(Gateway__TxConfiguration *message,
ProtobufCAllocator *allocator);
/* Gateway__Status__OSMetrics methods */
void gateway__status__osmetrics__init
(Gateway__Status__OSMetrics *message);
/* Gateway__Status methods */
void gateway__status__init
(Gateway__Status *message);
size_t gateway__status__get_packed_size
(const Gateway__Status *message);
size_t gateway__status__pack
(const Gateway__Status *message,
uint8_t *out);
size_t gateway__status__pack_to_buffer
(const Gateway__Status *message,
ProtobufCBuffer *buffer);
Gateway__Status *
gateway__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void gateway__status__free_unpacked
(Gateway__Status *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Gateway__LocationMetadata_Closure)
(const Gateway__LocationMetadata *message,
void *closure_data);
typedef void (*Gateway__RxMetadata__Antenna_Closure)
(const Gateway__RxMetadata__Antenna *message,
void *closure_data);
typedef void (*Gateway__RxMetadata_Closure)
(const Gateway__RxMetadata *message,
void *closure_data);
typedef void (*Gateway__TxConfiguration_Closure)
(const Gateway__TxConfiguration *message,
void *closure_data);
typedef void (*Gateway__Status__OSMetrics_Closure)
(const Gateway__Status__OSMetrics *message,
void *closure_data);
typedef void (*Gateway__Status_Closure)
(const Gateway__Status *message,
void *closure_data);
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor gateway__location_metadata__descriptor;
extern const ProtobufCEnumDescriptor gateway__location_metadata__location_source__descriptor;
extern const ProtobufCMessageDescriptor gateway__rx_metadata__descriptor;
extern const ProtobufCMessageDescriptor gateway__rx_metadata__antenna__descriptor;
extern const ProtobufCMessageDescriptor gateway__tx_configuration__descriptor;
extern const ProtobufCMessageDescriptor gateway__status__descriptor;
extern const ProtobufCMessageDescriptor gateway__status__osmetrics__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fgateway_2fgateway_2eproto__INCLUDED */
|
LukasHabring/api | c/google/protobuf/empty.pb-c.h | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/gogo/protobuf/protobuf/google/protobuf/empty.proto */
#ifndef PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fempty_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fempty_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
typedef struct _Google__Protobuf__Empty Google__Protobuf__Empty;
/* --- enums --- */
/* --- messages --- */
/*
* A generic empty message that you can re-use to avoid defining duplicated
* empty messages in your APIs. A typical example is to use it as the request
* or the response type of an API method. For instance:
* service Foo {
* rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
* }
* The JSON representation for `Empty` is empty JSON object `{}`.
*/
struct _Google__Protobuf__Empty
{
ProtobufCMessage base;
};
#define GOOGLE__PROTOBUF__EMPTY__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__empty__descriptor) \
}
/* Google__Protobuf__Empty methods */
void google__protobuf__empty__init
(Google__Protobuf__Empty *message);
size_t google__protobuf__empty__get_packed_size
(const Google__Protobuf__Empty *message);
size_t google__protobuf__empty__pack
(const Google__Protobuf__Empty *message,
uint8_t *out);
size_t google__protobuf__empty__pack_to_buffer
(const Google__Protobuf__Empty *message,
ProtobufCBuffer *buffer);
Google__Protobuf__Empty *
google__protobuf__empty__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__empty__free_unpacked
(Google__Protobuf__Empty *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Google__Protobuf__Empty_Closure)
(const Google__Protobuf__Empty *message,
void *closure_data);
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor google__protobuf__empty__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fempty_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/api.pb-c.c | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/api.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/api.pb-c.h"
void api__percentiles__init
(Api__Percentiles *message)
{
static const Api__Percentiles init_value = API__PERCENTILES__INIT;
*message = init_value;
}
size_t api__percentiles__get_packed_size
(const Api__Percentiles *message)
{
assert(message->base.descriptor == &api__percentiles__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t api__percentiles__pack
(const Api__Percentiles *message,
uint8_t *out)
{
assert(message->base.descriptor == &api__percentiles__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t api__percentiles__pack_to_buffer
(const Api__Percentiles *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &api__percentiles__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Api__Percentiles *
api__percentiles__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Api__Percentiles *)
protobuf_c_message_unpack (&api__percentiles__descriptor,
allocator, len, data);
}
void api__percentiles__free_unpacked
(Api__Percentiles *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &api__percentiles__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void api__rates__init
(Api__Rates *message)
{
static const Api__Rates init_value = API__RATES__INIT;
*message = init_value;
}
size_t api__rates__get_packed_size
(const Api__Rates *message)
{
assert(message->base.descriptor == &api__rates__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t api__rates__pack
(const Api__Rates *message,
uint8_t *out)
{
assert(message->base.descriptor == &api__rates__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t api__rates__pack_to_buffer
(const Api__Rates *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &api__rates__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Api__Rates *
api__rates__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Api__Rates *)
protobuf_c_message_unpack (&api__rates__descriptor,
allocator, len, data);
}
void api__rates__free_unpacked
(Api__Rates *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &api__rates__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void api__system_stats__loadstats__init
(Api__SystemStats__Loadstats *message)
{
static const Api__SystemStats__Loadstats init_value = API__SYSTEM_STATS__LOADSTATS__INIT;
*message = init_value;
}
void api__system_stats__cpustats__init
(Api__SystemStats__CPUStats *message)
{
static const Api__SystemStats__CPUStats init_value = API__SYSTEM_STATS__CPUSTATS__INIT;
*message = init_value;
}
void api__system_stats__memory_stats__init
(Api__SystemStats__MemoryStats *message)
{
static const Api__SystemStats__MemoryStats init_value = API__SYSTEM_STATS__MEMORY_STATS__INIT;
*message = init_value;
}
void api__system_stats__init
(Api__SystemStats *message)
{
static const Api__SystemStats init_value = API__SYSTEM_STATS__INIT;
*message = init_value;
}
size_t api__system_stats__get_packed_size
(const Api__SystemStats *message)
{
assert(message->base.descriptor == &api__system_stats__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t api__system_stats__pack
(const Api__SystemStats *message,
uint8_t *out)
{
assert(message->base.descriptor == &api__system_stats__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t api__system_stats__pack_to_buffer
(const Api__SystemStats *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &api__system_stats__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Api__SystemStats *
api__system_stats__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Api__SystemStats *)
protobuf_c_message_unpack (&api__system_stats__descriptor,
allocator, len, data);
}
void api__system_stats__free_unpacked
(Api__SystemStats *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &api__system_stats__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void api__component_stats__cpustats__init
(Api__ComponentStats__CPUStats *message)
{
static const Api__ComponentStats__CPUStats init_value = API__COMPONENT_STATS__CPUSTATS__INIT;
*message = init_value;
}
void api__component_stats__memory_stats__init
(Api__ComponentStats__MemoryStats *message)
{
static const Api__ComponentStats__MemoryStats init_value = API__COMPONENT_STATS__MEMORY_STATS__INIT;
*message = init_value;
}
void api__component_stats__init
(Api__ComponentStats *message)
{
static const Api__ComponentStats init_value = API__COMPONENT_STATS__INIT;
*message = init_value;
}
size_t api__component_stats__get_packed_size
(const Api__ComponentStats *message)
{
assert(message->base.descriptor == &api__component_stats__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t api__component_stats__pack
(const Api__ComponentStats *message,
uint8_t *out)
{
assert(message->base.descriptor == &api__component_stats__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t api__component_stats__pack_to_buffer
(const Api__ComponentStats *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &api__component_stats__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Api__ComponentStats *
api__component_stats__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Api__ComponentStats *)
protobuf_c_message_unpack (&api__component_stats__descriptor,
allocator, len, data);
}
void api__component_stats__free_unpacked
(Api__ComponentStats *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &api__component_stats__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor api__percentiles__field_descriptors[9] =
{
{
"percentile1",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile1),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentile5",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile5),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentile10",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile10),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentile25",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile25),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentile50",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile50),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentile75",
6,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile75),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentile90",
7,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile90),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentile95",
8,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile95),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentile99",
9,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Percentiles, percentile99),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__percentiles__field_indices_by_name[] = {
0, /* field[0] = percentile1 */
2, /* field[2] = percentile10 */
3, /* field[3] = percentile25 */
1, /* field[1] = percentile5 */
4, /* field[4] = percentile50 */
5, /* field[5] = percentile75 */
6, /* field[6] = percentile90 */
7, /* field[7] = percentile95 */
8, /* field[8] = percentile99 */
};
static const ProtobufCIntRange api__percentiles__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 9 }
};
const ProtobufCMessageDescriptor api__percentiles__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.Percentiles",
"Percentiles",
"Api__Percentiles",
"api",
sizeof(Api__Percentiles),
9,
api__percentiles__field_descriptors,
api__percentiles__field_indices_by_name,
1, api__percentiles__number_ranges,
(ProtobufCMessageInit) api__percentiles__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor api__rates__field_descriptors[3] =
{
{
"rate1",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Rates, rate1),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rate5",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Rates, rate5),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"rate15",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__Rates, rate15),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__rates__field_indices_by_name[] = {
0, /* field[0] = rate1 */
2, /* field[2] = rate15 */
1, /* field[1] = rate5 */
};
static const ProtobufCIntRange api__rates__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 3 }
};
const ProtobufCMessageDescriptor api__rates__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.Rates",
"Rates",
"Api__Rates",
"api",
sizeof(Api__Rates),
3,
api__rates__field_descriptors,
api__rates__field_indices_by_name,
1, api__rates__number_ranges,
(ProtobufCMessageInit) api__rates__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor api__system_stats__loadstats__field_descriptors[3] =
{
{
"load1",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__SystemStats__Loadstats, load1),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"load5",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__SystemStats__Loadstats, load5),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"load15",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__SystemStats__Loadstats, load15),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__system_stats__loadstats__field_indices_by_name[] = {
0, /* field[0] = load1 */
2, /* field[2] = load15 */
1, /* field[1] = load5 */
};
static const ProtobufCIntRange api__system_stats__loadstats__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 3 }
};
const ProtobufCMessageDescriptor api__system_stats__loadstats__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.SystemStats.Loadstats",
"Loadstats",
"Api__SystemStats__Loadstats",
"api",
sizeof(Api__SystemStats__Loadstats),
3,
api__system_stats__loadstats__field_descriptors,
api__system_stats__loadstats__field_indices_by_name,
1, api__system_stats__loadstats__number_ranges,
(ProtobufCMessageInit) api__system_stats__loadstats__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor api__system_stats__cpustats__field_descriptors[4] =
{
{
"user",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__SystemStats__CPUStats, user),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"system",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__SystemStats__CPUStats, system),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"idle",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__SystemStats__CPUStats, idle),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentage",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__SystemStats__CPUStats, percentage),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__system_stats__cpustats__field_indices_by_name[] = {
2, /* field[2] = idle */
3, /* field[3] = percentage */
1, /* field[1] = system */
0, /* field[0] = user */
};
static const ProtobufCIntRange api__system_stats__cpustats__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 4 }
};
const ProtobufCMessageDescriptor api__system_stats__cpustats__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.SystemStats.CPUStats",
"CPUStats",
"Api__SystemStats__CPUStats",
"api",
sizeof(Api__SystemStats__CPUStats),
4,
api__system_stats__cpustats__field_descriptors,
api__system_stats__cpustats__field_indices_by_name,
1, api__system_stats__cpustats__number_ranges,
(ProtobufCMessageInit) api__system_stats__cpustats__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor api__system_stats__memory_stats__field_descriptors[3] =
{
{
"total",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__SystemStats__MemoryStats, total),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"available",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__SystemStats__MemoryStats, available),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"used",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__SystemStats__MemoryStats, used),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__system_stats__memory_stats__field_indices_by_name[] = {
1, /* field[1] = available */
0, /* field[0] = total */
2, /* field[2] = used */
};
static const ProtobufCIntRange api__system_stats__memory_stats__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 3 }
};
const ProtobufCMessageDescriptor api__system_stats__memory_stats__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.SystemStats.MemoryStats",
"MemoryStats",
"Api__SystemStats__MemoryStats",
"api",
sizeof(Api__SystemStats__MemoryStats),
3,
api__system_stats__memory_stats__field_descriptors,
api__system_stats__memory_stats__field_indices_by_name,
1, api__system_stats__memory_stats__number_ranges,
(ProtobufCMessageInit) api__system_stats__memory_stats__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor api__system_stats__field_descriptors[3] =
{
{
"load",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Api__SystemStats, load),
&api__system_stats__loadstats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"cpu",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Api__SystemStats, cpu),
&api__system_stats__cpustats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"memory",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Api__SystemStats, memory),
&api__system_stats__memory_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__system_stats__field_indices_by_name[] = {
1, /* field[1] = cpu */
0, /* field[0] = load */
2, /* field[2] = memory */
};
static const ProtobufCIntRange api__system_stats__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 3 }
};
const ProtobufCMessageDescriptor api__system_stats__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.SystemStats",
"SystemStats",
"Api__SystemStats",
"api",
sizeof(Api__SystemStats),
3,
api__system_stats__field_descriptors,
api__system_stats__field_indices_by_name,
1, api__system_stats__number_ranges,
(ProtobufCMessageInit) api__system_stats__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor api__component_stats__cpustats__field_descriptors[4] =
{
{
"user",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__ComponentStats__CPUStats, user),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"system",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__ComponentStats__CPUStats, system),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"idle",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__ComponentStats__CPUStats, idle),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"percentage",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__ComponentStats__CPUStats, percentage),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__component_stats__cpustats__field_indices_by_name[] = {
2, /* field[2] = idle */
3, /* field[3] = percentage */
1, /* field[1] = system */
0, /* field[0] = user */
};
static const ProtobufCIntRange api__component_stats__cpustats__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 4 }
};
const ProtobufCMessageDescriptor api__component_stats__cpustats__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.ComponentStats.CPUStats",
"CPUStats",
"Api__ComponentStats__CPUStats",
"api",
sizeof(Api__ComponentStats__CPUStats),
4,
api__component_stats__cpustats__field_descriptors,
api__component_stats__cpustats__field_indices_by_name,
1, api__component_stats__cpustats__number_ranges,
(ProtobufCMessageInit) api__component_stats__cpustats__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor api__component_stats__memory_stats__field_descriptors[4] =
{
{
"memory",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__ComponentStats__MemoryStats, memory),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"swap",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__ComponentStats__MemoryStats, swap),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"heap",
10,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__ComponentStats__MemoryStats, heap),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"stack",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__ComponentStats__MemoryStats, stack),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__component_stats__memory_stats__field_indices_by_name[] = {
2, /* field[2] = heap */
0, /* field[0] = memory */
3, /* field[3] = stack */
1, /* field[1] = swap */
};
static const ProtobufCIntRange api__component_stats__memory_stats__number_ranges[2 + 1] =
{
{ 1, 0 },
{ 10, 2 },
{ 0, 4 }
};
const ProtobufCMessageDescriptor api__component_stats__memory_stats__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.ComponentStats.MemoryStats",
"MemoryStats",
"Api__ComponentStats__MemoryStats",
"api",
sizeof(Api__ComponentStats__MemoryStats),
4,
api__component_stats__memory_stats__field_descriptors,
api__component_stats__memory_stats__field_indices_by_name,
2, api__component_stats__memory_stats__number_ranges,
(ProtobufCMessageInit) api__component_stats__memory_stats__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor api__component_stats__field_descriptors[5] =
{
{
"uptime",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__ComponentStats, uptime),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"cpu",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Api__ComponentStats, cpu),
&api__component_stats__cpustats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"memory",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Api__ComponentStats, memory),
&api__component_stats__memory_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"goroutines",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT64,
0, /* quantifier_offset */
offsetof(Api__ComponentStats, goroutines),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gc_cpu_fraction",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Api__ComponentStats, gc_cpu_fraction),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned api__component_stats__field_indices_by_name[] = {
1, /* field[1] = cpu */
4, /* field[4] = gc_cpu_fraction */
3, /* field[3] = goroutines */
2, /* field[2] = memory */
0, /* field[0] = uptime */
};
static const ProtobufCIntRange api__component_stats__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 5 }
};
const ProtobufCMessageDescriptor api__component_stats__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"api.ComponentStats",
"ComponentStats",
"Api__ComponentStats",
"api",
sizeof(Api__ComponentStats),
5,
api__component_stats__field_descriptors,
api__component_stats__field_indices_by_name,
1, api__component_stats__number_ranges,
(ProtobufCMessageInit) api__component_stats__init,
NULL,NULL,NULL /* reserved[123] */
};
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/protocol/lorawan/device_address.pb-c.h | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/protocol/lorawan/device_address.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2fdevice_5faddress_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2fdevice_5faddress_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
typedef struct _Lorawan__PrefixesRequest Lorawan__PrefixesRequest;
typedef struct _Lorawan__PrefixesResponse Lorawan__PrefixesResponse;
typedef struct _Lorawan__PrefixesResponse__PrefixMapping Lorawan__PrefixesResponse__PrefixMapping;
typedef struct _Lorawan__DevAddrRequest Lorawan__DevAddrRequest;
typedef struct _Lorawan__DevAddrResponse Lorawan__DevAddrResponse;
/* --- enums --- */
/* --- messages --- */
struct _Lorawan__PrefixesRequest
{
ProtobufCMessage base;
};
#define LORAWAN__PREFIXES_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__prefixes_request__descriptor) \
}
struct _Lorawan__PrefixesResponse__PrefixMapping
{
ProtobufCMessage base;
/*
* The prefix that can be used
*/
char *prefix;
/*
* Usage constraints of this prefix (see activation_constraints in device.proto)
*/
size_t n_usage;
char **usage;
};
#define LORAWAN__PREFIXES_RESPONSE__PREFIX_MAPPING__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__prefixes_response__prefix_mapping__descriptor) \
, (char *)protobuf_c_empty_string, 0,NULL }
struct _Lorawan__PrefixesResponse
{
ProtobufCMessage base;
/*
* The prefixes that are in use or available
*/
size_t n_prefixes;
Lorawan__PrefixesResponse__PrefixMapping **prefixes;
};
#define LORAWAN__PREFIXES_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__prefixes_response__descriptor) \
, 0,NULL }
struct _Lorawan__DevAddrRequest
{
ProtobufCMessage base;
/*
* The usage constraints (see activation_constraints in device.proto)
*/
size_t n_usage;
char **usage;
};
#define LORAWAN__DEV_ADDR_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__dev_addr_request__descriptor) \
, 0,NULL }
struct _Lorawan__DevAddrResponse
{
ProtobufCMessage base;
ProtobufCBinaryData dev_addr;
};
#define LORAWAN__DEV_ADDR_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__dev_addr_response__descriptor) \
, {0,NULL} }
/* Lorawan__PrefixesRequest methods */
void lorawan__prefixes_request__init
(Lorawan__PrefixesRequest *message);
size_t lorawan__prefixes_request__get_packed_size
(const Lorawan__PrefixesRequest *message);
size_t lorawan__prefixes_request__pack
(const Lorawan__PrefixesRequest *message,
uint8_t *out);
size_t lorawan__prefixes_request__pack_to_buffer
(const Lorawan__PrefixesRequest *message,
ProtobufCBuffer *buffer);
Lorawan__PrefixesRequest *
lorawan__prefixes_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__prefixes_request__free_unpacked
(Lorawan__PrefixesRequest *message,
ProtobufCAllocator *allocator);
/* Lorawan__PrefixesResponse__PrefixMapping methods */
void lorawan__prefixes_response__prefix_mapping__init
(Lorawan__PrefixesResponse__PrefixMapping *message);
/* Lorawan__PrefixesResponse methods */
void lorawan__prefixes_response__init
(Lorawan__PrefixesResponse *message);
size_t lorawan__prefixes_response__get_packed_size
(const Lorawan__PrefixesResponse *message);
size_t lorawan__prefixes_response__pack
(const Lorawan__PrefixesResponse *message,
uint8_t *out);
size_t lorawan__prefixes_response__pack_to_buffer
(const Lorawan__PrefixesResponse *message,
ProtobufCBuffer *buffer);
Lorawan__PrefixesResponse *
lorawan__prefixes_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__prefixes_response__free_unpacked
(Lorawan__PrefixesResponse *message,
ProtobufCAllocator *allocator);
/* Lorawan__DevAddrRequest methods */
void lorawan__dev_addr_request__init
(Lorawan__DevAddrRequest *message);
size_t lorawan__dev_addr_request__get_packed_size
(const Lorawan__DevAddrRequest *message);
size_t lorawan__dev_addr_request__pack
(const Lorawan__DevAddrRequest *message,
uint8_t *out);
size_t lorawan__dev_addr_request__pack_to_buffer
(const Lorawan__DevAddrRequest *message,
ProtobufCBuffer *buffer);
Lorawan__DevAddrRequest *
lorawan__dev_addr_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__dev_addr_request__free_unpacked
(Lorawan__DevAddrRequest *message,
ProtobufCAllocator *allocator);
/* Lorawan__DevAddrResponse methods */
void lorawan__dev_addr_response__init
(Lorawan__DevAddrResponse *message);
size_t lorawan__dev_addr_response__get_packed_size
(const Lorawan__DevAddrResponse *message);
size_t lorawan__dev_addr_response__pack
(const Lorawan__DevAddrResponse *message,
uint8_t *out);
size_t lorawan__dev_addr_response__pack_to_buffer
(const Lorawan__DevAddrResponse *message,
ProtobufCBuffer *buffer);
Lorawan__DevAddrResponse *
lorawan__dev_addr_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__dev_addr_response__free_unpacked
(Lorawan__DevAddrResponse *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Lorawan__PrefixesRequest_Closure)
(const Lorawan__PrefixesRequest *message,
void *closure_data);
typedef void (*Lorawan__PrefixesResponse__PrefixMapping_Closure)
(const Lorawan__PrefixesResponse__PrefixMapping *message,
void *closure_data);
typedef void (*Lorawan__PrefixesResponse_Closure)
(const Lorawan__PrefixesResponse *message,
void *closure_data);
typedef void (*Lorawan__DevAddrRequest_Closure)
(const Lorawan__DevAddrRequest *message,
void *closure_data);
typedef void (*Lorawan__DevAddrResponse_Closure)
(const Lorawan__DevAddrResponse *message,
void *closure_data);
/* --- services --- */
typedef struct _Lorawan__DevAddrManager_Service Lorawan__DevAddrManager_Service;
struct _Lorawan__DevAddrManager_Service
{
ProtobufCService base;
void (*get_prefixes)(Lorawan__DevAddrManager_Service *service,
const Lorawan__PrefixesRequest *input,
Lorawan__PrefixesResponse_Closure closure,
void *closure_data);
void (*get_dev_addr)(Lorawan__DevAddrManager_Service *service,
const Lorawan__DevAddrRequest *input,
Lorawan__DevAddrResponse_Closure closure,
void *closure_data);
};
typedef void (*Lorawan__DevAddrManager_ServiceDestroy)(Lorawan__DevAddrManager_Service *);
void lorawan__dev_addr_manager__init (Lorawan__DevAddrManager_Service *service,
Lorawan__DevAddrManager_ServiceDestroy destroy);
#define LORAWAN__DEV_ADDR_MANAGER__BASE_INIT \
{ &lorawan__dev_addr_manager__descriptor, protobuf_c_service_invoke_internal, NULL }
#define LORAWAN__DEV_ADDR_MANAGER__INIT(function_prefix__) \
{ LORAWAN__DEV_ADDR_MANAGER__BASE_INIT,\
function_prefix__ ## get_prefixes,\
function_prefix__ ## get_dev_addr }
void lorawan__dev_addr_manager__get_prefixes(ProtobufCService *service,
const Lorawan__PrefixesRequest *input,
Lorawan__PrefixesResponse_Closure closure,
void *closure_data);
void lorawan__dev_addr_manager__get_dev_addr(ProtobufCService *service,
const Lorawan__DevAddrRequest *input,
Lorawan__DevAddrResponse_Closure closure,
void *closure_data);
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor lorawan__prefixes_request__descriptor;
extern const ProtobufCMessageDescriptor lorawan__prefixes_response__descriptor;
extern const ProtobufCMessageDescriptor lorawan__prefixes_response__prefix_mapping__descriptor;
extern const ProtobufCMessageDescriptor lorawan__dev_addr_request__descriptor;
extern const ProtobufCMessageDescriptor lorawan__dev_addr_response__descriptor;
extern const ProtobufCServiceDescriptor lorawan__dev_addr_manager__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2fdevice_5faddress_2eproto__INCLUDED */
|
LukasHabring/api | c/google/protobuf/timestamp.pb-c.c | <filename>c/google/protobuf/timestamp.pb-c.c
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/gogo/protobuf/protobuf/google/protobuf/timestamp.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/gogo/protobuf/protobuf/google/protobuf/timestamp.pb-c.h"
void google__protobuf__timestamp__init
(Google__Protobuf__Timestamp *message)
{
static const Google__Protobuf__Timestamp init_value = GOOGLE__PROTOBUF__TIMESTAMP__INIT;
*message = init_value;
}
size_t google__protobuf__timestamp__get_packed_size
(const Google__Protobuf__Timestamp *message)
{
assert(message->base.descriptor == &google__protobuf__timestamp__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t google__protobuf__timestamp__pack
(const Google__Protobuf__Timestamp *message,
uint8_t *out)
{
assert(message->base.descriptor == &google__protobuf__timestamp__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t google__protobuf__timestamp__pack_to_buffer
(const Google__Protobuf__Timestamp *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &google__protobuf__timestamp__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Google__Protobuf__Timestamp *
google__protobuf__timestamp__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Google__Protobuf__Timestamp *)
protobuf_c_message_unpack (&google__protobuf__timestamp__descriptor,
allocator, len, data);
}
void google__protobuf__timestamp__free_unpacked
(Google__Protobuf__Timestamp *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &google__protobuf__timestamp__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor google__protobuf__timestamp__field_descriptors[2] =
{
{
"seconds",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Google__Protobuf__Timestamp, seconds),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"nanos",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT32,
0, /* quantifier_offset */
offsetof(Google__Protobuf__Timestamp, nanos),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned google__protobuf__timestamp__field_indices_by_name[] = {
1, /* field[1] = nanos */
0, /* field[0] = seconds */
};
static const ProtobufCIntRange google__protobuf__timestamp__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor google__protobuf__timestamp__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"google.protobuf.Timestamp",
"Timestamp",
"Google__Protobuf__Timestamp",
"google.protobuf",
sizeof(Google__Protobuf__Timestamp),
2,
google__protobuf__timestamp__field_descriptors,
google__protobuf__timestamp__field_indices_by_name,
1, google__protobuf__timestamp__number_ranges,
(ProtobufCMessageInit) google__protobuf__timestamp__init,
NULL,NULL,NULL /* reserved[123] */
};
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/monitor/monitor.pb-c.c | <filename>c/github.com/TheThingsNetwork/api/monitor/monitor.pb-c.c
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/monitor/monitor.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/monitor/monitor.pb-c.h"
static const ProtobufCMethodDescriptor monitor__monitor__method_descriptors[11] =
{
{ "RouterStatus", &router__status__descriptor, &google__protobuf__empty__descriptor },
{ "GatewayStatus", &gateway__status__descriptor, &google__protobuf__empty__descriptor },
{ "GatewayUplink", &router__uplink_message__descriptor, &google__protobuf__empty__descriptor },
{ "GatewayDownlink", &router__downlink_message__descriptor, &google__protobuf__empty__descriptor },
{ "BrokerStatus", &broker__status__descriptor, &google__protobuf__empty__descriptor },
{ "BrokerUplink", &broker__deduplicated_uplink_message__descriptor, &google__protobuf__empty__descriptor },
{ "BrokerDownlink", &broker__downlink_message__descriptor, &google__protobuf__empty__descriptor },
{ "HandlerStatus", &handler__status__descriptor, &google__protobuf__empty__descriptor },
{ "HandlerUplink", &broker__deduplicated_uplink_message__descriptor, &google__protobuf__empty__descriptor },
{ "HandlerDownlink", &broker__downlink_message__descriptor, &google__protobuf__empty__descriptor },
{ "NetworkServerStatus", &networkserver__status__descriptor, &google__protobuf__empty__descriptor },
};
const unsigned monitor__monitor__method_indices_by_name[] = {
6, /* BrokerDownlink */
4, /* BrokerStatus */
5, /* BrokerUplink */
3, /* GatewayDownlink */
1, /* GatewayStatus */
2, /* GatewayUplink */
9, /* HandlerDownlink */
7, /* HandlerStatus */
8, /* HandlerUplink */
10, /* NetworkServerStatus */
0 /* RouterStatus */
};
const ProtobufCServiceDescriptor monitor__monitor__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"monitor.Monitor",
"Monitor",
"Monitor__Monitor",
"monitor",
11,
monitor__monitor__method_descriptors,
monitor__monitor__method_indices_by_name
};
void monitor__monitor__router_status(ProtobufCService *service,
const Router__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__gateway_status(ProtobufCService *service,
const Gateway__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__gateway_uplink(ProtobufCService *service,
const Router__UplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__gateway_downlink(ProtobufCService *service,
const Router__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 3, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__broker_status(ProtobufCService *service,
const Broker__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 4, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__broker_uplink(ProtobufCService *service,
const Broker__DeduplicatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 5, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__broker_downlink(ProtobufCService *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 6, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__handler_status(ProtobufCService *service,
const Handler__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 7, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__handler_uplink(ProtobufCService *service,
const Broker__DeduplicatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 8, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__handler_downlink(ProtobufCService *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 9, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__network_server_status(ProtobufCService *service,
const Networkserver__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &monitor__monitor__descriptor);
service->invoke(service, 10, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void monitor__monitor__init (Monitor__Monitor_Service *service,
Monitor__Monitor_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&monitor__monitor__descriptor,
(ProtobufCServiceDestroy) destroy);
}
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/broker/broker.pb-c.c | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/broker/broker.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/broker/broker.pb-c.h"
void broker__downlink_option__init
(Broker__DownlinkOption *message)
{
static const Broker__DownlinkOption init_value = BROKER__DOWNLINK_OPTION__INIT;
*message = init_value;
}
size_t broker__downlink_option__get_packed_size
(const Broker__DownlinkOption *message)
{
assert(message->base.descriptor == &broker__downlink_option__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__downlink_option__pack
(const Broker__DownlinkOption *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__downlink_option__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__downlink_option__pack_to_buffer
(const Broker__DownlinkOption *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__downlink_option__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__DownlinkOption *
broker__downlink_option__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__DownlinkOption *)
protobuf_c_message_unpack (&broker__downlink_option__descriptor,
allocator, len, data);
}
void broker__downlink_option__free_unpacked
(Broker__DownlinkOption *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__downlink_option__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__uplink_message__init
(Broker__UplinkMessage *message)
{
static const Broker__UplinkMessage init_value = BROKER__UPLINK_MESSAGE__INIT;
*message = init_value;
}
size_t broker__uplink_message__get_packed_size
(const Broker__UplinkMessage *message)
{
assert(message->base.descriptor == &broker__uplink_message__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__uplink_message__pack
(const Broker__UplinkMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__uplink_message__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__uplink_message__pack_to_buffer
(const Broker__UplinkMessage *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__uplink_message__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__UplinkMessage *
broker__uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__UplinkMessage *)
protobuf_c_message_unpack (&broker__uplink_message__descriptor,
allocator, len, data);
}
void broker__uplink_message__free_unpacked
(Broker__UplinkMessage *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__uplink_message__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__downlink_message__init
(Broker__DownlinkMessage *message)
{
static const Broker__DownlinkMessage init_value = BROKER__DOWNLINK_MESSAGE__INIT;
*message = init_value;
}
size_t broker__downlink_message__get_packed_size
(const Broker__DownlinkMessage *message)
{
assert(message->base.descriptor == &broker__downlink_message__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__downlink_message__pack
(const Broker__DownlinkMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__downlink_message__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__downlink_message__pack_to_buffer
(const Broker__DownlinkMessage *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__downlink_message__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__DownlinkMessage *
broker__downlink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__DownlinkMessage *)
protobuf_c_message_unpack (&broker__downlink_message__descriptor,
allocator, len, data);
}
void broker__downlink_message__free_unpacked
(Broker__DownlinkMessage *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__downlink_message__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__device_activation_response__init
(Broker__DeviceActivationResponse *message)
{
static const Broker__DeviceActivationResponse init_value = BROKER__DEVICE_ACTIVATION_RESPONSE__INIT;
*message = init_value;
}
size_t broker__device_activation_response__get_packed_size
(const Broker__DeviceActivationResponse *message)
{
assert(message->base.descriptor == &broker__device_activation_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__device_activation_response__pack
(const Broker__DeviceActivationResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__device_activation_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__device_activation_response__pack_to_buffer
(const Broker__DeviceActivationResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__device_activation_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__DeviceActivationResponse *
broker__device_activation_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__DeviceActivationResponse *)
protobuf_c_message_unpack (&broker__device_activation_response__descriptor,
allocator, len, data);
}
void broker__device_activation_response__free_unpacked
(Broker__DeviceActivationResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__device_activation_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__deduplicated_uplink_message__init
(Broker__DeduplicatedUplinkMessage *message)
{
static const Broker__DeduplicatedUplinkMessage init_value = BROKER__DEDUPLICATED_UPLINK_MESSAGE__INIT;
*message = init_value;
}
size_t broker__deduplicated_uplink_message__get_packed_size
(const Broker__DeduplicatedUplinkMessage *message)
{
assert(message->base.descriptor == &broker__deduplicated_uplink_message__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__deduplicated_uplink_message__pack
(const Broker__DeduplicatedUplinkMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__deduplicated_uplink_message__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__deduplicated_uplink_message__pack_to_buffer
(const Broker__DeduplicatedUplinkMessage *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__deduplicated_uplink_message__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__DeduplicatedUplinkMessage *
broker__deduplicated_uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__DeduplicatedUplinkMessage *)
protobuf_c_message_unpack (&broker__deduplicated_uplink_message__descriptor,
allocator, len, data);
}
void broker__deduplicated_uplink_message__free_unpacked
(Broker__DeduplicatedUplinkMessage *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__deduplicated_uplink_message__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__device_activation_request__init
(Broker__DeviceActivationRequest *message)
{
static const Broker__DeviceActivationRequest init_value = BROKER__DEVICE_ACTIVATION_REQUEST__INIT;
*message = init_value;
}
size_t broker__device_activation_request__get_packed_size
(const Broker__DeviceActivationRequest *message)
{
assert(message->base.descriptor == &broker__device_activation_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__device_activation_request__pack
(const Broker__DeviceActivationRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__device_activation_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__device_activation_request__pack_to_buffer
(const Broker__DeviceActivationRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__device_activation_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__DeviceActivationRequest *
broker__device_activation_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__DeviceActivationRequest *)
protobuf_c_message_unpack (&broker__device_activation_request__descriptor,
allocator, len, data);
}
void broker__device_activation_request__free_unpacked
(Broker__DeviceActivationRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__device_activation_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__deduplicated_device_activation_request__init
(Broker__DeduplicatedDeviceActivationRequest *message)
{
static const Broker__DeduplicatedDeviceActivationRequest init_value = BROKER__DEDUPLICATED_DEVICE_ACTIVATION_REQUEST__INIT;
*message = init_value;
}
size_t broker__deduplicated_device_activation_request__get_packed_size
(const Broker__DeduplicatedDeviceActivationRequest *message)
{
assert(message->base.descriptor == &broker__deduplicated_device_activation_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__deduplicated_device_activation_request__pack
(const Broker__DeduplicatedDeviceActivationRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__deduplicated_device_activation_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__deduplicated_device_activation_request__pack_to_buffer
(const Broker__DeduplicatedDeviceActivationRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__deduplicated_device_activation_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__DeduplicatedDeviceActivationRequest *
broker__deduplicated_device_activation_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__DeduplicatedDeviceActivationRequest *)
protobuf_c_message_unpack (&broker__deduplicated_device_activation_request__descriptor,
allocator, len, data);
}
void broker__deduplicated_device_activation_request__free_unpacked
(Broker__DeduplicatedDeviceActivationRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__deduplicated_device_activation_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__activation_challenge_request__init
(Broker__ActivationChallengeRequest *message)
{
static const Broker__ActivationChallengeRequest init_value = BROKER__ACTIVATION_CHALLENGE_REQUEST__INIT;
*message = init_value;
}
size_t broker__activation_challenge_request__get_packed_size
(const Broker__ActivationChallengeRequest *message)
{
assert(message->base.descriptor == &broker__activation_challenge_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__activation_challenge_request__pack
(const Broker__ActivationChallengeRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__activation_challenge_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__activation_challenge_request__pack_to_buffer
(const Broker__ActivationChallengeRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__activation_challenge_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__ActivationChallengeRequest *
broker__activation_challenge_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__ActivationChallengeRequest *)
protobuf_c_message_unpack (&broker__activation_challenge_request__descriptor,
allocator, len, data);
}
void broker__activation_challenge_request__free_unpacked
(Broker__ActivationChallengeRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__activation_challenge_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__activation_challenge_response__init
(Broker__ActivationChallengeResponse *message)
{
static const Broker__ActivationChallengeResponse init_value = BROKER__ACTIVATION_CHALLENGE_RESPONSE__INIT;
*message = init_value;
}
size_t broker__activation_challenge_response__get_packed_size
(const Broker__ActivationChallengeResponse *message)
{
assert(message->base.descriptor == &broker__activation_challenge_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__activation_challenge_response__pack
(const Broker__ActivationChallengeResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__activation_challenge_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__activation_challenge_response__pack_to_buffer
(const Broker__ActivationChallengeResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__activation_challenge_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__ActivationChallengeResponse *
broker__activation_challenge_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__ActivationChallengeResponse *)
protobuf_c_message_unpack (&broker__activation_challenge_response__descriptor,
allocator, len, data);
}
void broker__activation_challenge_response__free_unpacked
(Broker__ActivationChallengeResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__activation_challenge_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__subscribe_request__init
(Broker__SubscribeRequest *message)
{
static const Broker__SubscribeRequest init_value = BROKER__SUBSCRIBE_REQUEST__INIT;
*message = init_value;
}
size_t broker__subscribe_request__get_packed_size
(const Broker__SubscribeRequest *message)
{
assert(message->base.descriptor == &broker__subscribe_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__subscribe_request__pack
(const Broker__SubscribeRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__subscribe_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__subscribe_request__pack_to_buffer
(const Broker__SubscribeRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__subscribe_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__SubscribeRequest *
broker__subscribe_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__SubscribeRequest *)
protobuf_c_message_unpack (&broker__subscribe_request__descriptor,
allocator, len, data);
}
void broker__subscribe_request__free_unpacked
(Broker__SubscribeRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__subscribe_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__status_request__init
(Broker__StatusRequest *message)
{
static const Broker__StatusRequest init_value = BROKER__STATUS_REQUEST__INIT;
*message = init_value;
}
size_t broker__status_request__get_packed_size
(const Broker__StatusRequest *message)
{
assert(message->base.descriptor == &broker__status_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__status_request__pack
(const Broker__StatusRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__status_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__status_request__pack_to_buffer
(const Broker__StatusRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__status_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__StatusRequest *
broker__status_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__StatusRequest *)
protobuf_c_message_unpack (&broker__status_request__descriptor,
allocator, len, data);
}
void broker__status_request__free_unpacked
(Broker__StatusRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__status_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__status__init
(Broker__Status *message)
{
static const Broker__Status init_value = BROKER__STATUS__INIT;
*message = init_value;
}
size_t broker__status__get_packed_size
(const Broker__Status *message)
{
assert(message->base.descriptor == &broker__status__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__status__pack
(const Broker__Status *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__status__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__status__pack_to_buffer
(const Broker__Status *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__status__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__Status *
broker__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__Status *)
protobuf_c_message_unpack (&broker__status__descriptor,
allocator, len, data);
}
void broker__status__free_unpacked
(Broker__Status *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__status__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void broker__application_handler_registration__init
(Broker__ApplicationHandlerRegistration *message)
{
static const Broker__ApplicationHandlerRegistration init_value = BROKER__APPLICATION_HANDLER_REGISTRATION__INIT;
*message = init_value;
}
size_t broker__application_handler_registration__get_packed_size
(const Broker__ApplicationHandlerRegistration *message)
{
assert(message->base.descriptor == &broker__application_handler_registration__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t broker__application_handler_registration__pack
(const Broker__ApplicationHandlerRegistration *message,
uint8_t *out)
{
assert(message->base.descriptor == &broker__application_handler_registration__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t broker__application_handler_registration__pack_to_buffer
(const Broker__ApplicationHandlerRegistration *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &broker__application_handler_registration__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Broker__ApplicationHandlerRegistration *
broker__application_handler_registration__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Broker__ApplicationHandlerRegistration *)
protobuf_c_message_unpack (&broker__application_handler_registration__descriptor,
allocator, len, data);
}
void broker__application_handler_registration__free_unpacked
(Broker__ApplicationHandlerRegistration *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &broker__application_handler_registration__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor broker__downlink_option__field_descriptors[6] =
{
{
"identifier",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__DownlinkOption, identifier),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_id",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__DownlinkOption, gateway_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"score",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Broker__DownlinkOption, score),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"deadline",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Broker__DownlinkOption, deadline),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"protocol_configuration",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DownlinkOption, protocol_configuration),
&protocol__tx_configuration__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_configuration",
6,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DownlinkOption, gateway_configuration),
&gateway__tx_configuration__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__downlink_option__field_indices_by_name[] = {
3, /* field[3] = deadline */
5, /* field[5] = gateway_configuration */
1, /* field[1] = gateway_id */
0, /* field[0] = identifier */
4, /* field[4] = protocol_configuration */
2, /* field[2] = score */
};
static const ProtobufCIntRange broker__downlink_option__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 6 }
};
const ProtobufCMessageDescriptor broker__downlink_option__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.DownlinkOption",
"DownlinkOption",
"Broker__DownlinkOption",
"broker",
sizeof(Broker__DownlinkOption),
6,
broker__downlink_option__field_descriptors,
broker__downlink_option__field_indices_by_name,
1, broker__downlink_option__number_ranges,
(ProtobufCMessageInit) broker__downlink_option__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__uplink_message__field_descriptors[10] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_eui",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_id",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"protocol_metadata",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, protocol_metadata),
&protocol__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_metadata",
22,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, gateway_metadata),
&gateway__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink_options",
31,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Broker__UplinkMessage, n_downlink_options),
offsetof(Broker__UplinkMessage, downlink_options),
&broker__downlink_option__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
41,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__UplinkMessage, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__uplink_message__field_indices_by_name[] = {
3, /* field[3] = app_eui */
4, /* field[4] = app_id */
2, /* field[2] = dev_eui */
5, /* field[5] = dev_id */
8, /* field[8] = downlink_options */
7, /* field[7] = gateway_metadata */
1, /* field[1] = message */
0, /* field[0] = payload */
6, /* field[6] = protocol_metadata */
9, /* field[9] = trace */
};
static const ProtobufCIntRange broker__uplink_message__number_ranges[5 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 6 },
{ 31, 8 },
{ 41, 9 },
{ 0, 10 }
};
const ProtobufCMessageDescriptor broker__uplink_message__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.UplinkMessage",
"UplinkMessage",
"Broker__UplinkMessage",
"broker",
sizeof(Broker__UplinkMessage),
10,
broker__uplink_message__field_descriptors,
broker__uplink_message__field_indices_by_name,
5, broker__uplink_message__number_ranges,
(ProtobufCMessageInit) broker__uplink_message__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__downlink_message__field_descriptors[8] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DownlinkMessage, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DownlinkMessage, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DownlinkMessage, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_eui",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DownlinkMessage, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_id",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__DownlinkMessage, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__DownlinkMessage, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink_option",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DownlinkMessage, downlink_option),
&broker__downlink_option__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DownlinkMessage, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__downlink_message__field_indices_by_name[] = {
3, /* field[3] = app_eui */
4, /* field[4] = app_id */
2, /* field[2] = dev_eui */
5, /* field[5] = dev_id */
6, /* field[6] = downlink_option */
1, /* field[1] = message */
0, /* field[0] = payload */
7, /* field[7] = trace */
};
static const ProtobufCIntRange broker__downlink_message__number_ranges[4 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 6 },
{ 31, 7 },
{ 0, 8 }
};
const ProtobufCMessageDescriptor broker__downlink_message__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.DownlinkMessage",
"DownlinkMessage",
"Broker__DownlinkMessage",
"broker",
sizeof(Broker__DownlinkMessage),
8,
broker__downlink_message__field_descriptors,
broker__downlink_message__field_indices_by_name,
4, broker__downlink_message__number_ranges,
(ProtobufCMessageInit) broker__downlink_message__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__device_activation_response__field_descriptors[4] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationResponse, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationResponse, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink_option",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationResponse, downlink_option),
&broker__downlink_option__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationResponse, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__device_activation_response__field_indices_by_name[] = {
2, /* field[2] = downlink_option */
1, /* field[1] = message */
0, /* field[0] = payload */
3, /* field[3] = trace */
};
static const ProtobufCIntRange broker__device_activation_response__number_ranges[3 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 3 },
{ 0, 4 }
};
const ProtobufCMessageDescriptor broker__device_activation_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.DeviceActivationResponse",
"DeviceActivationResponse",
"Broker__DeviceActivationResponse",
"broker",
sizeof(Broker__DeviceActivationResponse),
4,
broker__device_activation_response__field_descriptors,
broker__device_activation_response__field_indices_by_name,
3, broker__device_activation_response__number_ranges,
(ProtobufCMessageInit) broker__device_activation_response__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__deduplicated_uplink_message__field_descriptors[11] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_eui",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_id",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"protocol_metadata",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, protocol_metadata),
&protocol__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_metadata",
22,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Broker__DeduplicatedUplinkMessage, n_gateway_metadata),
offsetof(Broker__DeduplicatedUplinkMessage, gateway_metadata),
&gateway__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"server_time",
23,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, server_time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"response_template",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, response_template),
&broker__downlink_message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
41,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedUplinkMessage, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__deduplicated_uplink_message__field_indices_by_name[] = {
3, /* field[3] = app_eui */
4, /* field[4] = app_id */
2, /* field[2] = dev_eui */
5, /* field[5] = dev_id */
7, /* field[7] = gateway_metadata */
1, /* field[1] = message */
0, /* field[0] = payload */
6, /* field[6] = protocol_metadata */
9, /* field[9] = response_template */
8, /* field[8] = server_time */
10, /* field[10] = trace */
};
static const ProtobufCIntRange broker__deduplicated_uplink_message__number_ranges[5 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 6 },
{ 31, 9 },
{ 41, 10 },
{ 0, 11 }
};
const ProtobufCMessageDescriptor broker__deduplicated_uplink_message__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.DeduplicatedUplinkMessage",
"DeduplicatedUplinkMessage",
"Broker__DeduplicatedUplinkMessage",
"broker",
sizeof(Broker__DeduplicatedUplinkMessage),
11,
broker__deduplicated_uplink_message__field_descriptors,
broker__deduplicated_uplink_message__field_indices_by_name,
5, broker__deduplicated_uplink_message__number_ranges,
(ProtobufCMessageInit) broker__deduplicated_uplink_message__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__device_activation_request__field_descriptors[9] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationRequest, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationRequest, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationRequest, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_eui",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationRequest, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"protocol_metadata",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationRequest, protocol_metadata),
&protocol__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_metadata",
22,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationRequest, gateway_metadata),
&gateway__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activation_metadata",
23,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationRequest, activation_metadata),
&protocol__activation_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink_options",
31,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Broker__DeviceActivationRequest, n_downlink_options),
offsetof(Broker__DeviceActivationRequest, downlink_options),
&broker__downlink_option__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
41,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeviceActivationRequest, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__device_activation_request__field_indices_by_name[] = {
6, /* field[6] = activation_metadata */
3, /* field[3] = app_eui */
2, /* field[2] = dev_eui */
7, /* field[7] = downlink_options */
5, /* field[5] = gateway_metadata */
1, /* field[1] = message */
0, /* field[0] = payload */
4, /* field[4] = protocol_metadata */
8, /* field[8] = trace */
};
static const ProtobufCIntRange broker__device_activation_request__number_ranges[5 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 4 },
{ 31, 7 },
{ 41, 8 },
{ 0, 9 }
};
const ProtobufCMessageDescriptor broker__device_activation_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.DeviceActivationRequest",
"DeviceActivationRequest",
"Broker__DeviceActivationRequest",
"broker",
sizeof(Broker__DeviceActivationRequest),
9,
broker__device_activation_request__field_descriptors,
broker__device_activation_request__field_indices_by_name,
5, broker__device_activation_request__number_ranges,
(ProtobufCMessageInit) broker__device_activation_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__deduplicated_device_activation_request__field_descriptors[12] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_eui",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_id",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"protocol_metadata",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, protocol_metadata),
&protocol__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_metadata",
22,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Broker__DeduplicatedDeviceActivationRequest, n_gateway_metadata),
offsetof(Broker__DeduplicatedDeviceActivationRequest, gateway_metadata),
&gateway__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activation_metadata",
23,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, activation_metadata),
&protocol__activation_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"server_time",
24,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, server_time),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"response_template",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, response_template),
&broker__device_activation_response__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
41,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__DeduplicatedDeviceActivationRequest, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__deduplicated_device_activation_request__field_indices_by_name[] = {
8, /* field[8] = activation_metadata */
3, /* field[3] = app_eui */
4, /* field[4] = app_id */
2, /* field[2] = dev_eui */
5, /* field[5] = dev_id */
7, /* field[7] = gateway_metadata */
1, /* field[1] = message */
0, /* field[0] = payload */
6, /* field[6] = protocol_metadata */
10, /* field[10] = response_template */
9, /* field[9] = server_time */
11, /* field[11] = trace */
};
static const ProtobufCIntRange broker__deduplicated_device_activation_request__number_ranges[5 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 6 },
{ 31, 10 },
{ 41, 11 },
{ 0, 12 }
};
const ProtobufCMessageDescriptor broker__deduplicated_device_activation_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.DeduplicatedDeviceActivationRequest",
"DeduplicatedDeviceActivationRequest",
"Broker__DeduplicatedDeviceActivationRequest",
"broker",
sizeof(Broker__DeduplicatedDeviceActivationRequest),
12,
broker__deduplicated_device_activation_request__field_descriptors,
broker__deduplicated_device_activation_request__field_indices_by_name,
5, broker__deduplicated_device_activation_request__number_ranges,
(ProtobufCMessageInit) broker__deduplicated_device_activation_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__activation_challenge_request__field_descriptors[6] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__ActivationChallengeRequest, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__ActivationChallengeRequest, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__ActivationChallengeRequest, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_eui",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__ActivationChallengeRequest, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_id",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__ActivationChallengeRequest, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__ActivationChallengeRequest, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__activation_challenge_request__field_indices_by_name[] = {
3, /* field[3] = app_eui */
4, /* field[4] = app_id */
2, /* field[2] = dev_eui */
5, /* field[5] = dev_id */
1, /* field[1] = message */
0, /* field[0] = payload */
};
static const ProtobufCIntRange broker__activation_challenge_request__number_ranges[2 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 0, 6 }
};
const ProtobufCMessageDescriptor broker__activation_challenge_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.ActivationChallengeRequest",
"ActivationChallengeRequest",
"Broker__ActivationChallengeRequest",
"broker",
sizeof(Broker__ActivationChallengeRequest),
6,
broker__activation_challenge_request__field_descriptors,
broker__activation_challenge_request__field_indices_by_name,
2, broker__activation_challenge_request__number_ranges,
(ProtobufCMessageInit) broker__activation_challenge_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__activation_challenge_response__field_descriptors[2] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Broker__ActivationChallengeResponse, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__ActivationChallengeResponse, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__activation_challenge_response__field_indices_by_name[] = {
1, /* field[1] = message */
0, /* field[0] = payload */
};
static const ProtobufCIntRange broker__activation_challenge_response__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor broker__activation_challenge_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.ActivationChallengeResponse",
"ActivationChallengeResponse",
"Broker__ActivationChallengeResponse",
"broker",
sizeof(Broker__ActivationChallengeResponse),
2,
broker__activation_challenge_response__field_descriptors,
broker__activation_challenge_response__field_indices_by_name,
1, broker__activation_challenge_response__number_ranges,
(ProtobufCMessageInit) broker__activation_challenge_response__init,
NULL,NULL,NULL /* reserved[123] */
};
#define broker__subscribe_request__field_descriptors NULL
#define broker__subscribe_request__field_indices_by_name NULL
#define broker__subscribe_request__number_ranges NULL
const ProtobufCMessageDescriptor broker__subscribe_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.SubscribeRequest",
"SubscribeRequest",
"Broker__SubscribeRequest",
"broker",
sizeof(Broker__SubscribeRequest),
0,
broker__subscribe_request__field_descriptors,
broker__subscribe_request__field_indices_by_name,
0, broker__subscribe_request__number_ranges,
(ProtobufCMessageInit) broker__subscribe_request__init,
NULL,NULL,NULL /* reserved[123] */
};
#define broker__status_request__field_descriptors NULL
#define broker__status_request__field_indices_by_name NULL
#define broker__status_request__number_ranges NULL
const ProtobufCMessageDescriptor broker__status_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.StatusRequest",
"StatusRequest",
"Broker__StatusRequest",
"broker",
sizeof(Broker__StatusRequest),
0,
broker__status_request__field_descriptors,
broker__status_request__field_indices_by_name,
0, broker__status_request__number_ranges,
(ProtobufCMessageInit) broker__status_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__status__field_descriptors[10] =
{
{
"system",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__Status, system),
&api__system_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"component",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__Status, component),
&api__component_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"uplink",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__Status, uplink),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"uplink_unique",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__Status, uplink_unique),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__Status, downlink),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activations",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__Status, activations),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activations_unique",
15,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__Status, activations_unique),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"deduplication",
16,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Broker__Status, deduplication),
&api__percentiles__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"connected_routers",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Broker__Status, connected_routers),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"connected_handlers",
22,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Broker__Status, connected_handlers),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__status__field_indices_by_name[] = {
5, /* field[5] = activations */
6, /* field[6] = activations_unique */
1, /* field[1] = component */
9, /* field[9] = connected_handlers */
8, /* field[8] = connected_routers */
7, /* field[7] = deduplication */
4, /* field[4] = downlink */
0, /* field[0] = system */
2, /* field[2] = uplink */
3, /* field[3] = uplink_unique */
};
static const ProtobufCIntRange broker__status__number_ranges[3 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 8 },
{ 0, 10 }
};
const ProtobufCMessageDescriptor broker__status__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.Status",
"Status",
"Broker__Status",
"broker",
sizeof(Broker__Status),
10,
broker__status__field_descriptors,
broker__status__field_indices_by_name,
3, broker__status__number_ranges,
(ProtobufCMessageInit) broker__status__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor broker__application_handler_registration__field_descriptors[2] =
{
{
"app_id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__ApplicationHandlerRegistration, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"handler_id",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Broker__ApplicationHandlerRegistration, handler_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned broker__application_handler_registration__field_indices_by_name[] = {
0, /* field[0] = app_id */
1, /* field[1] = handler_id */
};
static const ProtobufCIntRange broker__application_handler_registration__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor broker__application_handler_registration__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"broker.ApplicationHandlerRegistration",
"ApplicationHandlerRegistration",
"Broker__ApplicationHandlerRegistration",
"broker",
sizeof(Broker__ApplicationHandlerRegistration),
2,
broker__application_handler_registration__field_descriptors,
broker__application_handler_registration__field_indices_by_name,
1, broker__application_handler_registration__number_ranges,
(ProtobufCMessageInit) broker__application_handler_registration__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCMethodDescriptor broker__broker__method_descriptors[4] =
{
{ "Associate", &broker__uplink_message__descriptor, &broker__downlink_message__descriptor },
{ "Subscribe", &broker__subscribe_request__descriptor, &broker__deduplicated_uplink_message__descriptor },
{ "Publish", &broker__downlink_message__descriptor, &google__protobuf__empty__descriptor },
{ "Activate", &broker__device_activation_request__descriptor, &broker__device_activation_response__descriptor },
};
const unsigned broker__broker__method_indices_by_name[] = {
3, /* Activate */
0, /* Associate */
2, /* Publish */
1 /* Subscribe */
};
const ProtobufCServiceDescriptor broker__broker__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"broker.Broker",
"Broker",
"Broker__Broker",
"broker",
4,
broker__broker__method_descriptors,
broker__broker__method_indices_by_name
};
void broker__broker__associate(ProtobufCService *service,
const Broker__UplinkMessage *input,
Broker__DownlinkMessage_Closure closure,
void *closure_data)
{
assert(service->descriptor == &broker__broker__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void broker__broker__subscribe(ProtobufCService *service,
const Broker__SubscribeRequest *input,
Broker__DeduplicatedUplinkMessage_Closure closure,
void *closure_data)
{
assert(service->descriptor == &broker__broker__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void broker__broker__publish(ProtobufCService *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &broker__broker__descriptor);
service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void broker__broker__activate(ProtobufCService *service,
const Broker__DeviceActivationRequest *input,
Broker__DeviceActivationResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &broker__broker__descriptor);
service->invoke(service, 3, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void broker__broker__init (Broker__Broker_Service *service,
Broker__Broker_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&broker__broker__descriptor,
(ProtobufCServiceDestroy) destroy);
}
static const ProtobufCMethodDescriptor broker__broker_manager__method_descriptors[2] =
{
{ "RegisterApplicationHandler", &broker__application_handler_registration__descriptor, &google__protobuf__empty__descriptor },
{ "GetStatus", &broker__status_request__descriptor, &broker__status__descriptor },
};
const unsigned broker__broker_manager__method_indices_by_name[] = {
1, /* GetStatus */
0 /* RegisterApplicationHandler */
};
const ProtobufCServiceDescriptor broker__broker_manager__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"broker.BrokerManager",
"BrokerManager",
"Broker__BrokerManager",
"broker",
2,
broker__broker_manager__method_descriptors,
broker__broker_manager__method_indices_by_name
};
void broker__broker_manager__register_application_handler(ProtobufCService *service,
const Broker__ApplicationHandlerRegistration *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &broker__broker_manager__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void broker__broker_manager__get_status(ProtobufCService *service,
const Broker__StatusRequest *input,
Broker__Status_Closure closure,
void *closure_data)
{
assert(service->descriptor == &broker__broker_manager__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void broker__broker_manager__init (Broker__BrokerManager_Service *service,
Broker__BrokerManager_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&broker__broker_manager__descriptor,
(ProtobufCServiceDestroy) destroy);
}
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/router/router.pb-c.c | <gh_stars>10-100
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/router/router.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/router/router.pb-c.h"
void router__subscribe_request__init
(Router__SubscribeRequest *message)
{
static const Router__SubscribeRequest init_value = ROUTER__SUBSCRIBE_REQUEST__INIT;
*message = init_value;
}
size_t router__subscribe_request__get_packed_size
(const Router__SubscribeRequest *message)
{
assert(message->base.descriptor == &router__subscribe_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__subscribe_request__pack
(const Router__SubscribeRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__subscribe_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__subscribe_request__pack_to_buffer
(const Router__SubscribeRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__subscribe_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__SubscribeRequest *
router__subscribe_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__SubscribeRequest *)
protobuf_c_message_unpack (&router__subscribe_request__descriptor,
allocator, len, data);
}
void router__subscribe_request__free_unpacked
(Router__SubscribeRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__subscribe_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void router__uplink_message__init
(Router__UplinkMessage *message)
{
static const Router__UplinkMessage init_value = ROUTER__UPLINK_MESSAGE__INIT;
*message = init_value;
}
size_t router__uplink_message__get_packed_size
(const Router__UplinkMessage *message)
{
assert(message->base.descriptor == &router__uplink_message__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__uplink_message__pack
(const Router__UplinkMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__uplink_message__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__uplink_message__pack_to_buffer
(const Router__UplinkMessage *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__uplink_message__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__UplinkMessage *
router__uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__UplinkMessage *)
protobuf_c_message_unpack (&router__uplink_message__descriptor,
allocator, len, data);
}
void router__uplink_message__free_unpacked
(Router__UplinkMessage *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__uplink_message__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void router__downlink_message__init
(Router__DownlinkMessage *message)
{
static const Router__DownlinkMessage init_value = ROUTER__DOWNLINK_MESSAGE__INIT;
*message = init_value;
}
size_t router__downlink_message__get_packed_size
(const Router__DownlinkMessage *message)
{
assert(message->base.descriptor == &router__downlink_message__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__downlink_message__pack
(const Router__DownlinkMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__downlink_message__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__downlink_message__pack_to_buffer
(const Router__DownlinkMessage *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__downlink_message__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__DownlinkMessage *
router__downlink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__DownlinkMessage *)
protobuf_c_message_unpack (&router__downlink_message__descriptor,
allocator, len, data);
}
void router__downlink_message__free_unpacked
(Router__DownlinkMessage *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__downlink_message__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void router__device_activation_request__init
(Router__DeviceActivationRequest *message)
{
static const Router__DeviceActivationRequest init_value = ROUTER__DEVICE_ACTIVATION_REQUEST__INIT;
*message = init_value;
}
size_t router__device_activation_request__get_packed_size
(const Router__DeviceActivationRequest *message)
{
assert(message->base.descriptor == &router__device_activation_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__device_activation_request__pack
(const Router__DeviceActivationRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__device_activation_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__device_activation_request__pack_to_buffer
(const Router__DeviceActivationRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__device_activation_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__DeviceActivationRequest *
router__device_activation_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__DeviceActivationRequest *)
protobuf_c_message_unpack (&router__device_activation_request__descriptor,
allocator, len, data);
}
void router__device_activation_request__free_unpacked
(Router__DeviceActivationRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__device_activation_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void router__device_activation_response__init
(Router__DeviceActivationResponse *message)
{
static const Router__DeviceActivationResponse init_value = ROUTER__DEVICE_ACTIVATION_RESPONSE__INIT;
*message = init_value;
}
size_t router__device_activation_response__get_packed_size
(const Router__DeviceActivationResponse *message)
{
assert(message->base.descriptor == &router__device_activation_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__device_activation_response__pack
(const Router__DeviceActivationResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__device_activation_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__device_activation_response__pack_to_buffer
(const Router__DeviceActivationResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__device_activation_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__DeviceActivationResponse *
router__device_activation_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__DeviceActivationResponse *)
protobuf_c_message_unpack (&router__device_activation_response__descriptor,
allocator, len, data);
}
void router__device_activation_response__free_unpacked
(Router__DeviceActivationResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__device_activation_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void router__gateway_status_request__init
(Router__GatewayStatusRequest *message)
{
static const Router__GatewayStatusRequest init_value = ROUTER__GATEWAY_STATUS_REQUEST__INIT;
*message = init_value;
}
size_t router__gateway_status_request__get_packed_size
(const Router__GatewayStatusRequest *message)
{
assert(message->base.descriptor == &router__gateway_status_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__gateway_status_request__pack
(const Router__GatewayStatusRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__gateway_status_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__gateway_status_request__pack_to_buffer
(const Router__GatewayStatusRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__gateway_status_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__GatewayStatusRequest *
router__gateway_status_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__GatewayStatusRequest *)
protobuf_c_message_unpack (&router__gateway_status_request__descriptor,
allocator, len, data);
}
void router__gateway_status_request__free_unpacked
(Router__GatewayStatusRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__gateway_status_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void router__gateway_status_response__init
(Router__GatewayStatusResponse *message)
{
static const Router__GatewayStatusResponse init_value = ROUTER__GATEWAY_STATUS_RESPONSE__INIT;
*message = init_value;
}
size_t router__gateway_status_response__get_packed_size
(const Router__GatewayStatusResponse *message)
{
assert(message->base.descriptor == &router__gateway_status_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__gateway_status_response__pack
(const Router__GatewayStatusResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__gateway_status_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__gateway_status_response__pack_to_buffer
(const Router__GatewayStatusResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__gateway_status_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__GatewayStatusResponse *
router__gateway_status_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__GatewayStatusResponse *)
protobuf_c_message_unpack (&router__gateway_status_response__descriptor,
allocator, len, data);
}
void router__gateway_status_response__free_unpacked
(Router__GatewayStatusResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__gateway_status_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void router__status_request__init
(Router__StatusRequest *message)
{
static const Router__StatusRequest init_value = ROUTER__STATUS_REQUEST__INIT;
*message = init_value;
}
size_t router__status_request__get_packed_size
(const Router__StatusRequest *message)
{
assert(message->base.descriptor == &router__status_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__status_request__pack
(const Router__StatusRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__status_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__status_request__pack_to_buffer
(const Router__StatusRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__status_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__StatusRequest *
router__status_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__StatusRequest *)
protobuf_c_message_unpack (&router__status_request__descriptor,
allocator, len, data);
}
void router__status_request__free_unpacked
(Router__StatusRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__status_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void router__status__init
(Router__Status *message)
{
static const Router__Status init_value = ROUTER__STATUS__INIT;
*message = init_value;
}
size_t router__status__get_packed_size
(const Router__Status *message)
{
assert(message->base.descriptor == &router__status__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t router__status__pack
(const Router__Status *message,
uint8_t *out)
{
assert(message->base.descriptor == &router__status__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t router__status__pack_to_buffer
(const Router__Status *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &router__status__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Router__Status *
router__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Router__Status *)
protobuf_c_message_unpack (&router__status__descriptor,
allocator, len, data);
}
void router__status__free_unpacked
(Router__Status *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &router__status__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
#define router__subscribe_request__field_descriptors NULL
#define router__subscribe_request__field_indices_by_name NULL
#define router__subscribe_request__number_ranges NULL
const ProtobufCMessageDescriptor router__subscribe_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.SubscribeRequest",
"SubscribeRequest",
"Router__SubscribeRequest",
"router",
sizeof(Router__SubscribeRequest),
0,
router__subscribe_request__field_descriptors,
router__subscribe_request__field_indices_by_name,
0, router__subscribe_request__number_ranges,
(ProtobufCMessageInit) router__subscribe_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor router__uplink_message__field_descriptors[5] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Router__UplinkMessage, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__UplinkMessage, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"protocol_metadata",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__UplinkMessage, protocol_metadata),
&protocol__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_metadata",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__UplinkMessage, gateway_metadata),
&gateway__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__UplinkMessage, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned router__uplink_message__field_indices_by_name[] = {
3, /* field[3] = gateway_metadata */
1, /* field[1] = message */
0, /* field[0] = payload */
2, /* field[2] = protocol_metadata */
4, /* field[4] = trace */
};
static const ProtobufCIntRange router__uplink_message__number_ranges[3 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 4 },
{ 0, 5 }
};
const ProtobufCMessageDescriptor router__uplink_message__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.UplinkMessage",
"UplinkMessage",
"Router__UplinkMessage",
"router",
sizeof(Router__UplinkMessage),
5,
router__uplink_message__field_descriptors,
router__uplink_message__field_indices_by_name,
3, router__uplink_message__number_ranges,
(ProtobufCMessageInit) router__uplink_message__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor router__downlink_message__field_descriptors[5] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Router__DownlinkMessage, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DownlinkMessage, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"protocol_configuration",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DownlinkMessage, protocol_configuration),
&protocol__tx_configuration__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_configuration",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DownlinkMessage, gateway_configuration),
&gateway__tx_configuration__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DownlinkMessage, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned router__downlink_message__field_indices_by_name[] = {
3, /* field[3] = gateway_configuration */
1, /* field[1] = message */
0, /* field[0] = payload */
2, /* field[2] = protocol_configuration */
4, /* field[4] = trace */
};
static const ProtobufCIntRange router__downlink_message__number_ranges[3 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 4 },
{ 0, 5 }
};
const ProtobufCMessageDescriptor router__downlink_message__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.DownlinkMessage",
"DownlinkMessage",
"Router__DownlinkMessage",
"router",
sizeof(Router__DownlinkMessage),
5,
router__downlink_message__field_descriptors,
router__downlink_message__field_indices_by_name,
3, router__downlink_message__number_ranges,
(ProtobufCMessageInit) router__downlink_message__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor router__device_activation_request__field_descriptors[8] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Router__DeviceActivationRequest, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DeviceActivationRequest, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_eui",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Router__DeviceActivationRequest, dev_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app_eui",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Router__DeviceActivationRequest, app_eui),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"protocol_metadata",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DeviceActivationRequest, protocol_metadata),
&protocol__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_metadata",
22,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DeviceActivationRequest, gateway_metadata),
&gateway__rx_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activation_metadata",
23,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DeviceActivationRequest, activation_metadata),
&protocol__activation_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__DeviceActivationRequest, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned router__device_activation_request__field_indices_by_name[] = {
6, /* field[6] = activation_metadata */
3, /* field[3] = app_eui */
2, /* field[2] = dev_eui */
5, /* field[5] = gateway_metadata */
1, /* field[1] = message */
0, /* field[0] = payload */
4, /* field[4] = protocol_metadata */
7, /* field[7] = trace */
};
static const ProtobufCIntRange router__device_activation_request__number_ranges[4 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 4 },
{ 31, 7 },
{ 0, 8 }
};
const ProtobufCMessageDescriptor router__device_activation_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.DeviceActivationRequest",
"DeviceActivationRequest",
"Router__DeviceActivationRequest",
"router",
sizeof(Router__DeviceActivationRequest),
8,
router__device_activation_request__field_descriptors,
router__device_activation_request__field_indices_by_name,
4, router__device_activation_request__number_ranges,
(ProtobufCMessageInit) router__device_activation_request__init,
NULL,NULL,NULL /* reserved[123] */
};
#define router__device_activation_response__field_descriptors NULL
#define router__device_activation_response__field_indices_by_name NULL
#define router__device_activation_response__number_ranges NULL
const ProtobufCMessageDescriptor router__device_activation_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.DeviceActivationResponse",
"DeviceActivationResponse",
"Router__DeviceActivationResponse",
"router",
sizeof(Router__DeviceActivationResponse),
0,
router__device_activation_response__field_descriptors,
router__device_activation_response__field_indices_by_name,
0, router__device_activation_response__number_ranges,
(ProtobufCMessageInit) router__device_activation_response__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor router__gateway_status_request__field_descriptors[1] =
{
{
"gateway_id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Router__GatewayStatusRequest, gateway_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned router__gateway_status_request__field_indices_by_name[] = {
0, /* field[0] = gateway_id */
};
static const ProtobufCIntRange router__gateway_status_request__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor router__gateway_status_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.GatewayStatusRequest",
"GatewayStatusRequest",
"Router__GatewayStatusRequest",
"router",
sizeof(Router__GatewayStatusRequest),
1,
router__gateway_status_request__field_descriptors,
router__gateway_status_request__field_indices_by_name,
1, router__gateway_status_request__number_ranges,
(ProtobufCMessageInit) router__gateway_status_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor router__gateway_status_response__field_descriptors[2] =
{
{
"last_seen",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT64,
0, /* quantifier_offset */
offsetof(Router__GatewayStatusResponse, last_seen),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"status",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__GatewayStatusResponse, status),
&gateway__status__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned router__gateway_status_response__field_indices_by_name[] = {
0, /* field[0] = last_seen */
1, /* field[1] = status */
};
static const ProtobufCIntRange router__gateway_status_response__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor router__gateway_status_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.GatewayStatusResponse",
"GatewayStatusResponse",
"Router__GatewayStatusResponse",
"router",
sizeof(Router__GatewayStatusResponse),
2,
router__gateway_status_response__field_descriptors,
router__gateway_status_response__field_indices_by_name,
1, router__gateway_status_response__number_ranges,
(ProtobufCMessageInit) router__gateway_status_response__init,
NULL,NULL,NULL /* reserved[123] */
};
#define router__status_request__field_descriptors NULL
#define router__status_request__field_indices_by_name NULL
#define router__status_request__number_ranges NULL
const ProtobufCMessageDescriptor router__status_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.StatusRequest",
"StatusRequest",
"Router__StatusRequest",
"router",
sizeof(Router__StatusRequest),
0,
router__status_request__field_descriptors,
router__status_request__field_indices_by_name,
0, router__status_request__number_ranges,
(ProtobufCMessageInit) router__status_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor router__status__field_descriptors[8] =
{
{
"system",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__Status, system),
&api__system_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"component",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__Status, component),
&api__component_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"gateway_status",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__Status, gateway_status),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"uplink",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__Status, uplink),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__Status, downlink),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activations",
14,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Router__Status, activations),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"connected_gateways",
21,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Router__Status, connected_gateways),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"connected_brokers",
22,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Router__Status, connected_brokers),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned router__status__field_indices_by_name[] = {
5, /* field[5] = activations */
1, /* field[1] = component */
7, /* field[7] = connected_brokers */
6, /* field[6] = connected_gateways */
4, /* field[4] = downlink */
2, /* field[2] = gateway_status */
0, /* field[0] = system */
3, /* field[3] = uplink */
};
static const ProtobufCIntRange router__status__number_ranges[3 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 21, 6 },
{ 0, 8 }
};
const ProtobufCMessageDescriptor router__status__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"router.Status",
"Status",
"Router__Status",
"router",
sizeof(Router__Status),
8,
router__status__field_descriptors,
router__status__field_indices_by_name,
3, router__status__number_ranges,
(ProtobufCMessageInit) router__status__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCMethodDescriptor router__router__method_descriptors[4] =
{
{ "GatewayStatus", &gateway__status__descriptor, &google__protobuf__empty__descriptor },
{ "Uplink", &router__uplink_message__descriptor, &google__protobuf__empty__descriptor },
{ "Subscribe", &router__subscribe_request__descriptor, &router__downlink_message__descriptor },
{ "Activate", &router__device_activation_request__descriptor, &router__device_activation_response__descriptor },
};
const unsigned router__router__method_indices_by_name[] = {
3, /* Activate */
0, /* GatewayStatus */
2, /* Subscribe */
1 /* Uplink */
};
const ProtobufCServiceDescriptor router__router__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"router.Router",
"Router",
"Router__Router",
"router",
4,
router__router__method_descriptors,
router__router__method_indices_by_name
};
void router__router__gateway_status(ProtobufCService *service,
const Gateway__Status *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &router__router__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void router__router__uplink(ProtobufCService *service,
const Router__UplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &router__router__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void router__router__subscribe(ProtobufCService *service,
const Router__SubscribeRequest *input,
Router__DownlinkMessage_Closure closure,
void *closure_data)
{
assert(service->descriptor == &router__router__descriptor);
service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void router__router__activate(ProtobufCService *service,
const Router__DeviceActivationRequest *input,
Router__DeviceActivationResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &router__router__descriptor);
service->invoke(service, 3, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void router__router__init (Router__Router_Service *service,
Router__Router_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&router__router__descriptor,
(ProtobufCServiceDestroy) destroy);
}
static const ProtobufCMethodDescriptor router__router_manager__method_descriptors[2] =
{
{ "GatewayStatus", &router__gateway_status_request__descriptor, &router__gateway_status_response__descriptor },
{ "GetStatus", &router__status_request__descriptor, &router__status__descriptor },
};
const unsigned router__router_manager__method_indices_by_name[] = {
0, /* GatewayStatus */
1 /* GetStatus */
};
const ProtobufCServiceDescriptor router__router_manager__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"router.RouterManager",
"RouterManager",
"Router__RouterManager",
"router",
2,
router__router_manager__method_descriptors,
router__router_manager__method_indices_by_name
};
void router__router_manager__gateway_status(ProtobufCService *service,
const Router__GatewayStatusRequest *input,
Router__GatewayStatusResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &router__router_manager__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void router__router_manager__get_status(ProtobufCService *service,
const Router__StatusRequest *input,
Router__Status_Closure closure,
void *closure_data)
{
assert(service->descriptor == &router__router_manager__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void router__router_manager__init (Router__RouterManager_Service *service,
Router__RouterManager_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&router__router_manager__descriptor,
(ProtobufCServiceDestroy) destroy);
}
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/broker/broker.pb-c.h | <reponame>LukasHabring/api
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/broker/broker.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fbroker_2fbroker_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fbroker_2fbroker_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "google/protobuf/empty.pb-c.h"
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
#include "github.com/TheThingsNetwork/api/api.pb-c.h"
#include "github.com/TheThingsNetwork/api/protocol/protocol.pb-c.h"
#include "github.com/TheThingsNetwork/api/gateway/gateway.pb-c.h"
#include "github.com/TheThingsNetwork/api/trace/trace.pb-c.h"
typedef struct _Broker__DownlinkOption Broker__DownlinkOption;
typedef struct _Broker__UplinkMessage Broker__UplinkMessage;
typedef struct _Broker__DownlinkMessage Broker__DownlinkMessage;
typedef struct _Broker__DeviceActivationResponse Broker__DeviceActivationResponse;
typedef struct _Broker__DeduplicatedUplinkMessage Broker__DeduplicatedUplinkMessage;
typedef struct _Broker__DeviceActivationRequest Broker__DeviceActivationRequest;
typedef struct _Broker__DeduplicatedDeviceActivationRequest Broker__DeduplicatedDeviceActivationRequest;
typedef struct _Broker__ActivationChallengeRequest Broker__ActivationChallengeRequest;
typedef struct _Broker__ActivationChallengeResponse Broker__ActivationChallengeResponse;
typedef struct _Broker__SubscribeRequest Broker__SubscribeRequest;
typedef struct _Broker__StatusRequest Broker__StatusRequest;
typedef struct _Broker__Status Broker__Status;
typedef struct _Broker__ApplicationHandlerRegistration Broker__ApplicationHandlerRegistration;
/* --- enums --- */
/* --- messages --- */
struct _Broker__DownlinkOption
{
ProtobufCMessage base;
/*
* String that identifies this downlink option in the Router
*/
char *identifier;
/*
* ID of the gateway where this downlink should be sent
*/
char *gateway_id;
/*
* Score of this downlink option. Lower is better.
*/
uint32_t score;
/*
* deadline time at server represented as Unix nanoseconds
*/
int64_t deadline;
Protocol__TxConfiguration *protocol_configuration;
Gateway__TxConfiguration *gateway_configuration;
};
#define BROKER__DOWNLINK_OPTION__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__downlink_option__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0, NULL, NULL }
/*
* received from the Router
*/
struct _Broker__UplinkMessage
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
ProtobufCBinaryData dev_eui;
ProtobufCBinaryData app_eui;
char *app_id;
char *dev_id;
Protocol__RxMetadata *protocol_metadata;
Gateway__RxMetadata *gateway_metadata;
size_t n_downlink_options;
Broker__DownlinkOption **downlink_options;
Trace__Trace *trace;
};
#define BROKER__UPLINK_MESSAGE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__uplink_message__descriptor) \
, {0,NULL}, NULL, {0,NULL}, {0,NULL}, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, NULL, NULL, 0,NULL, NULL }
/*
* received from the Handler, sent to the Router, used as Template
*/
struct _Broker__DownlinkMessage
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
ProtobufCBinaryData dev_eui;
ProtobufCBinaryData app_eui;
char *app_id;
char *dev_id;
Broker__DownlinkOption *downlink_option;
Trace__Trace *trace;
};
#define BROKER__DOWNLINK_MESSAGE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__downlink_message__descriptor) \
, {0,NULL}, NULL, {0,NULL}, {0,NULL}, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, NULL, NULL }
/*
* sent to the Router, used as Template
*/
struct _Broker__DeviceActivationResponse
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
Broker__DownlinkOption *downlink_option;
Trace__Trace *trace;
};
#define BROKER__DEVICE_ACTIVATION_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__device_activation_response__descriptor) \
, {0,NULL}, NULL, NULL, NULL }
/*
* sent to the Handler
*/
struct _Broker__DeduplicatedUplinkMessage
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
ProtobufCBinaryData dev_eui;
ProtobufCBinaryData app_eui;
char *app_id;
char *dev_id;
Protocol__RxMetadata *protocol_metadata;
size_t n_gateway_metadata;
Gateway__RxMetadata **gateway_metadata;
int64_t server_time;
Broker__DownlinkMessage *response_template;
Trace__Trace *trace;
};
#define BROKER__DEDUPLICATED_UPLINK_MESSAGE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__deduplicated_uplink_message__descriptor) \
, {0,NULL}, NULL, {0,NULL}, {0,NULL}, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, NULL, 0,NULL, 0, NULL, NULL }
/*
* received from the Router
*/
struct _Broker__DeviceActivationRequest
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
ProtobufCBinaryData dev_eui;
ProtobufCBinaryData app_eui;
Protocol__RxMetadata *protocol_metadata;
Gateway__RxMetadata *gateway_metadata;
Protocol__ActivationMetadata *activation_metadata;
size_t n_downlink_options;
Broker__DownlinkOption **downlink_options;
Trace__Trace *trace;
};
#define BROKER__DEVICE_ACTIVATION_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__device_activation_request__descriptor) \
, {0,NULL}, NULL, {0,NULL}, {0,NULL}, NULL, NULL, NULL, 0,NULL, NULL }
/*
* sent to the Handler
*/
struct _Broker__DeduplicatedDeviceActivationRequest
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
ProtobufCBinaryData dev_eui;
ProtobufCBinaryData app_eui;
char *app_id;
char *dev_id;
Protocol__RxMetadata *protocol_metadata;
size_t n_gateway_metadata;
Gateway__RxMetadata **gateway_metadata;
Protocol__ActivationMetadata *activation_metadata;
int64_t server_time;
Broker__DeviceActivationResponse *response_template;
Trace__Trace *trace;
};
#define BROKER__DEDUPLICATED_DEVICE_ACTIVATION_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__deduplicated_device_activation_request__descriptor) \
, {0,NULL}, NULL, {0,NULL}, {0,NULL}, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, NULL, 0,NULL, NULL, 0, NULL, NULL }
struct _Broker__ActivationChallengeRequest
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
ProtobufCBinaryData dev_eui;
ProtobufCBinaryData app_eui;
char *app_id;
char *dev_id;
};
#define BROKER__ACTIVATION_CHALLENGE_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__activation_challenge_request__descriptor) \
, {0,NULL}, NULL, {0,NULL}, {0,NULL}, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
struct _Broker__ActivationChallengeResponse
{
ProtobufCMessage base;
ProtobufCBinaryData payload;
Protocol__Message *message;
};
#define BROKER__ACTIVATION_CHALLENGE_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__activation_challenge_response__descriptor) \
, {0,NULL}, NULL }
/*
* message SubscribeRequest is used by a Handler to subscribe to uplink messages
*/
struct _Broker__SubscribeRequest
{
ProtobufCMessage base;
};
#define BROKER__SUBSCRIBE_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__subscribe_request__descriptor) \
}
/*
* message StatusRequest is used to request the status of this Broker
*/
struct _Broker__StatusRequest
{
ProtobufCMessage base;
};
#define BROKER__STATUS_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__status_request__descriptor) \
}
struct _Broker__Status
{
ProtobufCMessage base;
Api__SystemStats *system;
Api__ComponentStats *component;
Api__Rates *uplink;
Api__Rates *uplink_unique;
Api__Rates *downlink;
Api__Rates *activations;
Api__Rates *activations_unique;
Api__Percentiles *deduplication;
/*
* Connections
*/
uint32_t connected_routers;
uint32_t connected_handlers;
};
#define BROKER__STATUS__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__status__descriptor) \
, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0 }
struct _Broker__ApplicationHandlerRegistration
{
ProtobufCMessage base;
char *app_id;
char *handler_id;
};
#define BROKER__APPLICATION_HANDLER_REGISTRATION__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&broker__application_handler_registration__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
/* Broker__DownlinkOption methods */
void broker__downlink_option__init
(Broker__DownlinkOption *message);
size_t broker__downlink_option__get_packed_size
(const Broker__DownlinkOption *message);
size_t broker__downlink_option__pack
(const Broker__DownlinkOption *message,
uint8_t *out);
size_t broker__downlink_option__pack_to_buffer
(const Broker__DownlinkOption *message,
ProtobufCBuffer *buffer);
Broker__DownlinkOption *
broker__downlink_option__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__downlink_option__free_unpacked
(Broker__DownlinkOption *message,
ProtobufCAllocator *allocator);
/* Broker__UplinkMessage methods */
void broker__uplink_message__init
(Broker__UplinkMessage *message);
size_t broker__uplink_message__get_packed_size
(const Broker__UplinkMessage *message);
size_t broker__uplink_message__pack
(const Broker__UplinkMessage *message,
uint8_t *out);
size_t broker__uplink_message__pack_to_buffer
(const Broker__UplinkMessage *message,
ProtobufCBuffer *buffer);
Broker__UplinkMessage *
broker__uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__uplink_message__free_unpacked
(Broker__UplinkMessage *message,
ProtobufCAllocator *allocator);
/* Broker__DownlinkMessage methods */
void broker__downlink_message__init
(Broker__DownlinkMessage *message);
size_t broker__downlink_message__get_packed_size
(const Broker__DownlinkMessage *message);
size_t broker__downlink_message__pack
(const Broker__DownlinkMessage *message,
uint8_t *out);
size_t broker__downlink_message__pack_to_buffer
(const Broker__DownlinkMessage *message,
ProtobufCBuffer *buffer);
Broker__DownlinkMessage *
broker__downlink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__downlink_message__free_unpacked
(Broker__DownlinkMessage *message,
ProtobufCAllocator *allocator);
/* Broker__DeviceActivationResponse methods */
void broker__device_activation_response__init
(Broker__DeviceActivationResponse *message);
size_t broker__device_activation_response__get_packed_size
(const Broker__DeviceActivationResponse *message);
size_t broker__device_activation_response__pack
(const Broker__DeviceActivationResponse *message,
uint8_t *out);
size_t broker__device_activation_response__pack_to_buffer
(const Broker__DeviceActivationResponse *message,
ProtobufCBuffer *buffer);
Broker__DeviceActivationResponse *
broker__device_activation_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__device_activation_response__free_unpacked
(Broker__DeviceActivationResponse *message,
ProtobufCAllocator *allocator);
/* Broker__DeduplicatedUplinkMessage methods */
void broker__deduplicated_uplink_message__init
(Broker__DeduplicatedUplinkMessage *message);
size_t broker__deduplicated_uplink_message__get_packed_size
(const Broker__DeduplicatedUplinkMessage *message);
size_t broker__deduplicated_uplink_message__pack
(const Broker__DeduplicatedUplinkMessage *message,
uint8_t *out);
size_t broker__deduplicated_uplink_message__pack_to_buffer
(const Broker__DeduplicatedUplinkMessage *message,
ProtobufCBuffer *buffer);
Broker__DeduplicatedUplinkMessage *
broker__deduplicated_uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__deduplicated_uplink_message__free_unpacked
(Broker__DeduplicatedUplinkMessage *message,
ProtobufCAllocator *allocator);
/* Broker__DeviceActivationRequest methods */
void broker__device_activation_request__init
(Broker__DeviceActivationRequest *message);
size_t broker__device_activation_request__get_packed_size
(const Broker__DeviceActivationRequest *message);
size_t broker__device_activation_request__pack
(const Broker__DeviceActivationRequest *message,
uint8_t *out);
size_t broker__device_activation_request__pack_to_buffer
(const Broker__DeviceActivationRequest *message,
ProtobufCBuffer *buffer);
Broker__DeviceActivationRequest *
broker__device_activation_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__device_activation_request__free_unpacked
(Broker__DeviceActivationRequest *message,
ProtobufCAllocator *allocator);
/* Broker__DeduplicatedDeviceActivationRequest methods */
void broker__deduplicated_device_activation_request__init
(Broker__DeduplicatedDeviceActivationRequest *message);
size_t broker__deduplicated_device_activation_request__get_packed_size
(const Broker__DeduplicatedDeviceActivationRequest *message);
size_t broker__deduplicated_device_activation_request__pack
(const Broker__DeduplicatedDeviceActivationRequest *message,
uint8_t *out);
size_t broker__deduplicated_device_activation_request__pack_to_buffer
(const Broker__DeduplicatedDeviceActivationRequest *message,
ProtobufCBuffer *buffer);
Broker__DeduplicatedDeviceActivationRequest *
broker__deduplicated_device_activation_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__deduplicated_device_activation_request__free_unpacked
(Broker__DeduplicatedDeviceActivationRequest *message,
ProtobufCAllocator *allocator);
/* Broker__ActivationChallengeRequest methods */
void broker__activation_challenge_request__init
(Broker__ActivationChallengeRequest *message);
size_t broker__activation_challenge_request__get_packed_size
(const Broker__ActivationChallengeRequest *message);
size_t broker__activation_challenge_request__pack
(const Broker__ActivationChallengeRequest *message,
uint8_t *out);
size_t broker__activation_challenge_request__pack_to_buffer
(const Broker__ActivationChallengeRequest *message,
ProtobufCBuffer *buffer);
Broker__ActivationChallengeRequest *
broker__activation_challenge_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__activation_challenge_request__free_unpacked
(Broker__ActivationChallengeRequest *message,
ProtobufCAllocator *allocator);
/* Broker__ActivationChallengeResponse methods */
void broker__activation_challenge_response__init
(Broker__ActivationChallengeResponse *message);
size_t broker__activation_challenge_response__get_packed_size
(const Broker__ActivationChallengeResponse *message);
size_t broker__activation_challenge_response__pack
(const Broker__ActivationChallengeResponse *message,
uint8_t *out);
size_t broker__activation_challenge_response__pack_to_buffer
(const Broker__ActivationChallengeResponse *message,
ProtobufCBuffer *buffer);
Broker__ActivationChallengeResponse *
broker__activation_challenge_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__activation_challenge_response__free_unpacked
(Broker__ActivationChallengeResponse *message,
ProtobufCAllocator *allocator);
/* Broker__SubscribeRequest methods */
void broker__subscribe_request__init
(Broker__SubscribeRequest *message);
size_t broker__subscribe_request__get_packed_size
(const Broker__SubscribeRequest *message);
size_t broker__subscribe_request__pack
(const Broker__SubscribeRequest *message,
uint8_t *out);
size_t broker__subscribe_request__pack_to_buffer
(const Broker__SubscribeRequest *message,
ProtobufCBuffer *buffer);
Broker__SubscribeRequest *
broker__subscribe_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__subscribe_request__free_unpacked
(Broker__SubscribeRequest *message,
ProtobufCAllocator *allocator);
/* Broker__StatusRequest methods */
void broker__status_request__init
(Broker__StatusRequest *message);
size_t broker__status_request__get_packed_size
(const Broker__StatusRequest *message);
size_t broker__status_request__pack
(const Broker__StatusRequest *message,
uint8_t *out);
size_t broker__status_request__pack_to_buffer
(const Broker__StatusRequest *message,
ProtobufCBuffer *buffer);
Broker__StatusRequest *
broker__status_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__status_request__free_unpacked
(Broker__StatusRequest *message,
ProtobufCAllocator *allocator);
/* Broker__Status methods */
void broker__status__init
(Broker__Status *message);
size_t broker__status__get_packed_size
(const Broker__Status *message);
size_t broker__status__pack
(const Broker__Status *message,
uint8_t *out);
size_t broker__status__pack_to_buffer
(const Broker__Status *message,
ProtobufCBuffer *buffer);
Broker__Status *
broker__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__status__free_unpacked
(Broker__Status *message,
ProtobufCAllocator *allocator);
/* Broker__ApplicationHandlerRegistration methods */
void broker__application_handler_registration__init
(Broker__ApplicationHandlerRegistration *message);
size_t broker__application_handler_registration__get_packed_size
(const Broker__ApplicationHandlerRegistration *message);
size_t broker__application_handler_registration__pack
(const Broker__ApplicationHandlerRegistration *message,
uint8_t *out);
size_t broker__application_handler_registration__pack_to_buffer
(const Broker__ApplicationHandlerRegistration *message,
ProtobufCBuffer *buffer);
Broker__ApplicationHandlerRegistration *
broker__application_handler_registration__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void broker__application_handler_registration__free_unpacked
(Broker__ApplicationHandlerRegistration *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Broker__DownlinkOption_Closure)
(const Broker__DownlinkOption *message,
void *closure_data);
typedef void (*Broker__UplinkMessage_Closure)
(const Broker__UplinkMessage *message,
void *closure_data);
typedef void (*Broker__DownlinkMessage_Closure)
(const Broker__DownlinkMessage *message,
void *closure_data);
typedef void (*Broker__DeviceActivationResponse_Closure)
(const Broker__DeviceActivationResponse *message,
void *closure_data);
typedef void (*Broker__DeduplicatedUplinkMessage_Closure)
(const Broker__DeduplicatedUplinkMessage *message,
void *closure_data);
typedef void (*Broker__DeviceActivationRequest_Closure)
(const Broker__DeviceActivationRequest *message,
void *closure_data);
typedef void (*Broker__DeduplicatedDeviceActivationRequest_Closure)
(const Broker__DeduplicatedDeviceActivationRequest *message,
void *closure_data);
typedef void (*Broker__ActivationChallengeRequest_Closure)
(const Broker__ActivationChallengeRequest *message,
void *closure_data);
typedef void (*Broker__ActivationChallengeResponse_Closure)
(const Broker__ActivationChallengeResponse *message,
void *closure_data);
typedef void (*Broker__SubscribeRequest_Closure)
(const Broker__SubscribeRequest *message,
void *closure_data);
typedef void (*Broker__StatusRequest_Closure)
(const Broker__StatusRequest *message,
void *closure_data);
typedef void (*Broker__Status_Closure)
(const Broker__Status *message,
void *closure_data);
typedef void (*Broker__ApplicationHandlerRegistration_Closure)
(const Broker__ApplicationHandlerRegistration *message,
void *closure_data);
/* --- services --- */
typedef struct _Broker__Broker_Service Broker__Broker_Service;
struct _Broker__Broker_Service
{
ProtobufCService base;
void (*associate)(Broker__Broker_Service *service,
const Broker__UplinkMessage *input,
Broker__DownlinkMessage_Closure closure,
void *closure_data);
void (*subscribe)(Broker__Broker_Service *service,
const Broker__SubscribeRequest *input,
Broker__DeduplicatedUplinkMessage_Closure closure,
void *closure_data);
void (*publish)(Broker__Broker_Service *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*activate)(Broker__Broker_Service *service,
const Broker__DeviceActivationRequest *input,
Broker__DeviceActivationResponse_Closure closure,
void *closure_data);
};
typedef void (*Broker__Broker_ServiceDestroy)(Broker__Broker_Service *);
void broker__broker__init (Broker__Broker_Service *service,
Broker__Broker_ServiceDestroy destroy);
#define BROKER__BROKER__BASE_INIT \
{ &broker__broker__descriptor, protobuf_c_service_invoke_internal, NULL }
#define BROKER__BROKER__INIT(function_prefix__) \
{ BROKER__BROKER__BASE_INIT,\
function_prefix__ ## associate,\
function_prefix__ ## subscribe,\
function_prefix__ ## publish,\
function_prefix__ ## activate }
void broker__broker__associate(ProtobufCService *service,
const Broker__UplinkMessage *input,
Broker__DownlinkMessage_Closure closure,
void *closure_data);
void broker__broker__subscribe(ProtobufCService *service,
const Broker__SubscribeRequest *input,
Broker__DeduplicatedUplinkMessage_Closure closure,
void *closure_data);
void broker__broker__publish(ProtobufCService *service,
const Broker__DownlinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void broker__broker__activate(ProtobufCService *service,
const Broker__DeviceActivationRequest *input,
Broker__DeviceActivationResponse_Closure closure,
void *closure_data);
typedef struct _Broker__BrokerManager_Service Broker__BrokerManager_Service;
struct _Broker__BrokerManager_Service
{
ProtobufCService base;
void (*register_application_handler)(Broker__BrokerManager_Service *service,
const Broker__ApplicationHandlerRegistration *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void (*get_status)(Broker__BrokerManager_Service *service,
const Broker__StatusRequest *input,
Broker__Status_Closure closure,
void *closure_data);
};
typedef void (*Broker__BrokerManager_ServiceDestroy)(Broker__BrokerManager_Service *);
void broker__broker_manager__init (Broker__BrokerManager_Service *service,
Broker__BrokerManager_ServiceDestroy destroy);
#define BROKER__BROKER_MANAGER__BASE_INIT \
{ &broker__broker_manager__descriptor, protobuf_c_service_invoke_internal, NULL }
#define BROKER__BROKER_MANAGER__INIT(function_prefix__) \
{ BROKER__BROKER_MANAGER__BASE_INIT,\
function_prefix__ ## register_application_handler,\
function_prefix__ ## get_status }
void broker__broker_manager__register_application_handler(ProtobufCService *service,
const Broker__ApplicationHandlerRegistration *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data);
void broker__broker_manager__get_status(ProtobufCService *service,
const Broker__StatusRequest *input,
Broker__Status_Closure closure,
void *closure_data);
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor broker__downlink_option__descriptor;
extern const ProtobufCMessageDescriptor broker__uplink_message__descriptor;
extern const ProtobufCMessageDescriptor broker__downlink_message__descriptor;
extern const ProtobufCMessageDescriptor broker__device_activation_response__descriptor;
extern const ProtobufCMessageDescriptor broker__deduplicated_uplink_message__descriptor;
extern const ProtobufCMessageDescriptor broker__device_activation_request__descriptor;
extern const ProtobufCMessageDescriptor broker__deduplicated_device_activation_request__descriptor;
extern const ProtobufCMessageDescriptor broker__activation_challenge_request__descriptor;
extern const ProtobufCMessageDescriptor broker__activation_challenge_response__descriptor;
extern const ProtobufCMessageDescriptor broker__subscribe_request__descriptor;
extern const ProtobufCMessageDescriptor broker__status_request__descriptor;
extern const ProtobufCMessageDescriptor broker__status__descriptor;
extern const ProtobufCMessageDescriptor broker__application_handler_registration__descriptor;
extern const ProtobufCServiceDescriptor broker__broker__descriptor;
extern const ProtobufCServiceDescriptor broker__broker_manager__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fbroker_2fbroker_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/handler/handler.pb-c.c | <filename>c/github.com/TheThingsNetwork/api/handler/handler.pb-c.c<gh_stars>10-100
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/handler/handler.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "github.com/TheThingsNetwork/api/handler/handler.pb-c.h"
void handler__device_activation_response__init
(Handler__DeviceActivationResponse *message)
{
static const Handler__DeviceActivationResponse init_value = HANDLER__DEVICE_ACTIVATION_RESPONSE__INIT;
*message = init_value;
}
size_t handler__device_activation_response__get_packed_size
(const Handler__DeviceActivationResponse *message)
{
assert(message->base.descriptor == &handler__device_activation_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__device_activation_response__pack
(const Handler__DeviceActivationResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__device_activation_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__device_activation_response__pack_to_buffer
(const Handler__DeviceActivationResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__device_activation_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__DeviceActivationResponse *
handler__device_activation_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__DeviceActivationResponse *)
protobuf_c_message_unpack (&handler__device_activation_response__descriptor,
allocator, len, data);
}
void handler__device_activation_response__free_unpacked
(Handler__DeviceActivationResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__device_activation_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__status_request__init
(Handler__StatusRequest *message)
{
static const Handler__StatusRequest init_value = HANDLER__STATUS_REQUEST__INIT;
*message = init_value;
}
size_t handler__status_request__get_packed_size
(const Handler__StatusRequest *message)
{
assert(message->base.descriptor == &handler__status_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__status_request__pack
(const Handler__StatusRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__status_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__status_request__pack_to_buffer
(const Handler__StatusRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__status_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__StatusRequest *
handler__status_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__StatusRequest *)
protobuf_c_message_unpack (&handler__status_request__descriptor,
allocator, len, data);
}
void handler__status_request__free_unpacked
(Handler__StatusRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__status_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__status__init
(Handler__Status *message)
{
static const Handler__Status init_value = HANDLER__STATUS__INIT;
*message = init_value;
}
size_t handler__status__get_packed_size
(const Handler__Status *message)
{
assert(message->base.descriptor == &handler__status__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__status__pack
(const Handler__Status *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__status__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__status__pack_to_buffer
(const Handler__Status *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__status__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__Status *
handler__status__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__Status *)
protobuf_c_message_unpack (&handler__status__descriptor,
allocator, len, data);
}
void handler__status__free_unpacked
(Handler__Status *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__status__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__application_identifier__init
(Handler__ApplicationIdentifier *message)
{
static const Handler__ApplicationIdentifier init_value = HANDLER__APPLICATION_IDENTIFIER__INIT;
*message = init_value;
}
size_t handler__application_identifier__get_packed_size
(const Handler__ApplicationIdentifier *message)
{
assert(message->base.descriptor == &handler__application_identifier__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__application_identifier__pack
(const Handler__ApplicationIdentifier *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__application_identifier__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__application_identifier__pack_to_buffer
(const Handler__ApplicationIdentifier *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__application_identifier__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__ApplicationIdentifier *
handler__application_identifier__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__ApplicationIdentifier *)
protobuf_c_message_unpack (&handler__application_identifier__descriptor,
allocator, len, data);
}
void handler__application_identifier__free_unpacked
(Handler__ApplicationIdentifier *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__application_identifier__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__application__init
(Handler__Application *message)
{
static const Handler__Application init_value = HANDLER__APPLICATION__INIT;
*message = init_value;
}
size_t handler__application__get_packed_size
(const Handler__Application *message)
{
assert(message->base.descriptor == &handler__application__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__application__pack
(const Handler__Application *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__application__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__application__pack_to_buffer
(const Handler__Application *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__application__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__Application *
handler__application__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__Application *)
protobuf_c_message_unpack (&handler__application__descriptor,
allocator, len, data);
}
void handler__application__free_unpacked
(Handler__Application *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__application__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__device_identifier__init
(Handler__DeviceIdentifier *message)
{
static const Handler__DeviceIdentifier init_value = HANDLER__DEVICE_IDENTIFIER__INIT;
*message = init_value;
}
size_t handler__device_identifier__get_packed_size
(const Handler__DeviceIdentifier *message)
{
assert(message->base.descriptor == &handler__device_identifier__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__device_identifier__pack
(const Handler__DeviceIdentifier *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__device_identifier__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__device_identifier__pack_to_buffer
(const Handler__DeviceIdentifier *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__device_identifier__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__DeviceIdentifier *
handler__device_identifier__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__DeviceIdentifier *)
protobuf_c_message_unpack (&handler__device_identifier__descriptor,
allocator, len, data);
}
void handler__device_identifier__free_unpacked
(Handler__DeviceIdentifier *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__device_identifier__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__device__attributes_entry__init
(Handler__Device__AttributesEntry *message)
{
static const Handler__Device__AttributesEntry init_value = HANDLER__DEVICE__ATTRIBUTES_ENTRY__INIT;
*message = init_value;
}
void handler__device__init
(Handler__Device *message)
{
static const Handler__Device init_value = HANDLER__DEVICE__INIT;
*message = init_value;
}
size_t handler__device__get_packed_size
(const Handler__Device *message)
{
assert(message->base.descriptor == &handler__device__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__device__pack
(const Handler__Device *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__device__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__device__pack_to_buffer
(const Handler__Device *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__device__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__Device *
handler__device__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__Device *)
protobuf_c_message_unpack (&handler__device__descriptor,
allocator, len, data);
}
void handler__device__free_unpacked
(Handler__Device *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__device__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__device_list__init
(Handler__DeviceList *message)
{
static const Handler__DeviceList init_value = HANDLER__DEVICE_LIST__INIT;
*message = init_value;
}
size_t handler__device_list__get_packed_size
(const Handler__DeviceList *message)
{
assert(message->base.descriptor == &handler__device_list__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__device_list__pack
(const Handler__DeviceList *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__device_list__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__device_list__pack_to_buffer
(const Handler__DeviceList *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__device_list__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__DeviceList *
handler__device_list__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__DeviceList *)
protobuf_c_message_unpack (&handler__device_list__descriptor,
allocator, len, data);
}
void handler__device_list__free_unpacked
(Handler__DeviceList *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__device_list__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__dry_downlink_message__init
(Handler__DryDownlinkMessage *message)
{
static const Handler__DryDownlinkMessage init_value = HANDLER__DRY_DOWNLINK_MESSAGE__INIT;
*message = init_value;
}
size_t handler__dry_downlink_message__get_packed_size
(const Handler__DryDownlinkMessage *message)
{
assert(message->base.descriptor == &handler__dry_downlink_message__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__dry_downlink_message__pack
(const Handler__DryDownlinkMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__dry_downlink_message__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__dry_downlink_message__pack_to_buffer
(const Handler__DryDownlinkMessage *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__dry_downlink_message__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__DryDownlinkMessage *
handler__dry_downlink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__DryDownlinkMessage *)
protobuf_c_message_unpack (&handler__dry_downlink_message__descriptor,
allocator, len, data);
}
void handler__dry_downlink_message__free_unpacked
(Handler__DryDownlinkMessage *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__dry_downlink_message__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__dry_uplink_message__init
(Handler__DryUplinkMessage *message)
{
static const Handler__DryUplinkMessage init_value = HANDLER__DRY_UPLINK_MESSAGE__INIT;
*message = init_value;
}
size_t handler__dry_uplink_message__get_packed_size
(const Handler__DryUplinkMessage *message)
{
assert(message->base.descriptor == &handler__dry_uplink_message__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__dry_uplink_message__pack
(const Handler__DryUplinkMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__dry_uplink_message__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__dry_uplink_message__pack_to_buffer
(const Handler__DryUplinkMessage *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__dry_uplink_message__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__DryUplinkMessage *
handler__dry_uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__DryUplinkMessage *)
protobuf_c_message_unpack (&handler__dry_uplink_message__descriptor,
allocator, len, data);
}
void handler__dry_uplink_message__free_unpacked
(Handler__DryUplinkMessage *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__dry_uplink_message__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__simulated_uplink_message__init
(Handler__SimulatedUplinkMessage *message)
{
static const Handler__SimulatedUplinkMessage init_value = HANDLER__SIMULATED_UPLINK_MESSAGE__INIT;
*message = init_value;
}
size_t handler__simulated_uplink_message__get_packed_size
(const Handler__SimulatedUplinkMessage *message)
{
assert(message->base.descriptor == &handler__simulated_uplink_message__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__simulated_uplink_message__pack
(const Handler__SimulatedUplinkMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__simulated_uplink_message__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__simulated_uplink_message__pack_to_buffer
(const Handler__SimulatedUplinkMessage *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__simulated_uplink_message__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__SimulatedUplinkMessage *
handler__simulated_uplink_message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__SimulatedUplinkMessage *)
protobuf_c_message_unpack (&handler__simulated_uplink_message__descriptor,
allocator, len, data);
}
void handler__simulated_uplink_message__free_unpacked
(Handler__SimulatedUplinkMessage *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__simulated_uplink_message__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__log_entry__init
(Handler__LogEntry *message)
{
static const Handler__LogEntry init_value = HANDLER__LOG_ENTRY__INIT;
*message = init_value;
}
size_t handler__log_entry__get_packed_size
(const Handler__LogEntry *message)
{
assert(message->base.descriptor == &handler__log_entry__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__log_entry__pack
(const Handler__LogEntry *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__log_entry__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__log_entry__pack_to_buffer
(const Handler__LogEntry *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__log_entry__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__LogEntry *
handler__log_entry__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__LogEntry *)
protobuf_c_message_unpack (&handler__log_entry__descriptor,
allocator, len, data);
}
void handler__log_entry__free_unpacked
(Handler__LogEntry *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__log_entry__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__dry_uplink_result__init
(Handler__DryUplinkResult *message)
{
static const Handler__DryUplinkResult init_value = HANDLER__DRY_UPLINK_RESULT__INIT;
*message = init_value;
}
size_t handler__dry_uplink_result__get_packed_size
(const Handler__DryUplinkResult *message)
{
assert(message->base.descriptor == &handler__dry_uplink_result__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__dry_uplink_result__pack
(const Handler__DryUplinkResult *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__dry_uplink_result__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__dry_uplink_result__pack_to_buffer
(const Handler__DryUplinkResult *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__dry_uplink_result__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__DryUplinkResult *
handler__dry_uplink_result__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__DryUplinkResult *)
protobuf_c_message_unpack (&handler__dry_uplink_result__descriptor,
allocator, len, data);
}
void handler__dry_uplink_result__free_unpacked
(Handler__DryUplinkResult *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__dry_uplink_result__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void handler__dry_downlink_result__init
(Handler__DryDownlinkResult *message)
{
static const Handler__DryDownlinkResult init_value = HANDLER__DRY_DOWNLINK_RESULT__INIT;
*message = init_value;
}
size_t handler__dry_downlink_result__get_packed_size
(const Handler__DryDownlinkResult *message)
{
assert(message->base.descriptor == &handler__dry_downlink_result__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t handler__dry_downlink_result__pack
(const Handler__DryDownlinkResult *message,
uint8_t *out)
{
assert(message->base.descriptor == &handler__dry_downlink_result__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t handler__dry_downlink_result__pack_to_buffer
(const Handler__DryDownlinkResult *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &handler__dry_downlink_result__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Handler__DryDownlinkResult *
handler__dry_downlink_result__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (Handler__DryDownlinkResult *)
protobuf_c_message_unpack (&handler__dry_downlink_result__descriptor,
allocator, len, data);
}
void handler__dry_downlink_result__free_unpacked
(Handler__DryDownlinkResult *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &handler__dry_downlink_result__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor handler__device_activation_response__field_descriptors[5] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Handler__DeviceActivationResponse, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__DeviceActivationResponse, message),
&protocol__message__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink_option",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__DeviceActivationResponse, downlink_option),
&broker__downlink_option__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activation_metadata",
23,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__DeviceActivationResponse, activation_metadata),
&protocol__activation_metadata__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"trace",
31,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__DeviceActivationResponse, trace),
&trace__trace__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__device_activation_response__field_indices_by_name[] = {
3, /* field[3] = activation_metadata */
2, /* field[2] = downlink_option */
1, /* field[1] = message */
0, /* field[0] = payload */
4, /* field[4] = trace */
};
static const ProtobufCIntRange handler__device_activation_response__number_ranges[4 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 23, 3 },
{ 31, 4 },
{ 0, 5 }
};
const ProtobufCMessageDescriptor handler__device_activation_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.DeviceActivationResponse",
"DeviceActivationResponse",
"Handler__DeviceActivationResponse",
"handler",
sizeof(Handler__DeviceActivationResponse),
5,
handler__device_activation_response__field_descriptors,
handler__device_activation_response__field_indices_by_name,
4, handler__device_activation_response__number_ranges,
(ProtobufCMessageInit) handler__device_activation_response__init,
NULL,NULL,NULL /* reserved[123] */
};
#define handler__status_request__field_descriptors NULL
#define handler__status_request__field_indices_by_name NULL
#define handler__status_request__number_ranges NULL
const ProtobufCMessageDescriptor handler__status_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.StatusRequest",
"StatusRequest",
"Handler__StatusRequest",
"handler",
sizeof(Handler__StatusRequest),
0,
handler__status_request__field_descriptors,
handler__status_request__field_indices_by_name,
0, handler__status_request__number_ranges,
(ProtobufCMessageInit) handler__status_request__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__status__field_descriptors[5] =
{
{
"system",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__Status, system),
&api__system_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"component",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__Status, component),
&api__component_stats__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"uplink",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__Status, uplink),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"downlink",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__Status, downlink),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"activations",
13,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__Status, activations),
&api__rates__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__status__field_indices_by_name[] = {
4, /* field[4] = activations */
1, /* field[1] = component */
3, /* field[3] = downlink */
0, /* field[0] = system */
2, /* field[2] = uplink */
};
static const ProtobufCIntRange handler__status__number_ranges[2 + 1] =
{
{ 1, 0 },
{ 11, 2 },
{ 0, 5 }
};
const ProtobufCMessageDescriptor handler__status__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.Status",
"Status",
"Handler__Status",
"handler",
sizeof(Handler__Status),
5,
handler__status__field_descriptors,
handler__status__field_indices_by_name,
2, handler__status__number_ranges,
(ProtobufCMessageInit) handler__status__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__application_identifier__field_descriptors[1] =
{
{
"app_id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__ApplicationIdentifier, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__application_identifier__field_indices_by_name[] = {
0, /* field[0] = app_id */
};
static const ProtobufCIntRange handler__application_identifier__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor handler__application_identifier__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.ApplicationIdentifier",
"ApplicationIdentifier",
"Handler__ApplicationIdentifier",
"handler",
sizeof(Handler__ApplicationIdentifier),
1,
handler__application_identifier__field_descriptors,
handler__application_identifier__field_indices_by_name,
1, handler__application_identifier__number_ranges,
(ProtobufCMessageInit) handler__application_identifier__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__application__field_descriptors[7] =
{
{
"app_id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Application, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"decoder",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Application, decoder),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"converter",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Application, converter),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"validator",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Application, validator),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"encoder",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Application, encoder),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"payload_format",
6,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Application, payload_format),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"register_on_join_access_key",
7,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Application, register_on_join_access_key),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__application__field_indices_by_name[] = {
0, /* field[0] = app_id */
2, /* field[2] = converter */
1, /* field[1] = decoder */
4, /* field[4] = encoder */
5, /* field[5] = payload_format */
6, /* field[6] = register_on_join_access_key */
3, /* field[3] = validator */
};
static const ProtobufCIntRange handler__application__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 7 }
};
const ProtobufCMessageDescriptor handler__application__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.Application",
"Application",
"Handler__Application",
"handler",
sizeof(Handler__Application),
7,
handler__application__field_descriptors,
handler__application__field_indices_by_name,
1, handler__application__number_ranges,
(ProtobufCMessageInit) handler__application__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__device_identifier__field_descriptors[2] =
{
{
"app_id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__DeviceIdentifier, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__DeviceIdentifier, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__device_identifier__field_indices_by_name[] = {
0, /* field[0] = app_id */
1, /* field[1] = dev_id */
};
static const ProtobufCIntRange handler__device_identifier__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor handler__device_identifier__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.DeviceIdentifier",
"DeviceIdentifier",
"Handler__DeviceIdentifier",
"handler",
sizeof(Handler__DeviceIdentifier),
2,
handler__device_identifier__field_descriptors,
handler__device_identifier__field_indices_by_name,
1, handler__device_identifier__number_ranges,
(ProtobufCMessageInit) handler__device_identifier__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__device__attributes_entry__field_descriptors[2] =
{
{
"key",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Device__AttributesEntry, key),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"value",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Device__AttributesEntry, value),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__device__attributes_entry__field_indices_by_name[] = {
0, /* field[0] = key */
1, /* field[1] = value */
};
static const ProtobufCIntRange handler__device__attributes_entry__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor handler__device__attributes_entry__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.Device.AttributesEntry",
"AttributesEntry",
"Handler__Device__AttributesEntry",
"handler",
sizeof(Handler__Device__AttributesEntry),
2,
handler__device__attributes_entry__field_descriptors,
handler__device__attributes_entry__field_indices_by_name,
1, handler__device__attributes_entry__number_ranges,
(ProtobufCMessageInit) handler__device__attributes_entry__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__device__field_descriptors[8] =
{
{
"app_id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Device, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Device, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"lorawan_device",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Handler__Device, device_case),
offsetof(Handler__Device, lorawan_device),
&lorawan__device__descriptor,
NULL,
0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"latitude",
10,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Handler__Device, latitude),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"longitude",
11,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_FLOAT,
0, /* quantifier_offset */
offsetof(Handler__Device, longitude),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"altitude",
12,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_INT32,
0, /* quantifier_offset */
offsetof(Handler__Device, altitude),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"attributes",
13,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Handler__Device, n_attributes),
offsetof(Handler__Device, attributes),
&handler__device__attributes_entry__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"description",
20,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__Device, description),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__device__field_indices_by_name[] = {
5, /* field[5] = altitude */
0, /* field[0] = app_id */
6, /* field[6] = attributes */
7, /* field[7] = description */
1, /* field[1] = dev_id */
3, /* field[3] = latitude */
4, /* field[4] = longitude */
2, /* field[2] = lorawan_device */
};
static const ProtobufCIntRange handler__device__number_ranges[3 + 1] =
{
{ 1, 0 },
{ 10, 3 },
{ 20, 7 },
{ 0, 8 }
};
const ProtobufCMessageDescriptor handler__device__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.Device",
"Device",
"Handler__Device",
"handler",
sizeof(Handler__Device),
8,
handler__device__field_descriptors,
handler__device__field_indices_by_name,
3, handler__device__number_ranges,
(ProtobufCMessageInit) handler__device__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__device_list__field_descriptors[1] =
{
{
"devices",
1,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Handler__DeviceList, n_devices),
offsetof(Handler__DeviceList, devices),
&handler__device__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__device_list__field_indices_by_name[] = {
0, /* field[0] = devices */
};
static const ProtobufCIntRange handler__device_list__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 1 }
};
const ProtobufCMessageDescriptor handler__device_list__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.DeviceList",
"DeviceList",
"Handler__DeviceList",
"handler",
sizeof(Handler__DeviceList),
1,
handler__device_list__field_descriptors,
handler__device_list__field_indices_by_name,
1, handler__device_list__number_ranges,
(ProtobufCMessageInit) handler__device_list__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__dry_downlink_message__field_descriptors[4] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Handler__DryDownlinkMessage, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"fields",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__DryDownlinkMessage, fields),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__DryDownlinkMessage, app),
&handler__application__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"port",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Handler__DryDownlinkMessage, port),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__dry_downlink_message__field_indices_by_name[] = {
2, /* field[2] = app */
1, /* field[1] = fields */
0, /* field[0] = payload */
3, /* field[3] = port */
};
static const ProtobufCIntRange handler__dry_downlink_message__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 4 }
};
const ProtobufCMessageDescriptor handler__dry_downlink_message__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.DryDownlinkMessage",
"DryDownlinkMessage",
"Handler__DryDownlinkMessage",
"handler",
sizeof(Handler__DryDownlinkMessage),
4,
handler__dry_downlink_message__field_descriptors,
handler__dry_downlink_message__field_indices_by_name,
1, handler__dry_downlink_message__number_ranges,
(ProtobufCMessageInit) handler__dry_downlink_message__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__dry_uplink_message__field_descriptors[3] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Handler__DryUplinkMessage, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"app",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_MESSAGE,
0, /* quantifier_offset */
offsetof(Handler__DryUplinkMessage, app),
&handler__application__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"port",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Handler__DryUplinkMessage, port),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__dry_uplink_message__field_indices_by_name[] = {
1, /* field[1] = app */
0, /* field[0] = payload */
2, /* field[2] = port */
};
static const ProtobufCIntRange handler__dry_uplink_message__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 3 }
};
const ProtobufCMessageDescriptor handler__dry_uplink_message__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.DryUplinkMessage",
"DryUplinkMessage",
"Handler__DryUplinkMessage",
"handler",
sizeof(Handler__DryUplinkMessage),
3,
handler__dry_uplink_message__field_descriptors,
handler__dry_uplink_message__field_indices_by_name,
1, handler__dry_uplink_message__number_ranges,
(ProtobufCMessageInit) handler__dry_uplink_message__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__simulated_uplink_message__field_descriptors[4] =
{
{
"app_id",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__SimulatedUplinkMessage, app_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"dev_id",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__SimulatedUplinkMessage, dev_id),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"payload",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Handler__SimulatedUplinkMessage, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"port",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0, /* quantifier_offset */
offsetof(Handler__SimulatedUplinkMessage, port),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__simulated_uplink_message__field_indices_by_name[] = {
0, /* field[0] = app_id */
1, /* field[1] = dev_id */
2, /* field[2] = payload */
3, /* field[3] = port */
};
static const ProtobufCIntRange handler__simulated_uplink_message__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 4 }
};
const ProtobufCMessageDescriptor handler__simulated_uplink_message__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.SimulatedUplinkMessage",
"SimulatedUplinkMessage",
"Handler__SimulatedUplinkMessage",
"handler",
sizeof(Handler__SimulatedUplinkMessage),
4,
handler__simulated_uplink_message__field_descriptors,
handler__simulated_uplink_message__field_indices_by_name,
1, handler__simulated_uplink_message__number_ranges,
(ProtobufCMessageInit) handler__simulated_uplink_message__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__log_entry__field_descriptors[2] =
{
{
"function",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__LogEntry, function),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"fields",
2,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_STRING,
offsetof(Handler__LogEntry, n_fields),
offsetof(Handler__LogEntry, fields),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__log_entry__field_indices_by_name[] = {
1, /* field[1] = fields */
0, /* field[0] = function */
};
static const ProtobufCIntRange handler__log_entry__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor handler__log_entry__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.LogEntry",
"LogEntry",
"Handler__LogEntry",
"handler",
sizeof(Handler__LogEntry),
2,
handler__log_entry__field_descriptors,
handler__log_entry__field_indices_by_name,
1, handler__log_entry__number_ranges,
(ProtobufCMessageInit) handler__log_entry__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__dry_uplink_result__field_descriptors[4] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Handler__DryUplinkResult, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"fields",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
offsetof(Handler__DryUplinkResult, fields),
NULL,
&protobuf_c_empty_string,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"valid",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BOOL,
0, /* quantifier_offset */
offsetof(Handler__DryUplinkResult, valid),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"logs",
4,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Handler__DryUplinkResult, n_logs),
offsetof(Handler__DryUplinkResult, logs),
&handler__log_entry__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__dry_uplink_result__field_indices_by_name[] = {
1, /* field[1] = fields */
3, /* field[3] = logs */
0, /* field[0] = payload */
2, /* field[2] = valid */
};
static const ProtobufCIntRange handler__dry_uplink_result__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 4 }
};
const ProtobufCMessageDescriptor handler__dry_uplink_result__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.DryUplinkResult",
"DryUplinkResult",
"Handler__DryUplinkResult",
"handler",
sizeof(Handler__DryUplinkResult),
4,
handler__dry_uplink_result__field_descriptors,
handler__dry_uplink_result__field_indices_by_name,
1, handler__dry_uplink_result__number_ranges,
(ProtobufCMessageInit) handler__dry_uplink_result__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor handler__dry_downlink_result__field_descriptors[2] =
{
{
"payload",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0, /* quantifier_offset */
offsetof(Handler__DryDownlinkResult, payload),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"logs",
2,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(Handler__DryDownlinkResult, n_logs),
offsetof(Handler__DryDownlinkResult, logs),
&handler__log_entry__descriptor,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned handler__dry_downlink_result__field_indices_by_name[] = {
1, /* field[1] = logs */
0, /* field[0] = payload */
};
static const ProtobufCIntRange handler__dry_downlink_result__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 2 }
};
const ProtobufCMessageDescriptor handler__dry_downlink_result__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"handler.DryDownlinkResult",
"DryDownlinkResult",
"Handler__DryDownlinkResult",
"handler",
sizeof(Handler__DryDownlinkResult),
2,
handler__dry_downlink_result__field_descriptors,
handler__dry_downlink_result__field_indices_by_name,
1, handler__dry_downlink_result__number_ranges,
(ProtobufCMessageInit) handler__dry_downlink_result__init,
NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCMethodDescriptor handler__handler__method_descriptors[2] =
{
{ "ActivationChallenge", &broker__activation_challenge_request__descriptor, &broker__activation_challenge_response__descriptor },
{ "Activate", &broker__deduplicated_device_activation_request__descriptor, &handler__device_activation_response__descriptor },
};
const unsigned handler__handler__method_indices_by_name[] = {
1, /* Activate */
0 /* ActivationChallenge */
};
const ProtobufCServiceDescriptor handler__handler__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"handler.Handler",
"Handler",
"Handler__Handler",
"handler",
2,
handler__handler__method_descriptors,
handler__handler__method_indices_by_name
};
void handler__handler__activation_challenge(ProtobufCService *service,
const Broker__ActivationChallengeRequest *input,
Broker__ActivationChallengeResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__handler__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__handler__activate(ProtobufCService *service,
const Broker__DeduplicatedDeviceActivationRequest *input,
Handler__DeviceActivationResponse_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__handler__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__handler__init (Handler__Handler_Service *service,
Handler__Handler_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&handler__handler__descriptor,
(ProtobufCServiceDestroy) destroy);
}
static const ProtobufCMethodDescriptor handler__application_manager__method_descriptors[11] =
{
{ "RegisterApplication", &handler__application_identifier__descriptor, &google__protobuf__empty__descriptor },
{ "GetApplication", &handler__application_identifier__descriptor, &handler__application__descriptor },
{ "SetApplication", &handler__application__descriptor, &google__protobuf__empty__descriptor },
{ "DeleteApplication", &handler__application_identifier__descriptor, &google__protobuf__empty__descriptor },
{ "GetDevice", &handler__device_identifier__descriptor, &handler__device__descriptor },
{ "SetDevice", &handler__device__descriptor, &google__protobuf__empty__descriptor },
{ "DeleteDevice", &handler__device_identifier__descriptor, &google__protobuf__empty__descriptor },
{ "GetDevicesForApplication", &handler__application_identifier__descriptor, &handler__device_list__descriptor },
{ "DryDownlink", &handler__dry_downlink_message__descriptor, &handler__dry_downlink_result__descriptor },
{ "DryUplink", &handler__dry_uplink_message__descriptor, &handler__dry_uplink_result__descriptor },
{ "SimulateUplink", &handler__simulated_uplink_message__descriptor, &google__protobuf__empty__descriptor },
};
const unsigned handler__application_manager__method_indices_by_name[] = {
3, /* DeleteApplication */
6, /* DeleteDevice */
8, /* DryDownlink */
9, /* DryUplink */
1, /* GetApplication */
4, /* GetDevice */
7, /* GetDevicesForApplication */
0, /* RegisterApplication */
2, /* SetApplication */
5, /* SetDevice */
10 /* SimulateUplink */
};
const ProtobufCServiceDescriptor handler__application_manager__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"handler.ApplicationManager",
"ApplicationManager",
"Handler__ApplicationManager",
"handler",
11,
handler__application_manager__method_descriptors,
handler__application_manager__method_indices_by_name
};
void handler__application_manager__register_application(ProtobufCService *service,
const Handler__ApplicationIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__get_application(ProtobufCService *service,
const Handler__ApplicationIdentifier *input,
Handler__Application_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__set_application(ProtobufCService *service,
const Handler__Application *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__delete_application(ProtobufCService *service,
const Handler__ApplicationIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 3, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__get_device(ProtobufCService *service,
const Handler__DeviceIdentifier *input,
Handler__Device_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 4, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__set_device(ProtobufCService *service,
const Handler__Device *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 5, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__delete_device(ProtobufCService *service,
const Handler__DeviceIdentifier *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 6, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__get_devices_for_application(ProtobufCService *service,
const Handler__ApplicationIdentifier *input,
Handler__DeviceList_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 7, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__dry_downlink(ProtobufCService *service,
const Handler__DryDownlinkMessage *input,
Handler__DryDownlinkResult_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 8, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__dry_uplink(ProtobufCService *service,
const Handler__DryUplinkMessage *input,
Handler__DryUplinkResult_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 9, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__simulate_uplink(ProtobufCService *service,
const Handler__SimulatedUplinkMessage *input,
Google__Protobuf__Empty_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__application_manager__descriptor);
service->invoke(service, 10, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__application_manager__init (Handler__ApplicationManager_Service *service,
Handler__ApplicationManager_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&handler__application_manager__descriptor,
(ProtobufCServiceDestroy) destroy);
}
static const ProtobufCMethodDescriptor handler__handler_manager__method_descriptors[1] =
{
{ "GetStatus", &handler__status_request__descriptor, &handler__status__descriptor },
};
const unsigned handler__handler_manager__method_indices_by_name[] = {
0 /* GetStatus */
};
const ProtobufCServiceDescriptor handler__handler_manager__descriptor =
{
PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
"handler.HandlerManager",
"HandlerManager",
"Handler__HandlerManager",
"handler",
1,
handler__handler_manager__method_descriptors,
handler__handler_manager__method_indices_by_name
};
void handler__handler_manager__get_status(ProtobufCService *service,
const Handler__StatusRequest *input,
Handler__Status_Closure closure,
void *closure_data)
{
assert(service->descriptor == &handler__handler_manager__descriptor);
service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void handler__handler_manager__init (Handler__HandlerManager_Service *service,
Handler__HandlerManager_ServiceDestroy destroy)
{
protobuf_c_service_generated_init (&service->base,
&handler__handler_manager__descriptor,
(ProtobufCServiceDestroy) destroy);
}
|
LukasHabring/api | c/google/protobuf/duration.pb-c.h | <filename>c/google/protobuf/duration.pb-c.h<gh_stars>10-100
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/gogo/protobuf/protobuf/google/protobuf/duration.proto */
#ifndef PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fduration_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fduration_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
typedef struct _Google__Protobuf__Duration Google__Protobuf__Duration;
/* --- enums --- */
/* --- messages --- */
/*
* A Duration represents a signed, fixed-length span of time represented
* as a count of seconds and fractions of seconds at nanosecond
* resolution. It is independent of any calendar and concepts like "day"
* or "month". It is related to Timestamp in that the difference between
* two Timestamp values is a Duration and it can be added or subtracted
* from a Timestamp. Range is approximately +-10,000 years.
* # Examples
* Example 1: Compute Duration from two Timestamps in pseudo code.
* Timestamp start = ...;
* Timestamp end = ...;
* Duration duration = ...;
* duration.seconds = end.seconds - start.seconds;
* duration.nanos = end.nanos - start.nanos;
* if (duration.seconds < 0 && duration.nanos > 0) {
* duration.seconds += 1;
* duration.nanos -= 1000000000;
* } else if (durations.seconds > 0 && duration.nanos < 0) {
* duration.seconds -= 1;
* duration.nanos += 1000000000;
* }
* Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
* Timestamp start = ...;
* Duration duration = ...;
* Timestamp end = ...;
* end.seconds = start.seconds + duration.seconds;
* end.nanos = start.nanos + duration.nanos;
* if (end.nanos < 0) {
* end.seconds -= 1;
* end.nanos += 1000000000;
* } else if (end.nanos >= 1000000000) {
* end.seconds += 1;
* end.nanos -= 1000000000;
* }
* Example 3: Compute Duration from datetime.timedelta in Python.
* td = datetime.timedelta(days=3, minutes=10)
* duration = Duration()
* duration.FromTimedelta(td)
* # JSON Mapping
* In JSON format, the Duration type is encoded as a string rather than an
* object, where the string ends in the suffix "s" (indicating seconds) and
* is preceded by the number of seconds, with nanoseconds expressed as
* fractional seconds. For example, 3 seconds with 0 nanoseconds should be
* encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
* be expressed in JSON format as "3.000000001s", and 3 seconds and 1
* microsecond should be expressed in JSON format as "3.000001s".
*/
struct _Google__Protobuf__Duration
{
ProtobufCMessage base;
/*
* Signed seconds of the span of time. Must be from -315,576,000,000
* to +315,576,000,000 inclusive. Note: these bounds are computed from:
* 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
*/
int64_t seconds;
/*
* Signed fractions of a second at nanosecond resolution of the span
* of time. Durations less than one second are represented with a 0
* `seconds` field and a positive or negative `nanos` field. For durations
* of one second or more, a non-zero value for the `nanos` field must be
* of the same sign as the `seconds` field. Must be from -999,999,999
* to +999,999,999 inclusive.
*/
int32_t nanos;
};
#define GOOGLE__PROTOBUF__DURATION__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&google__protobuf__duration__descriptor) \
, 0, 0 }
/* Google__Protobuf__Duration methods */
void google__protobuf__duration__init
(Google__Protobuf__Duration *message);
size_t google__protobuf__duration__get_packed_size
(const Google__Protobuf__Duration *message);
size_t google__protobuf__duration__pack
(const Google__Protobuf__Duration *message,
uint8_t *out);
size_t google__protobuf__duration__pack_to_buffer
(const Google__Protobuf__Duration *message,
ProtobufCBuffer *buffer);
Google__Protobuf__Duration *
google__protobuf__duration__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void google__protobuf__duration__free_unpacked
(Google__Protobuf__Duration *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Google__Protobuf__Duration_Closure)
(const Google__Protobuf__Duration *message,
void *closure_data);
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor google__protobuf__duration__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fgogo_2fprotobuf_2fprotobuf_2fgoogle_2fprotobuf_2fduration_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/protocol/protocol.pb-c.h | <gh_stars>10-100
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/protocol/protocol.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2fprotocol_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2fprotocol_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
#include "github.com/TheThingsNetwork/api/protocol/lorawan/lorawan.pb-c.h"
typedef struct _Protocol__Message Protocol__Message;
typedef struct _Protocol__RxMetadata Protocol__RxMetadata;
typedef struct _Protocol__TxConfiguration Protocol__TxConfiguration;
typedef struct _Protocol__ActivationMetadata Protocol__ActivationMetadata;
/* --- enums --- */
/* --- messages --- */
typedef enum {
PROTOCOL__MESSAGE__PROTOCOL__NOT_SET = 0,
PROTOCOL__MESSAGE__PROTOCOL_LORAWAN = 1
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PROTOCOL__MESSAGE__PROTOCOL)
} Protocol__Message__ProtocolCase;
struct _Protocol__Message
{
ProtobufCMessage base;
Protocol__Message__ProtocolCase protocol_case;
union {
Lorawan__Message *lorawan;
};
};
#define PROTOCOL__MESSAGE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&protocol__message__descriptor) \
, PROTOCOL__MESSAGE__PROTOCOL__NOT_SET, {0} }
typedef enum {
PROTOCOL__RX_METADATA__PROTOCOL__NOT_SET = 0,
PROTOCOL__RX_METADATA__PROTOCOL_LORAWAN = 1
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PROTOCOL__RX_METADATA__PROTOCOL)
} Protocol__RxMetadata__ProtocolCase;
struct _Protocol__RxMetadata
{
ProtobufCMessage base;
Protocol__RxMetadata__ProtocolCase protocol_case;
union {
Lorawan__Metadata *lorawan;
};
};
#define PROTOCOL__RX_METADATA__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&protocol__rx_metadata__descriptor) \
, PROTOCOL__RX_METADATA__PROTOCOL__NOT_SET, {0} }
typedef enum {
PROTOCOL__TX_CONFIGURATION__PROTOCOL__NOT_SET = 0,
PROTOCOL__TX_CONFIGURATION__PROTOCOL_LORAWAN = 1
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PROTOCOL__TX_CONFIGURATION__PROTOCOL)
} Protocol__TxConfiguration__ProtocolCase;
struct _Protocol__TxConfiguration
{
ProtobufCMessage base;
Protocol__TxConfiguration__ProtocolCase protocol_case;
union {
Lorawan__TxConfiguration *lorawan;
};
};
#define PROTOCOL__TX_CONFIGURATION__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&protocol__tx_configuration__descriptor) \
, PROTOCOL__TX_CONFIGURATION__PROTOCOL__NOT_SET, {0} }
typedef enum {
PROTOCOL__ACTIVATION_METADATA__PROTOCOL__NOT_SET = 0,
PROTOCOL__ACTIVATION_METADATA__PROTOCOL_LORAWAN = 1
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PROTOCOL__ACTIVATION_METADATA__PROTOCOL)
} Protocol__ActivationMetadata__ProtocolCase;
struct _Protocol__ActivationMetadata
{
ProtobufCMessage base;
Protocol__ActivationMetadata__ProtocolCase protocol_case;
union {
Lorawan__ActivationMetadata *lorawan;
};
};
#define PROTOCOL__ACTIVATION_METADATA__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&protocol__activation_metadata__descriptor) \
, PROTOCOL__ACTIVATION_METADATA__PROTOCOL__NOT_SET, {0} }
/* Protocol__Message methods */
void protocol__message__init
(Protocol__Message *message);
size_t protocol__message__get_packed_size
(const Protocol__Message *message);
size_t protocol__message__pack
(const Protocol__Message *message,
uint8_t *out);
size_t protocol__message__pack_to_buffer
(const Protocol__Message *message,
ProtobufCBuffer *buffer);
Protocol__Message *
protocol__message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void protocol__message__free_unpacked
(Protocol__Message *message,
ProtobufCAllocator *allocator);
/* Protocol__RxMetadata methods */
void protocol__rx_metadata__init
(Protocol__RxMetadata *message);
size_t protocol__rx_metadata__get_packed_size
(const Protocol__RxMetadata *message);
size_t protocol__rx_metadata__pack
(const Protocol__RxMetadata *message,
uint8_t *out);
size_t protocol__rx_metadata__pack_to_buffer
(const Protocol__RxMetadata *message,
ProtobufCBuffer *buffer);
Protocol__RxMetadata *
protocol__rx_metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void protocol__rx_metadata__free_unpacked
(Protocol__RxMetadata *message,
ProtobufCAllocator *allocator);
/* Protocol__TxConfiguration methods */
void protocol__tx_configuration__init
(Protocol__TxConfiguration *message);
size_t protocol__tx_configuration__get_packed_size
(const Protocol__TxConfiguration *message);
size_t protocol__tx_configuration__pack
(const Protocol__TxConfiguration *message,
uint8_t *out);
size_t protocol__tx_configuration__pack_to_buffer
(const Protocol__TxConfiguration *message,
ProtobufCBuffer *buffer);
Protocol__TxConfiguration *
protocol__tx_configuration__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void protocol__tx_configuration__free_unpacked
(Protocol__TxConfiguration *message,
ProtobufCAllocator *allocator);
/* Protocol__ActivationMetadata methods */
void protocol__activation_metadata__init
(Protocol__ActivationMetadata *message);
size_t protocol__activation_metadata__get_packed_size
(const Protocol__ActivationMetadata *message);
size_t protocol__activation_metadata__pack
(const Protocol__ActivationMetadata *message,
uint8_t *out);
size_t protocol__activation_metadata__pack_to_buffer
(const Protocol__ActivationMetadata *message,
ProtobufCBuffer *buffer);
Protocol__ActivationMetadata *
protocol__activation_metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void protocol__activation_metadata__free_unpacked
(Protocol__ActivationMetadata *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Protocol__Message_Closure)
(const Protocol__Message *message,
void *closure_data);
typedef void (*Protocol__RxMetadata_Closure)
(const Protocol__RxMetadata *message,
void *closure_data);
typedef void (*Protocol__TxConfiguration_Closure)
(const Protocol__TxConfiguration *message,
void *closure_data);
typedef void (*Protocol__ActivationMetadata_Closure)
(const Protocol__ActivationMetadata *message,
void *closure_data);
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor protocol__message__descriptor;
extern const ProtobufCMessageDescriptor protocol__rx_metadata__descriptor;
extern const ProtobufCMessageDescriptor protocol__tx_configuration__descriptor;
extern const ProtobufCMessageDescriptor protocol__activation_metadata__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2fprotocol_2eproto__INCLUDED */
|
LukasHabring/api | c/github.com/TheThingsNetwork/api/protocol/lorawan/lorawan.pb-c.h | /* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: github.com/TheThingsNetwork/api/protocol/lorawan/lorawan.proto */
#ifndef PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2florawan_2eproto__INCLUDED
#define PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2florawan_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
#include "github.com/gogo/protobuf/gogoproto/gogo.pb-c.h"
typedef struct _Lorawan__Metadata Lorawan__Metadata;
typedef struct _Lorawan__TxConfiguration Lorawan__TxConfiguration;
typedef struct _Lorawan__ActivationMetadata Lorawan__ActivationMetadata;
typedef struct _Lorawan__Message Lorawan__Message;
typedef struct _Lorawan__MHDR Lorawan__MHDR;
typedef struct _Lorawan__MACPayload Lorawan__MACPayload;
typedef struct _Lorawan__FHDR Lorawan__FHDR;
typedef struct _Lorawan__FCtrl Lorawan__FCtrl;
typedef struct _Lorawan__MACCommand Lorawan__MACCommand;
typedef struct _Lorawan__JoinRequestPayload Lorawan__JoinRequestPayload;
typedef struct _Lorawan__JoinAcceptPayload Lorawan__JoinAcceptPayload;
typedef struct _Lorawan__DLSettings Lorawan__DLSettings;
typedef struct _Lorawan__CFList Lorawan__CFList;
/* --- enums --- */
typedef enum _Lorawan__Modulation {
LORAWAN__MODULATION__LORA = 0,
LORAWAN__MODULATION__FSK = 1
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LORAWAN__MODULATION)
} Lorawan__Modulation;
typedef enum _Lorawan__FrequencyPlan {
LORAWAN__FREQUENCY_PLAN__EU_863_870 = 0,
LORAWAN__FREQUENCY_PLAN__US_902_928 = 1,
LORAWAN__FREQUENCY_PLAN__CN_779_787 = 2,
LORAWAN__FREQUENCY_PLAN__EU_433 = 3,
LORAWAN__FREQUENCY_PLAN__AU_915_928 = 4,
LORAWAN__FREQUENCY_PLAN__CN_470_510 = 5,
LORAWAN__FREQUENCY_PLAN__AS_923 = 6,
LORAWAN__FREQUENCY_PLAN__AS_920_923 = 61,
LORAWAN__FREQUENCY_PLAN__AS_923_925 = 62,
LORAWAN__FREQUENCY_PLAN__KR_920_923 = 7,
LORAWAN__FREQUENCY_PLAN__IN_865_867 = 8,
LORAWAN__FREQUENCY_PLAN__RU_864_870 = 9
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LORAWAN__FREQUENCY_PLAN)
} Lorawan__FrequencyPlan;
typedef enum _Lorawan__Major {
LORAWAN__MAJOR__LORAWAN_R1 = 0
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LORAWAN__MAJOR)
} Lorawan__Major;
typedef enum _Lorawan__MType {
LORAWAN__MTYPE__JOIN_REQUEST = 0,
LORAWAN__MTYPE__JOIN_ACCEPT = 1,
LORAWAN__MTYPE__UNCONFIRMED_UP = 2,
LORAWAN__MTYPE__UNCONFIRMED_DOWN = 3,
LORAWAN__MTYPE__CONFIRMED_UP = 4,
LORAWAN__MTYPE__CONFIRMED_DOWN = 5
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LORAWAN__MTYPE)
} Lorawan__MType;
/* --- messages --- */
struct _Lorawan__Metadata
{
ProtobufCMessage base;
Lorawan__Modulation modulation;
/*
* LoRa data rate - SF{spreadingfactor}BW{bandwidth}
*/
char *data_rate;
/*
* FSK bit rate in bit/s
*/
uint32_t bit_rate;
/*
* LoRa coding rate
*/
char *coding_rate;
/*
* Store the full 32 bit FCnt (deprecated; do not use)
*/
uint32_t f_cnt;
Lorawan__FrequencyPlan frequency_plan;
};
#define LORAWAN__METADATA__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__metadata__descriptor) \
, LORAWAN__MODULATION__LORA, (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, 0, LORAWAN__FREQUENCY_PLAN__EU_863_870 }
struct _Lorawan__TxConfiguration
{
ProtobufCMessage base;
Lorawan__Modulation modulation;
/*
* LoRa data rate - SF{spreadingfactor}BW{bandwidth}
*/
char *data_rate;
/*
* FSK bit rate in bit/s
*/
uint32_t bit_rate;
/*
* LoRa coding rate
*/
char *coding_rate;
/*
* Store the full 32 bit FCnt (deprecated; do not use)
*/
uint32_t f_cnt;
};
#define LORAWAN__TX_CONFIGURATION__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__tx_configuration__descriptor) \
, LORAWAN__MODULATION__LORA, (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, 0 }
struct _Lorawan__ActivationMetadata
{
ProtobufCMessage base;
ProtobufCBinaryData app_eui;
ProtobufCBinaryData dev_eui;
ProtobufCBinaryData dev_addr;
ProtobufCBinaryData nwk_s_key;
uint32_t rx1_dr_offset;
uint32_t rx2_dr;
uint32_t rx_delay;
Lorawan__CFList *cf_list;
Lorawan__FrequencyPlan frequency_plan;
};
#define LORAWAN__ACTIVATION_METADATA__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__activation_metadata__descriptor) \
, {0,NULL}, {0,NULL}, {0,NULL}, {0,NULL}, 0, 0, 0, NULL, LORAWAN__FREQUENCY_PLAN__EU_863_870 }
typedef enum {
LORAWAN__MESSAGE__PAYLOAD__NOT_SET = 0,
LORAWAN__MESSAGE__PAYLOAD_MAC_PAYLOAD = 3,
LORAWAN__MESSAGE__PAYLOAD_JOIN_REQUEST_PAYLOAD = 4,
LORAWAN__MESSAGE__PAYLOAD_JOIN_ACCEPT_PAYLOAD = 5
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LORAWAN__MESSAGE__PAYLOAD)
} Lorawan__Message__PayloadCase;
struct _Lorawan__Message
{
ProtobufCMessage base;
Lorawan__MHDR *m_hdr;
ProtobufCBinaryData mic;
Lorawan__Message__PayloadCase payload_case;
union {
Lorawan__MACPayload *mac_payload;
Lorawan__JoinRequestPayload *join_request_payload;
Lorawan__JoinAcceptPayload *join_accept_payload;
};
};
#define LORAWAN__MESSAGE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__message__descriptor) \
, NULL, {0,NULL}, LORAWAN__MESSAGE__PAYLOAD__NOT_SET, {0} }
struct _Lorawan__MHDR
{
ProtobufCMessage base;
Lorawan__MType m_type;
Lorawan__Major major;
};
#define LORAWAN__MHDR__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__mhdr__descriptor) \
, LORAWAN__MTYPE__JOIN_REQUEST, LORAWAN__MAJOR__LORAWAN_R1 }
struct _Lorawan__MACPayload
{
ProtobufCMessage base;
Lorawan__FHDR *f_hdr;
int32_t f_port;
ProtobufCBinaryData frm_payload;
};
#define LORAWAN__MACPAYLOAD__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__macpayload__descriptor) \
, NULL, 0, {0,NULL} }
struct _Lorawan__FHDR
{
ProtobufCMessage base;
ProtobufCBinaryData dev_addr;
Lorawan__FCtrl *f_ctrl;
uint32_t f_cnt;
size_t n_f_opts;
Lorawan__MACCommand **f_opts;
};
#define LORAWAN__FHDR__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__fhdr__descriptor) \
, {0,NULL}, NULL, 0, 0,NULL }
struct _Lorawan__FCtrl
{
ProtobufCMessage base;
protobuf_c_boolean adr;
protobuf_c_boolean adr_ack_req;
protobuf_c_boolean ack;
protobuf_c_boolean f_pending;
};
#define LORAWAN__FCTRL__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__fctrl__descriptor) \
, 0, 0, 0, 0 }
struct _Lorawan__MACCommand
{
ProtobufCMessage base;
uint32_t cid;
ProtobufCBinaryData payload;
};
#define LORAWAN__MACCOMMAND__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__maccommand__descriptor) \
, 0, {0,NULL} }
struct _Lorawan__JoinRequestPayload
{
ProtobufCMessage base;
ProtobufCBinaryData app_eui;
ProtobufCBinaryData dev_eui;
ProtobufCBinaryData dev_nonce;
};
#define LORAWAN__JOIN_REQUEST_PAYLOAD__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__join_request_payload__descriptor) \
, {0,NULL}, {0,NULL}, {0,NULL} }
struct _Lorawan__JoinAcceptPayload
{
ProtobufCMessage base;
ProtobufCBinaryData encrypted;
ProtobufCBinaryData app_nonce;
ProtobufCBinaryData net_id;
ProtobufCBinaryData dev_addr;
Lorawan__DLSettings *dl_settings;
uint32_t rx_delay;
Lorawan__CFList *cf_list;
};
#define LORAWAN__JOIN_ACCEPT_PAYLOAD__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__join_accept_payload__descriptor) \
, {0,NULL}, {0,NULL}, {0,NULL}, {0,NULL}, NULL, 0, NULL }
struct _Lorawan__DLSettings
{
ProtobufCMessage base;
uint32_t rx1_dr_offset;
uint32_t rx2_dr;
};
#define LORAWAN__DLSETTINGS__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__dlsettings__descriptor) \
, 0, 0 }
struct _Lorawan__CFList
{
ProtobufCMessage base;
size_t n_freq;
uint32_t *freq;
};
#define LORAWAN__CFLIST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&lorawan__cflist__descriptor) \
, 0,NULL }
/* Lorawan__Metadata methods */
void lorawan__metadata__init
(Lorawan__Metadata *message);
size_t lorawan__metadata__get_packed_size
(const Lorawan__Metadata *message);
size_t lorawan__metadata__pack
(const Lorawan__Metadata *message,
uint8_t *out);
size_t lorawan__metadata__pack_to_buffer
(const Lorawan__Metadata *message,
ProtobufCBuffer *buffer);
Lorawan__Metadata *
lorawan__metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__metadata__free_unpacked
(Lorawan__Metadata *message,
ProtobufCAllocator *allocator);
/* Lorawan__TxConfiguration methods */
void lorawan__tx_configuration__init
(Lorawan__TxConfiguration *message);
size_t lorawan__tx_configuration__get_packed_size
(const Lorawan__TxConfiguration *message);
size_t lorawan__tx_configuration__pack
(const Lorawan__TxConfiguration *message,
uint8_t *out);
size_t lorawan__tx_configuration__pack_to_buffer
(const Lorawan__TxConfiguration *message,
ProtobufCBuffer *buffer);
Lorawan__TxConfiguration *
lorawan__tx_configuration__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__tx_configuration__free_unpacked
(Lorawan__TxConfiguration *message,
ProtobufCAllocator *allocator);
/* Lorawan__ActivationMetadata methods */
void lorawan__activation_metadata__init
(Lorawan__ActivationMetadata *message);
size_t lorawan__activation_metadata__get_packed_size
(const Lorawan__ActivationMetadata *message);
size_t lorawan__activation_metadata__pack
(const Lorawan__ActivationMetadata *message,
uint8_t *out);
size_t lorawan__activation_metadata__pack_to_buffer
(const Lorawan__ActivationMetadata *message,
ProtobufCBuffer *buffer);
Lorawan__ActivationMetadata *
lorawan__activation_metadata__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__activation_metadata__free_unpacked
(Lorawan__ActivationMetadata *message,
ProtobufCAllocator *allocator);
/* Lorawan__Message methods */
void lorawan__message__init
(Lorawan__Message *message);
size_t lorawan__message__get_packed_size
(const Lorawan__Message *message);
size_t lorawan__message__pack
(const Lorawan__Message *message,
uint8_t *out);
size_t lorawan__message__pack_to_buffer
(const Lorawan__Message *message,
ProtobufCBuffer *buffer);
Lorawan__Message *
lorawan__message__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__message__free_unpacked
(Lorawan__Message *message,
ProtobufCAllocator *allocator);
/* Lorawan__MHDR methods */
void lorawan__mhdr__init
(Lorawan__MHDR *message);
size_t lorawan__mhdr__get_packed_size
(const Lorawan__MHDR *message);
size_t lorawan__mhdr__pack
(const Lorawan__MHDR *message,
uint8_t *out);
size_t lorawan__mhdr__pack_to_buffer
(const Lorawan__MHDR *message,
ProtobufCBuffer *buffer);
Lorawan__MHDR *
lorawan__mhdr__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__mhdr__free_unpacked
(Lorawan__MHDR *message,
ProtobufCAllocator *allocator);
/* Lorawan__MACPayload methods */
void lorawan__macpayload__init
(Lorawan__MACPayload *message);
size_t lorawan__macpayload__get_packed_size
(const Lorawan__MACPayload *message);
size_t lorawan__macpayload__pack
(const Lorawan__MACPayload *message,
uint8_t *out);
size_t lorawan__macpayload__pack_to_buffer
(const Lorawan__MACPayload *message,
ProtobufCBuffer *buffer);
Lorawan__MACPayload *
lorawan__macpayload__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__macpayload__free_unpacked
(Lorawan__MACPayload *message,
ProtobufCAllocator *allocator);
/* Lorawan__FHDR methods */
void lorawan__fhdr__init
(Lorawan__FHDR *message);
size_t lorawan__fhdr__get_packed_size
(const Lorawan__FHDR *message);
size_t lorawan__fhdr__pack
(const Lorawan__FHDR *message,
uint8_t *out);
size_t lorawan__fhdr__pack_to_buffer
(const Lorawan__FHDR *message,
ProtobufCBuffer *buffer);
Lorawan__FHDR *
lorawan__fhdr__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__fhdr__free_unpacked
(Lorawan__FHDR *message,
ProtobufCAllocator *allocator);
/* Lorawan__FCtrl methods */
void lorawan__fctrl__init
(Lorawan__FCtrl *message);
size_t lorawan__fctrl__get_packed_size
(const Lorawan__FCtrl *message);
size_t lorawan__fctrl__pack
(const Lorawan__FCtrl *message,
uint8_t *out);
size_t lorawan__fctrl__pack_to_buffer
(const Lorawan__FCtrl *message,
ProtobufCBuffer *buffer);
Lorawan__FCtrl *
lorawan__fctrl__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__fctrl__free_unpacked
(Lorawan__FCtrl *message,
ProtobufCAllocator *allocator);
/* Lorawan__MACCommand methods */
void lorawan__maccommand__init
(Lorawan__MACCommand *message);
size_t lorawan__maccommand__get_packed_size
(const Lorawan__MACCommand *message);
size_t lorawan__maccommand__pack
(const Lorawan__MACCommand *message,
uint8_t *out);
size_t lorawan__maccommand__pack_to_buffer
(const Lorawan__MACCommand *message,
ProtobufCBuffer *buffer);
Lorawan__MACCommand *
lorawan__maccommand__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__maccommand__free_unpacked
(Lorawan__MACCommand *message,
ProtobufCAllocator *allocator);
/* Lorawan__JoinRequestPayload methods */
void lorawan__join_request_payload__init
(Lorawan__JoinRequestPayload *message);
size_t lorawan__join_request_payload__get_packed_size
(const Lorawan__JoinRequestPayload *message);
size_t lorawan__join_request_payload__pack
(const Lorawan__JoinRequestPayload *message,
uint8_t *out);
size_t lorawan__join_request_payload__pack_to_buffer
(const Lorawan__JoinRequestPayload *message,
ProtobufCBuffer *buffer);
Lorawan__JoinRequestPayload *
lorawan__join_request_payload__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__join_request_payload__free_unpacked
(Lorawan__JoinRequestPayload *message,
ProtobufCAllocator *allocator);
/* Lorawan__JoinAcceptPayload methods */
void lorawan__join_accept_payload__init
(Lorawan__JoinAcceptPayload *message);
size_t lorawan__join_accept_payload__get_packed_size
(const Lorawan__JoinAcceptPayload *message);
size_t lorawan__join_accept_payload__pack
(const Lorawan__JoinAcceptPayload *message,
uint8_t *out);
size_t lorawan__join_accept_payload__pack_to_buffer
(const Lorawan__JoinAcceptPayload *message,
ProtobufCBuffer *buffer);
Lorawan__JoinAcceptPayload *
lorawan__join_accept_payload__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__join_accept_payload__free_unpacked
(Lorawan__JoinAcceptPayload *message,
ProtobufCAllocator *allocator);
/* Lorawan__DLSettings methods */
void lorawan__dlsettings__init
(Lorawan__DLSettings *message);
size_t lorawan__dlsettings__get_packed_size
(const Lorawan__DLSettings *message);
size_t lorawan__dlsettings__pack
(const Lorawan__DLSettings *message,
uint8_t *out);
size_t lorawan__dlsettings__pack_to_buffer
(const Lorawan__DLSettings *message,
ProtobufCBuffer *buffer);
Lorawan__DLSettings *
lorawan__dlsettings__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__dlsettings__free_unpacked
(Lorawan__DLSettings *message,
ProtobufCAllocator *allocator);
/* Lorawan__CFList methods */
void lorawan__cflist__init
(Lorawan__CFList *message);
size_t lorawan__cflist__get_packed_size
(const Lorawan__CFList *message);
size_t lorawan__cflist__pack
(const Lorawan__CFList *message,
uint8_t *out);
size_t lorawan__cflist__pack_to_buffer
(const Lorawan__CFList *message,
ProtobufCBuffer *buffer);
Lorawan__CFList *
lorawan__cflist__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void lorawan__cflist__free_unpacked
(Lorawan__CFList *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*Lorawan__Metadata_Closure)
(const Lorawan__Metadata *message,
void *closure_data);
typedef void (*Lorawan__TxConfiguration_Closure)
(const Lorawan__TxConfiguration *message,
void *closure_data);
typedef void (*Lorawan__ActivationMetadata_Closure)
(const Lorawan__ActivationMetadata *message,
void *closure_data);
typedef void (*Lorawan__Message_Closure)
(const Lorawan__Message *message,
void *closure_data);
typedef void (*Lorawan__MHDR_Closure)
(const Lorawan__MHDR *message,
void *closure_data);
typedef void (*Lorawan__MACPayload_Closure)
(const Lorawan__MACPayload *message,
void *closure_data);
typedef void (*Lorawan__FHDR_Closure)
(const Lorawan__FHDR *message,
void *closure_data);
typedef void (*Lorawan__FCtrl_Closure)
(const Lorawan__FCtrl *message,
void *closure_data);
typedef void (*Lorawan__MACCommand_Closure)
(const Lorawan__MACCommand *message,
void *closure_data);
typedef void (*Lorawan__JoinRequestPayload_Closure)
(const Lorawan__JoinRequestPayload *message,
void *closure_data);
typedef void (*Lorawan__JoinAcceptPayload_Closure)
(const Lorawan__JoinAcceptPayload *message,
void *closure_data);
typedef void (*Lorawan__DLSettings_Closure)
(const Lorawan__DLSettings *message,
void *closure_data);
typedef void (*Lorawan__CFList_Closure)
(const Lorawan__CFList *message,
void *closure_data);
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCEnumDescriptor lorawan__modulation__descriptor;
extern const ProtobufCEnumDescriptor lorawan__frequency_plan__descriptor;
extern const ProtobufCEnumDescriptor lorawan__major__descriptor;
extern const ProtobufCEnumDescriptor lorawan__mtype__descriptor;
extern const ProtobufCMessageDescriptor lorawan__metadata__descriptor;
extern const ProtobufCMessageDescriptor lorawan__tx_configuration__descriptor;
extern const ProtobufCMessageDescriptor lorawan__activation_metadata__descriptor;
extern const ProtobufCMessageDescriptor lorawan__message__descriptor;
extern const ProtobufCMessageDescriptor lorawan__mhdr__descriptor;
extern const ProtobufCMessageDescriptor lorawan__macpayload__descriptor;
extern const ProtobufCMessageDescriptor lorawan__fhdr__descriptor;
extern const ProtobufCMessageDescriptor lorawan__fctrl__descriptor;
extern const ProtobufCMessageDescriptor lorawan__maccommand__descriptor;
extern const ProtobufCMessageDescriptor lorawan__join_request_payload__descriptor;
extern const ProtobufCMessageDescriptor lorawan__join_accept_payload__descriptor;
extern const ProtobufCMessageDescriptor lorawan__dlsettings__descriptor;
extern const ProtobufCMessageDescriptor lorawan__cflist__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_github_2ecom_2fTheThingsNetwork_2fapi_2fprotocol_2florawan_2florawan_2eproto__INCLUDED */
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/06-STK/STK_interface.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 19 NOV 2021 */
/*********************************************************************************/
#ifndef STK_INTERFACE_H
#define STK_INTERFACE_H
/****************** STK Clock Source Definition ******************/
#define STK_SRC_AHB_8 0
#define STK_SRC_AHB 1
/****************** STK interval mode Definition ******************/
#define STK_SINGLE_INTERVAL 0
#define STK_PERIOD_INTERVAL 1
/*************** Function definition ******************/
void STK_voidInit (void);
void STK_voidSetBusyWait (uint32 Copy_u32Ticks);
void STK_voidSetIntervalSingle (uint32 Copy_u32Ticks, void (*Copy_ptr) (void));
void STK_voidSetIntervalPeriodic (uint32 Copy_u32Ticks, void (*Copy_ptr) (void));
void STK_voidStopInterval (void);
uint32 STK_u32GetElapedTime (void);
uint32 STK_u32GetRemainingTime (void);
void STK_voidDelay_ms (uint32 Copy_u32Ticks);
void STK_voidStartTimer (u32 Copy_u32Ticks);
void STK_voidStartMicros(void);
uint64 Micros(void);
void STK_voidStartMillis(void);
uint64 Millis(void);
#endif /* STK_INTERFACE_H */
|
Eslam-Abdo/STM32_ARM_drivers | 04-APP/02-CAN_ex/Example2.c | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 1 FEB 2021 */
/*********************************************************************************/
/******************** CAN ***********************************/
#include <stdio.h>
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "RCC_interface.h"
#include "STK_interface.h"
#include "NVIC_interface.h"
#include "GPIO_interface.h"
#include "EXTI_interface.h"
#include "USART_INTERFACE.h"
#include "CAN_interface.h"
#define BUTTON PIN0
#define LED1 PIN12
#define LED2 PIN13
#define LED3 PIN14
#define LED4 PIN15
#define Blink PIN13
uint8 LedNum = 11;
uint8 counter = 0;
void GPIO_init(void);
void EXTI_voidCallBack(void);
void EXTI_void__Init(void);
void Timer(void);
void CAN_TX(void);
void CAN_RX(void);
uint16 Std_id_High(uint16 local_u16Std_Id);
void CAN_FilterConfig(void);
void CAN_Interrupt(void);
void LED_Mange_Output(uint8 local_u8LedNum);
void Send_response(uint32 stdId);
int main()
{
/* Rcc init */
RCC_voidInitSysClock();
RCC_voidEnableClock(RCC_APB2, APB2_GPIOA_EN);
RCC_voidEnableClock(RCC_APB2, APB2_GPIOB_EN);
RCC_voidEnableClock(RCC_APB2, APB2_GPIOC_EN);
RCC_voidEnableClock(RCC_APB2, APB2_USART1_EN);
/* STK init */
STK_voidInit();
/* GPIOA INIT */
GPIO_init();
/* UART1 init */
USART_voidInit(UART1,9600);
/* CAN init */
CAN_voidInit();
/* CAN Filter set */
CAN_FilterConfig();
CAN_Interrupt();
/* CAN Start */
CAN_voidStart();
/* EXTI init */
EXTI_void__Init();
while(1)
{
}
return 0;
}
void GPIO_init(void)
{
GPIO_voidSetPinDirection(GPIOA,BUTTON,INPUT_PULL_UP_DOWN);
GPIO_voidSetPinPull(GPIOA,BUTTON, PULL_UP);
GPIO_voidSetPinDirection(GPIOC,Blink,OUTPUT_SPEED_2MHZ_PP);
GPIO_voidSetPinDirection(GPIOB,LED1,OUTPUT_SPEED_2MHZ_PP);
GPIO_voidSetPinDirection(GPIOB,LED2,OUTPUT_SPEED_2MHZ_PP);
GPIO_voidSetPinDirection(GPIOB,LED3,OUTPUT_SPEED_2MHZ_PP);
GPIO_voidSetPinDirection(GPIOB,LED4,OUTPUT_SPEED_2MHZ_PP);
}
void EXTI_void__Init(void)
{
EXTI_voidSetCallBack(EXTI_LINE0,EXTI_voidCallBack);
EXTI_voidSetSignalLatch(EXTI_LINE0, FALLING_EDGE);
NVIC_voidEnableInterrupt(6);
}
void EXTI_voidCallBack(void)
{
STK_voidSetIntervalPeriodic(9000*1000,Timer);//take us and with 72MHz 1ms = 9000
}
void Timer(void)
{
if (counter == 4)
{
uint8 T_MSG[8];
CAN_TxHeaderTypeDef tx_header;
tx_header.ExtId = 0x651;
tx_header.IDE = CAN_ID_EXT;
tx_header.RTR = CAN_RTR_REMOTE;
tx_header.DLC = 2;
tx_header.TransmitGlobalTime=DISABLE;
CAN_voidAddTxMsg(&tx_header,T_MSG);
counter = 0;
}
else
{
CAN_TX();
counter ++;
}
}
void CAN_TX(void)
{
CAN_TxHeaderTypeDef tx_header;
uint8 T_MSG;
tx_header.ExtId = 0x65D;
tx_header.IDE = CAN_ID_EXT;
tx_header.RTR = CAN_RTR_DATA;
tx_header.DLC = 1;
tx_header.TransmitGlobalTime=DISABLE;
T_MSG = ++LedNum;
if (LedNum == 15)
{
LedNum = 11;
}
CAN_voidAddTxMsg(&tx_header,&T_MSG);
GPIO_voidTogglePinValue(GPIOC,Blink);
}
void CAN_RX(void)
{
CAN_RxHeaderTypeDef Rx_header;
// while(CAN_voidRXPending(CAN_RX_FIFO0) == 0);
uint8 R_MSG[8];
char MSG[50];
CAN_voidGetRxMsg(CAN_RX_FIFO0,&Rx_header,R_MSG);
if(Rx_header.ExtId == 0x65D && Rx_header.RTR == CAN_RTR_DATA)
{
// This is data frame sent by n1 to n2
LED_Mange_Output(R_MSG[0]);
sprintf(MSG,"MSG Recevied : #%x \n",R_MSG[0] );
}
else if(Rx_header.ExtId == 0x651 && Rx_header.RTR == CAN_RTR_REMOTEFLAG)
{
// This is remote frame sent by n1 to n2
Send_response(Rx_header.ExtId);
return;
}
else if(Rx_header.ExtId == 0x651 && Rx_header.RTR == CAN_RTR_DATA)
{
// This is replay (data frame )sent by n2 to n1
sprintf(MSG,"MSG Recevied : #%x \n",R_MSG[0]<<8 | R_MSG[1]);
}
USART_voidTransmit(UART1,MSG, STRING);
}
uint16 Std_id_High(uint16 local_u16Std_Id)
{
return (local_u16Std_Id << 5);
}
void CAN_FilterConfig(void)
{
CAN_FilterTypeDef CAN_FilterInit;
CAN_FilterInit.FilterActivation = ENABLE;
CAN_FilterInit.FilterBank = 0;
CAN_FilterInit.FilterFIFOAssignment = CAN_FILTER_FIFO0;
CAN_FilterInit.FilterIdHigh = 0x0000;
CAN_FilterInit.FilterIdLow = 0x651<<3|0x04;
CAN_FilterInit.FilterMaskIdHigh = 0x0000;
CAN_FilterInit.FilterMaskIdLow = 0x7FFC;
CAN_FilterInit.FilterMode = CAN_FILTERMODE_IDMASK;
CAN_FilterInit.FilterScale = CAN_FILTERSCALE_32BIT;
CAN_voidConfigFilter(&CAN_FilterInit);
}
void CAN_Interrupt(void)
{
CAN_voidInitInterput(CAN_TX_IRQn);
CAN_voidInitInterput(CAN_RX0_IRQn);
CAN_voidInitInterput(CAN_RX1_IRQn);
CAN_voidInitInterput(CAN_SCE_IRQn);
CAN_voidEnableInterrupt(CAN_IER_TX_MAILBOX_EMPTY | CAN_IER_RX_FIFO0_MSG_PENDING | CAN_IER_ERROR | CAN_IER_LAST_ERROR_CODE | CAN_IER_BUSOFF);
}
void LED_Mange_Output(uint8 local_u8LedNum)
{
switch(local_u8LedNum)
{
case 12:
GPIO_voidSetPinValue(GPIOB,LED1,HIGH);
GPIO_voidSetPinValue(GPIOB,LED2,LOW);
GPIO_voidSetPinValue(GPIOB,LED3,LOW);
GPIO_voidSetPinValue(GPIOB,LED4,LOW);
break;
case 13:
GPIO_voidSetPinValue(GPIOB,LED1,LOW);
GPIO_voidSetPinValue(GPIOB,LED2,HIGH);
GPIO_voidSetPinValue(GPIOB,LED3,LOW);
GPIO_voidSetPinValue(GPIOB,LED4,LOW);
break;
case 14:
GPIO_voidSetPinValue(GPIOB,LED1,LOW);
GPIO_voidSetPinValue(GPIOB,LED2,LOW);
GPIO_voidSetPinValue(GPIOB,LED3,HIGH);
GPIO_voidSetPinValue(GPIOB,LED4,LOW);
break;
case 15:
GPIO_voidSetPinValue(GPIOB,LED1,LOW);
GPIO_voidSetPinValue(GPIOB,LED2,LOW);
GPIO_voidSetPinValue(GPIOB,LED3,LOW);
GPIO_voidSetPinValue(GPIOB,LED4,HIGH);
break;
}
}
void Send_response(uint32 stdId)
{
CAN_TxHeaderTypeDef tx_header;
uint8 Response_MSG[2]={0xAB,0xCD};
tx_header.ExtId = stdId;
tx_header.IDE = CAN_ID_EXT;
tx_header.RTR = CAN_RTR_DATA;
tx_header.DLC = 2;
tx_header.TransmitGlobalTime=DISABLE;
CAN_voidAddTxMsg(&tx_header,Response_MSG);
GPIO_voidTogglePinValue(GPIOC,Blink);
}
/**************************************************/
void CAN_TxMailbox0CompleteCallback()
{
/* print MSG on UART1 */
char MSG[50] = " MSG TRANSMITED m0 \n";
USART_voidTransmit(UART1,MSG, STRING);
}
void CAN_RxFifo0MsgPendingCallback()
{
CAN_RX();
}
void CAN_ErrorCallback()
{
/* print MSG on UART1 */
char MSG[50] = "Error Code \n";
USART_voidTransmit(UART1,MSG, STRING);
}
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/08-CAN/CAN_config.h | <reponame>Eslam-Abdo/STM32_ARM_drivers
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 17 OCT 2020 */
/*********************************************************************************/
#ifndef CAN_CONFIG_H
#define CAN_CONFIG_H
/** CAN configuration structure definition **/
/*!< This parameters can be set to ENABLE or DISABLE. */
#define AutoRetransmission ENABLE
#define AutoBussOff ENABLE
#define AutoWakeUp DISABLE
#define TimeTriggeredMode DISABLE
#define ReceiveFifoLocked DISABLE
#define TransmitFifoPriority DISABLE
/********** option :
* CAN_MODE_NORMAL
* CAN_MODE_LOOPBACK
* CAN_MODE_SILENT
* CAN_MODE_SILENT_LOOPBACK
**********************************/
#define MODE CAN_MODE_NORMAL
/********** option : CAN_50KBPS
* CAN_100KBPS
* CAN_125KBPS
* CAN_250KBPS
* CAN_500KBPS
* CAN_800KBPS,
* CAN_1MBPS
*************************/
#define BOUDRATE CAN_500KBPS
#endif /* CAN_CONFIG_H */
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/01-RCC/RCC_config.h | <filename>02-MCAL/01-RCC/RCC_config.h<gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 22 SEP 2020 */
/*********************************************************************************/
#ifndef RCC_CONFIG_H
#define RCC_CONFIG_H
/************* Options: RCC_HSE_CRYSTAL
RCC_HSE_RC
RCC_HSI
RCC_PLL ****************/
#define RCC_CLOCK_TYPE RCC_PLL
/************* Options: RCC_PLL_IN_HSI_DIV_2
RCC_PLL_IN_HSE_DIV_2
RCC_PLL_IN_HSE ****************/
/*** Note: Select value only if you have PLL as input clock source ***/
#if RCC_CLOCK_TYPE == RCC_PLL
#define RCC_PLL_INPUT RCC_PLL_IN_HSE
#endif
/************************ Options: ***********************/
/* ClockFactor For PLL Maybe : */
/* 1-PLL_CLOCKk_MULTIPLE_BY_2 */
/* 2-PLL_CLOCKk_MULTIPLE_BY_3 */
/* 3-PLL_CLOCKk_MULTIPLE_BY_4 */
/* 4-PLL_CLOCKk_MULTIPLE_BY_5 */
/* 5-PLL_CLOCKk_MULTIPLE_BY_6 */
/* 6-PLL_CLOCKk_MULTIPLE_BY_7 */
/* 7-PLL_CLOCKk_MULTIPLE_BY_8 */
/* 8-PLL_CLOCKk_MULTIPLE_BY_9 */
/* 9-PLL_CLOCKk_MULTIPLE_BY_10 */
/* 10-PLL_CLOCKk_MULTIPLE_BY_11 */
/* 11-PLL_CLOCKk_MULTIPLE_BY_12 */
/* 12-PLL_CLOCKk_MULTIPLE_BY_13 */
/* 13-PLL_CLOCKk_MULTIPLE_BY_14 */
/* 14-PLL_CLOCKk_MULTIPLE_BY_15 */
/* 15-PLL_CLOCKk_MULTIPLE_BY_16 */
/* */
/* */
/*** Note: Select value only if you have PLL as input clock source ***/
#if RCC_CLOCK_TYPE == RCC_PLL
#define RCC_PLL_MUL_VAL PLL_CLOCK_MULTIPLE_BY_9
#endif
#endif // RCC_CONFIG_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/01-RCC/RCC_interface.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 22 SEP 2020 */
/*********************************************************************************/
#ifndef RCC_INTERFACE_H
#define RCC_INTERFACE_H
#define RCC_AHB 0
#define RCC_APB1 1
#define RCC_APB2 2
/*************** AHB BITS definition ******************/
#define AHB_DMA1_EN 0
#define AHB_DMA2_EN 1
#define AHB_SRAM_EN 2
#define AHB_FLITF_EN 4
#define AHB_CRC_EN 6
#define AHB_FSMC_EN 8
#define AHB_SDIO_EN 10
/*************** APB2 BITS definition ******************/
#define APB2_AFIO_EN 0
#define APB2_GPIOA_EN 2
#define APB2_GPIOB_EN 3
#define APB2_GPIOC_EN 4
#define APB2_GPIOD_EN 5
#define APB2_ADC1_EN 9
#define APB2_ADC2_EN 10
#define APB2_TIM1_EN 11
#define APB2_SPI1_EN 12
#define APB2_USART1_EN 14
#define APB2_ADC3_EN 15
/*************** APB1 BITS definition ******************/
#define APB1_TIM2_EN 0
#define APB1_TIM3_EN 1
#define APB1_TIM4_EN 2
#define APB1_SPI2_EN 14
#define APB1_USART2_EN 17
#define APB1_USART3_EN 18
#define APB1_I2C1_EN 21
#define APB1_I2C2_EN 22
#define APB1_USB_EN 23
#define APB1_CAN_EN 25
/******************* Clock Types *****************************/
#define RCC_HSE_CRYSTAL 0
#define RCC_HSE_RC 1
#define RCC_HSI 2
#define RCC_PLL 3
/******************* PLL INPUT Options ****************************/
#define RCC_PLL_IN_HSI_DIV_2 0
#define RCC_PLL_IN_HSE_DIV_2 1
#define RCC_PLL_IN_HSE 2
/******************* PLL MUL factor Options ****************************/
#define NO_CLOCK_FACTOR 0b0000
#define PLL_CLOCK_MULTIPLE_BY_2 0b0000
#define PLL_CLOCK_MULTIPLE_BY_3 0b0001
#define PLL_CLOCK_MULTIPLE_BY_4 0b0010
#define PLL_CLOCK_MULTIPLE_BY_5 0b0011
#define PLL_CLOCK_MULTIPLE_BY_6 0b0100
#define PLL_CLOCK_MULTIPLE_BY_7 0b0101
#define PLL_CLOCK_MULTIPLE_BY_8 0b0110
#define PLL_CLOCK_MULTIPLE_BY_9 0b0111
#define PLL_CLOCK_MULTIPLE_BY_10 0b1000
#define PLL_CLOCK_MULTIPLE_BY_11 0b1001
#define PLL_CLOCK_MULTIPLE_BY_12 0b1010
#define PLL_CLOCK_MULTIPLE_BY_13 0b1011
#define PLL_CLOCK_MULTIPLE_BY_14 0b1100
#define PLL_CLOCK_MULTIPLE_BY_15 0b1101
#define PLL_CLOCK_MULTIPLE_BY_16 0b1110
/*************** Function definition ******************/
void RCC_voidInitSysClock(void);
void RCC_voidEnableClock(uint8 Copy_u8BusId, uint8 Copy_u8PerId);
void RCC_voidDisableClock(uint8 Copy_u8BusId, uint8 Copy_u8PerId);
#endif // RCC_INTERFACE_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/04-EXTI/EXTI_private.h | <gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 11 OCT 2020 */
/*********************************************************************************/
#ifndef EXTI_PRIVATE_H
#define EXTI_PRIVATE_H
/******************* Register Definition ***********************/
typedef struct
{
volatile uint32 IMR;
volatile uint32 EMR;
volatile uint32 RTSR;
volatile uint32 FTSR;
volatile uint32 SWIER;
volatile uint32 PR;
}EXTI_t;
/******************* BASE Address Definition *********************/
#define EXTI_BASE_ADDRESS 0x40010400 //define the boundary address of EXTI
#define EXTI ((volatile EXTI_t *) EXTI_BASE_ADDRESS)
#endif // EXTI_PRIVATE_H
|
Eslam-Abdo/STM32_ARM_drivers | 04-APP/STK_task/STK_task.c | <reponame>Eslam-Abdo/STM32_ARM_drivers
/*
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 17 OCT 2020 */
/*********************************************************************************/
/******************** STK ***********************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "RCC_interface.h"
#include "GPIO_interface.h"
#include "STK_interface.h"
void ping_pong(void);
void fat7y_yawarda(void);
void flashing(void);
void main(void)
{
/* Initialize Clock System */
RCC_voidInitSysClock();
/* Enable GPIOA Clock */
RCC_voidEnableClock(RCC_APB2,2);
/* set pin from 0 to 7 as output_pp */
GPIO_voidSetPinDirection(GPIOA, PIN0, OUTPUT_SPEED_10MHZ_PP);
GPIO_voidSetPinDirection(GPIOA, PIN1, OUTPUT_SPEED_10MHZ_PP);
GPIO_voidSetPinDirection(GPIOA, PIN2, OUTPUT_SPEED_10MHZ_PP);
GPIO_voidSetPinDirection(GPIOA, PIN3, OUTPUT_SPEED_10MHZ_PP);
GPIO_voidSetPinDirection(GPIOA, PIN4, OUTPUT_SPEED_10MHZ_PP);
GPIO_voidSetPinDirection(GPIOA, PIN5, OUTPUT_SPEED_10MHZ_PP);
GPIO_voidSetPinDirection(GPIOA, PIN6, OUTPUT_SPEED_10MHZ_PP);
GPIO_voidSetPinDirection(GPIOA, PIN7, OUTPUT_SPEED_10MHZ_PP);
/* */
while(1)
{
for (uint8 y=0; y<16; y++)
{
if (y<4)
{
ping_pong();
}
else if (y<8)
{
fat7y_yawarda();
}
else
{
flashing();
}
}
}
}
void ping_pong(void)
{
for (uint8 i=0; i<16; i++)
{
if (i<8)
{
GPIO_voidSetPinValue(GPIOA, i, HIGH);
STK_voidDelay_ms(200);
GPIO_voidSetPinValue(GPIOA, i, LOW);
}
else if (i>=8)
{
GPIO_voidSetPinValue(GPIOA, (15-i), HIGH);
STK_voidDelay_ms(200);
GPIO_voidSetPinValue(GPIOA, (15-i), LOW);
}
}
}
void fat7y_yawarda(void)
{
for (uint8 z=0; z<2; z++)
{
if (z == 0)
{
for (uint8 i=0; i<=3; i++)
{
GPIO_voidSetPinValue(GPIOA, (3-i), HIGH);
GPIO_voidSetPinValue(GPIOA, (4+i), HIGH);
STK_voidDelay_ms(200);
}
}
else
{
for (uint8 i=0,x=7; i<=3,x>=4; i++,x--)
{
GPIO_voidSetPinValue(GPIOA, i, LOW);
GPIO_voidSetPinValue(GPIOA, x, LOW);
STK_voidDelay_ms(200);
}
}
}
}
void flashing(void)
{
for (uint8 z=0; z<=1; z++)
{
for (uint8 i=0; i<=7; i++)
{
GPIO_voidSetPinValue(GPIOA, i, 1-z);
}
STK_voidDelay_ms(500);
}
}
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/05-AFIO/AFIO_private.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 11 OCT 2020 */
/*********************************************************************************/
#ifndef AFIO_PRIVATE_H
#define AFIO_PRIVATE_H
/******************* Register Definition ***********************/
typedef struct
{
volatile uint32 EVCR;
volatile uint32 MAPR;
volatile uint32 EXTICR[4];
volatile uint32 MAPR2;
}AFIO_t;
/******************* BASE Address Definition *********************/
#define AFIO_BASE_ADDRESS 0x40010000 //define the boundary address of AFIO
#define AFIO ((volatile AFIO_t *) AFIO_BASE_ADDRESS)
#endif // AFIO_PRIVATE_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/04-EXTI/EXTI_program.c | <filename>02-MCAL/04-EXTI/EXTI_program.c
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 19 NOV 2021 */
/*********************************************************************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "EXTI_interface.h"
#include "EXTI_config.h"
#include "EXTI_private.h"
/* define Callback Global variable (pointer to function) */
static void (*EXTI_CallBack[16]) (void);
/************* Function OF Initialize EXTI **************************/
void EXTI_voidInit (uint8 Copy_u8EXTILine, uint8 Copy_u8EXTISenseMode)
{
switch(Copy_u8EXTISenseMode)
{
case RISING_EDGE : SET_BIT(EXTI -> RTSR, Copy_u8EXTILine); break;
case FALLING_EDGE : SET_BIT(EXTI -> FTSR, Copy_u8EXTILine); break;
case ON_CHANGE : SET_BIT(EXTI -> RTSR, Copy_u8EXTILine);
SET_BIT(EXTI -> FTSR, Copy_u8EXTILine); break;
default: break;
}
SET_BIT(EXTI->IMR , Copy_u8EXTILine);
}
/************* Function OF Enable EXTI ***************************/
void EXTI_voidEnableEXTI(uint8 Copy_u8EXTILine)
{
SET_BIT(EXTI->IMR , Copy_u8EXTILine);
}
/************* Function OF Disable EXTI **************************/
void EXTI_voidDisableEXTI(uint8 Copy_u8EXTILine)
{
CLR_BIT(EXTI->IMR , Copy_u8EXTILine);
}
/************* Function OF SoftWare Trigger **********************/
void EXTI_voidSoftWareTrigger(uint8 Copy_u8EXTILine)
{
SET_BIT(EXTI->SWIER , Copy_u8EXTILine);
}
/************* Function OF Set CallBack **********************/
void EXTI_voidSetCallBack (uint8 Copy_u8EXTILine,void (*ptr) (void))
{
EXTI_CallBack[Copy_u8EXTILine] = ptr;
}
/************* Function OF EXTIx_ISQHandler Interrupt **************************/
/* This is function call a EXTI_CallBack() function to do when interrupt */
void EXTI0_IRQHandler (void)
{
EXTI_CallBack[EXTI_LINE0]();
/* Clear pending Bit */
SET_BIT(EXTI->PR , EXTI_LINE0);
}
void EXTI1_IRQHandler (void)
{
EXTI_CallBack[EXTI_LINE1]();
/* Clear pending Bit */
SET_BIT(EXTI->PR , EXTI_LINE1);
}
void EXTI2_IRQHandler (void)
{
EXTI_CallBack[EXTI_LINE2]();
/* Clear pending Bit */
SET_BIT(EXTI->PR , EXTI_LINE2);
}
void EXTI3_IRQHandler (void)
{
EXTI_CallBack[EXTI_LINE3]();
/* Clear pending Bit */
SET_BIT(EXTI->PR , EXTI_LINE3);
}
void EXTI4_IRQHandler (void)
{
EXTI_CallBack[EXTI_LINE4]();
/* Clear pending Bit */
SET_BIT(EXTI->PR , EXTI_LINE4);
}
void EXTI9_5_IRQHandler (void)
{
uint8 Local_ExtiDetect=0;
for(uint8 local_i=EXTI_LINE5; local_i<=EXTI_LINE9; local_i++)
{
Local_ExtiDetect = GET_BIT(EXTI->PR,local_i);
if(Local_ExtiDetect == 1)
{
EXTI_CallBack[local_i]();
}
Local_ExtiDetect=0;
}
EXTI->PR |= 0x03E0; /* clear interrupt pending flag 5~9 */
}
void EXTI15_10_IRQHandler (void)
{
uint8 Local_ExtiDetect=0;
for(uint8 local_i=EXTI_LINE10; local_i<=EXTI_LINE15; local_i++)
{
Local_ExtiDetect = GET_BIT(EXTI->PR,local_i);
if(Local_ExtiDetect == 1)
{
EXTI_CallBack[local_i]();
}
Local_ExtiDetect=0;
}
EXTI->PR |= 0xFC00; /* clear interrupt pending flag 10~15 */
}
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/04-EXTI/EXTI_interface.h | <filename>02-MCAL/04-EXTI/EXTI_interface.h
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 19 NOV 2021 */
/*********************************************************************************/
#ifndef EXTI_INTERFACE_H
#define EXTI_INTERFACE_H
/******************* LINE Definition ***************************/
#define EXTI_LINE0 0
#define EXTI_LINE1 1
#define EXTI_LINE2 2
#define EXTI_LINE3 3
#define EXTI_LINE4 4
#define EXTI_LINE5 5
#define EXTI_LINE6 6
#define EXTI_LINE7 7
#define EXTI_LINE8 8
#define EXTI_LINE9 9
#define EXTI_LINE10 10
#define EXTI_LINE11 11
#define EXTI_LINE12 12
#define EXTI_LINE13 13
#define EXTI_LINE14 14
#define EXTI_LINE15 15
/******************* MODE Definition ***************************/
#define RISING_EDGE 0
#define FALLING_EDGE 1
#define ON_CHANGE 2
/*************** Function definition ******************/
void EXTI_voidInit (uint8 Copy_u8EXTILine, uint8 Copy_u8EXTISenseMode);
void EXTI_voidEnableEXTI (uint8 Copy_u8EXTILine);
void EXTI_voidDisableEXTI (uint8 Copy_u8EXTILine);
void EXTI_voidSoftWareTrigger (uint8 Copy_u8EXTILine);
void EXTI_voidSetCallBack (uint8 Copy_u8EXTILine, void (*ptr) (void));
#endif // EXTI_INTERFACE_H
|
Eslam-Abdo/STM32_ARM_drivers | 04-APP/01-LED_7-SEG_main/BLINK_main.c | <reponame>Eslam-Abdo/STM32_ARM_drivers<gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 23 SEP 2020 */
/*********************************************************************************/
/******************** BLINK ***********************************/
#include "STD_TYPEs.h"
#include "BIT_MATH.h"
#include "RCC_interface.h"
#define GPIOA_CRL *((uint32*)0x40010800)
#define GPIOA_ODR *((uint32*)0x4001080C)
void main(void)
{
/* Initialize clock system */
RCC_voidInitSysClock();
/* Enable GPIOA clock (Peripheral 2 on APB2 bus) */
RCC_voidEnableClock(RCC_APB2,2);
/* configure A0 as output push pull */
GPIOA_CRL = 0x00000002;
/* Set A0 output high */
GPIOA_ODR = 0x00000001;
while(1)
{
}
}
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/07-UART/UART_interface.h | <reponame>Eslam-Abdo/STM32_ARM_drivers
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 11 OCT 2020 */
/*********************************************************************************/
#ifndef UART_INTERFACE_H
#define UART_INTERFACE_H
/*************** Function definition ******************/
void printMsg_init(void );
void printMsg(uint8 *msg);
#endif // UART_INTERFACE_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/02-GPIO/GPIO_private.h | <gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 17 NOV 2021 */
/*********************************************************************************/
#ifndef GPIO_PRIVATE_H
#define GPIO_PRIVATE_H
typedef struct {
volatile uint32 CRL ;
volatile uint32 CRH ;
volatile uint32 IDR ;
volatile uint32 ODR ;
volatile uint32 BSRR ;
volatile uint32 BRR ;
volatile uint32 LCKR ;
}GPIO_t;
/******************* BASE Address Definition *********************/
#define GPIOA_Base_Address 0x40010800 //define the boundary address of GPIOA
#define GPIOB_Base_Address 0x40010C00 //define the boundary address of GPIOB
#define GPIOC_Base_Address 0x40011000 //define the boundary address of GPIOC
/*********** REGISTER ADDRESSES FOR GPIOx ***********************/
#define GPIO_A ( ( volatile GPIO_t* ) GPIOA_Base_Address )
#define GPIO_B ( ( volatile GPIO_t* ) GPIOB_Base_Address )
#define GPIO_C ( ( volatile GPIO_t* ) GPIOC_Base_Address )
#endif // GPIO_PRIVATE_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/01-RCC/RCC_program.c | <filename>02-MCAL/01-RCC/RCC_program.c<gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 17 NOV 2021 */
/*********************************************************************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "RCC_interface.h"
#include "RCC_private.h"
#include "RCC_config.h"
/*
* Initionlizie clock of micro-controller
*
*/
void RCC_voidInitSysClock(void)
{
#if RCC_CLOCK_TYPE == RCC_HSI
CLR_BIT(RCC->CFGR,0); /* HSI selected as system clock */
CLR_BIT(RCC->CFGR,1);
SET_BIT(RCC->CR, 0); /* Enable HSI + Trimming = 0 */
#elif RCC_CLOCK_TYPE == RCC_HSE_CRYSTAL
SET_BIT(RCC->CFGR,0); /* HSE selected as system clock */
CLR_BIT(RCC->CFGR,1);
CLR_BIT(RCC->CR, 18); /* Enable HSE with no bypass */
SET_BIT(RCC->CR, 16);
#elif RCC_CLOCK_TYPE == RCC_HSE_RC
SET_BIT(RCC->CFGR,0); /* HSE selected as system clock */
CLR_BIT(RCC->CFGR,1);
SET_BIT(RCC->CR, 18); /* Enable HSE with bypass */
SET_BIT(RCC->CR, 16);
#elif RCC_CLOCK_TYPE == RCC_PLL
/* PLL selected as system clock */
CLR_BIT(RCC->CFGR,0);
SET_BIT(RCC->CFGR,1);
/* PLL MUL FECTOR */
RCC->CFGR &= ~((0b1111) << 18); /* clear bits 18~21*/
RCC->CFGR |= (RCC_PLL_MUL_VAL) << 18; /* set pll multiplication factor*/
#if RCC_PLL_INPUT == RCC_PLL_IN_HSI_DIV_2
CLR_BIT(RCC->CFGR,0); /* HSI selected as system clock */
CLR_BIT(RCC->CFGR,1);
CLR_BIT(RCC->CFGR, 16); /* Enable HSI + Trimming = 0 + ENABLE PLL*/
#elif RCC_PLL_INPUT == RCC_PLL_IN_HSE_DIV_2
/* Enable HSE with no bypass */
SET_BIT(RCC->CR, 16);
/* HSE/2 selected */
SET_BIT(RCC->CFGR,16);
SET_BIT(RCC->CFGR,17);
#elif RCC_PLL_INPUT == RCC_PLL_IN_HSE
/* Enable HSE with no bypass */
SET_BIT(RCC->CR, 16);
/* HSE selected */
SET_BIT(RCC->CFGR,16);
CLR_BIT(RCC->CFGR,17);
#endif // RCC_PLL_INPUT
SET_BIT(RCC->CFGR,10); //divide APB1 clk by 2 for clk not to exceed 36MHZ
/* Enable PLL */
SET_BIT(RCC->CR, 24);
while(GET_BIT(RCC->CR,25)== 0){}
#else
#error("You chosed Wrong Clock type")
#endif
}
void RCC_voidEnableClock(uint8 Copy_u8BusId, uint8 Copy_u8PerId)
{
if (Copy_u8PerId <= 31)
{
switch (Copy_u8BusId)
{
case RCC_AHB : SET_BIT(RCC->AHBENR ,Copy_u8PerId); break;
case RCC_APB1 : SET_BIT(RCC->APB1ENR ,Copy_u8PerId); break;
case RCC_APB2 : SET_BIT(RCC->APB2ENR ,Copy_u8PerId); break;
//default : /* Return Error */ break;
}
}
else
{
/* Return Error */
}
}
void RCC_voidDisableClock(uint8 Copy_u8BusId, uint8 Copy_u8PerId)
{
if (Copy_u8PerId <= 31)
{
switch (Copy_u8BusId)
{
case RCC_AHB : CLR_BIT(RCC->AHBENR ,Copy_u8PerId); break;
case RCC_APB1 : CLR_BIT(RCC->APB1ENR ,Copy_u8PerId); break;
case RCC_APB2 : CLR_BIT(RCC->APB2ENR ,Copy_u8PerId); break;
//default : /* Return Error */ break;
}
}
else
{
/* Return Error */
}
}
|
Eslam-Abdo/STM32_ARM_drivers | 04-APP/01-LED_7-SEG_main/LED_BLINK_main.c | <gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 25 SEP 2020 */
/*********************************************************************************/
/******************** BLINK ***********************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "RCC_interface.h"
#include "GPIO_interface.h"
#include "LED_interface.h"
#define delay for (int i=0; i<=500000; i++)
int main(void)
{
/* Initialize Clock System */
RCC_voidInitSysClock();
/* Enable GPIOC Clock */
RCC_voidEnableClock(RCC_APB2,4);
/* led on stm board */
GPIO_voidSetPinDirection(GPIOC, PIN13, OUTPUT_SPEED_10MHZ_PP);
while(1)
{
LED_voidLed_Toggle(GPIOC, PIN13);
delay;
}
return 0;
}
|
Eslam-Abdo/STM32_ARM_drivers | 04-APP/01-LED_7-SEG_main/LED&7-SEG_main.c | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 5 OCT 2020 */
/*********************************************************************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "RCC_interface.h"
#include "GPIO_interface.h"
#include "7_SEG_interface.h"
#include "LED_interface.h"
#define delays for (int i=0; i<=100; i++) // for deposing in button
#define delay for (int i=0; i<=500000; i++)
int main(void)
{
/* Initialize Clock System */
RCC_voidInitSysClock();
/* Enable GPIOA Clock */
RCC_voidEnableClock(RCC_APB2,2);
/* Enable GPIOB Clock */
RCC_voidEnableClock(RCC_APB2,3);
/* Enable GPIOC Clock */
RCC_voidEnableClock(RCC_APB2,4);
/* PIN0 PORT-B INPUT PULL UP */
GPIO_voidSetPinDirection(GPIOB, PIN0, INPUT_PULL_UP_DOWN);
GPIO_voidSetPinPull(GPIOB, PIN0, PULL_UP);
/* led on stm board */
GPIO_voidSetPinDirection(GPIOC, PIN13, OUTPUT_SPEED_10MHZ_PP);
/* 7-segmant initialize pins */
_7_SEG_voidInit(GPIOA);
uint8 NumDisplay = 0,flag = 0, ButtonValue;
/* display 0 on 7-SEG */
_7_SEG_voidDisplay(GPIOA,NumDisplay);
while(1)
{
ButtonValue = GPIO_u8GetPinValue(GPIOB,PIN0); // get value
if ((ButtonValue == 0) && (flag == 0))
{ // deposing
delays;
if ((ButtonValue == 0) && (flag == 0))
{
NumDisplay ++;
if(NumDisplay >= 10)
{
NumDisplay = 0;
}
_7_SEG_voidDisplay(GPIOA,NumDisplay);
flag = 1;
}
}
else if ((ButtonValue == 1) && (flag == 1))
{
LED_voidLed_Toggle(GPIOC, PIN13);
flag = 0;
}
}
return 0;
}
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/03-NVIC/NVIC_private.h | <reponame>Eslam-Abdo/STM32_ARM_drivers<filename>02-MCAL/03-NVIC/NVIC_private.h
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 19 NOV 2021 */
/*********************************************************************************/
#ifndef NVIC_PRIVATE_H
#define NVIC_PRIVATE_H
/******************* Register Definition ***********************/
typedef struct
{
/* Enable External interrupts from 0 to 31 & from 32 to 63 */
volatile uint32 ISER[2]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
volatile uint32 RESERVED0[30];
volatile uint32 ICER[2]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register */
volatile uint32 RSERVED1[30];
volatile uint32 ISPR[2]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register */
volatile uint32 RESERVED2[30];
volatile uint32 ICPR[2]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register */
volatile uint32 RESERVED3[30];
volatile uint32 IABR[2]; /*!< Offset: 0x200 (R/W) Interrupt Active bit Register */
volatile uint32 RESERVED4[62];
volatile uint8 IP[60]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register (8Bit wide) */
volatile uint32 RESERVED5[689];
volatile uint32 STIR; /*!< Offset: 0xE00 ( /W) Software Trigger Interrupt Register */
}NVIC_t;
/* System control block (SCB) */
typedef struct
{
volatile uint32 CPUID;
volatile uint32 ICSR;
volatile uint32 VTOR;
volatile uint32 AIRCR;
volatile uint32 SCR;
volatile uint32 CCR;
volatile uint32 SHPR1;
volatile uint32 SHPR2;
volatile uint32 SHPR3;
volatile uint32 SHCSR;
volatile uint32 CFSR;
volatile uint32 HFSR;
volatile uint32 RESERVED;
volatile uint32 MMFAR;
volatile uint32 BFAR; /*!< Offset: 0xE00 ( /W) Software Trigger Interrupt Register */
}SCB_t;
/******************* BASE Address Definition *********************/
#define NVIC_Base_Address 0xE000E100 //define the boundary address of NVIC
#define SCB_Base_Address 0xE000ED00 //define the boundary address of SCB
#define NVIC ( ( volatile NVIC_t* ) NVIC_Base_Address )
#define SCB ( ( volatile SCB_t* ) SCB_Base_Address )
#endif // NVIC_PRIVATE_H
|
Eslam-Abdo/STM32_ARM_drivers | 01-LIB/01-STD_TYPES/STD_TYPES.h | <gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 26 AUG 2021 */
/*********************************************************************************/
#ifndef STD_TYPES_H
#define STD_TYPES_H
/* Boolean Data Type */
typedef unsigned char Bool;
/* Boolean Values */
#define FALSE (0u)
#define TRUE (1u)
#define HIGH (1u)
#define LOW (0u)
typedef unsigned char uint8 ;
typedef unsigned short uint16;
typedef unsigned long uint32;
typedef unsigned long long uint64;
typedef signed char sint8 ;
typedef signed short sint16;
typedef signed long sint32;
typedef signed long long sint64;
typedef float float32;
typedef double float64;
/**********************************************/
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
typedef unsigned long long u64;
typedef signed char s8;
typedef signed short s16;
typedef signed long s32;
typedef signed long long s64;
typedef float f32;
typedef double f64;
/* for compiler use weak in can driver*/
#ifndef __weak
#define __weak __attribute__((weak))
#endif
#endif // STD_TYPES_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/07-UART/UART_program.c | <gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 17 Jan 2021 */
/*********************************************************************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "UART_interface.h"
#include "UART_config.h"
#include "UART_private.h"
#include "RCC_interface.h"
#include "GPIO_interface.h"
void printMsg_init(void )
{
/* AFIO Enable RCC */
RCC_voidEnableClock(RCC_APB2,0);
/* GPIOA Enable RCC */
RCC_voidEnableClock(RCC_APB2,2);
/* UASRT Enable RCC */
RCC_voidEnableClock(RCC_APB2,14);
/* PA9 : USART1_TX */
/* PA10 : USART1_RX */
/* pin configurations:
PA9- TX is set to OUTPUT ALternate-push-pull and 50MHz
PA10- RX is set to INPUT Floating (defult state)*/
GPIO_voidSetPinDirection(GPIOA, PIN9, OUTPUT_SPEED_50MHZ_AFPP);
//GPIO_voidSetPinDirection(GPIOA, PIN10, INPUT_FLOATING);
/* set BAUDRATEvalue */
UART->BRR = BAUDRATE;
/* UART enable */
SET_BIT(UART->CR1,13);
/* TX enable */
SET_BIT(UART->CR1,3);
/* RX enable */
//SET_BIT(UART->CR1,2);
}
void printMsg(uint8 *msg)
{
u8 LOC_u8Iterator = 0;
while(msg[LOC_u8Iterator] != '\0')
{
UART->DR = msg[LOC_u8Iterator];
while( GET_BIT(UART->SR,6) == 0);
CLR_BIT(UART->SR,6);
LOC_u8Iterator++;
}
}
|
Eslam-Abdo/STM32_ARM_drivers | 03-HAL/01-LED_SWITCH/LED_interface.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 25 SEP 2020 */
/*********************************************************************************/
#ifndef LED_INTERFACE_H
#define LED_INTERFACE_H
/*************** Function definition ******************/
void LED_voidLed_ON (uint8 Copy_u8Port, uint8 Copy_u8Pin);
void LED_voidLed_OFF (uint8 Copy_u8Port, uint8 Copy_u8Pin);
void LED_voidLed_Toggle (uint8 Copy_u8Port, uint8 Copy_u8Pin);
#endif // LED_INTERFACE_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/09-I2C/I2C_config.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 7 JUN 2021 */
/*********************************************************************************/
#ifndef I2C_CONFIG_H
#define I2C_CONFIG_H
/****************
* ADDRESSING:
* I2C_ADDRMODE_7BIT
* I2C_ADDRMODE_10BIT
*
**************/
#define I2C1_ADDRESSING I2C_ADDRMODE_7BIT
#define I2C2_ADDRESSING I2C_ADDRMODE_7BIT
#endif /* I2C_CONFIG_H */
|
Eslam-Abdo/STM32_ARM_drivers | 04-APP/03-I2C_tx_rx/I2C_tx_rx_example.c | <gh_stars>1-10
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "GPIO_interface.h"
#include "RCC_interface.h"
#include "USART_INTERFACE.h"
#include "STK_interface.h"
#include "AFIO_interface.h"
#include "NVIC_interface.h"
#include "I2C_interface.h"
#define MASTER_EN
#define SLAVE_ADDRESS 0x40
#define MASTER_ADDRESS 0x30
#define clockspped 400000
u8 receive_data[20];
void rcc_init(void);
int main(void)
{
rcc_init();
USART_voidInit(UART3,9600);
GPIO_voidSetPinDirection(GPIOC,13,OUTPUT_SPEED_50MHZ_PP);
#ifdef MASTER_EN
u8 send_data []= "LASHEEN";
I2C_init(MI2C1,clockspped,MASTER_ADDRESS);
#else
u8 send_data[20] ="<NAME>#";
I2C_init(MI2C1,clockspped,SLAVE_ADDRESS);
#endif
GPIO_voidSetPinValue(GPIOC,13,LOW);
while(1)
{
#ifdef MASTER_EN
I2C_master_rx(MI2C1,SLAVE_ADDRESS,receive_data,11);
STK_voidDelay_ms(100);
I2C_master_tx(MI2C1,SLAVE_ADDRESS,send_data,7);
I2C_generate_stop_condition(MI2C1);
#if 1
USART_voidTransmit(UART3,"master send: ",STRING);
USART_voidTransmit(UART3,send_data,STRING);
USART_voidTransmit(UART3,"\n",STRING);
#endif
#if 1
USART_voidTransmit(UART3,"Master receive: ",STRING);
USART_voidTransmit(UART3,receive_data,STRING);
USART_voidTransmit(UART3,"\n",STRING);
#endif
#else
I2C_slave_tx(MI2C1,send_data,11);
I2C_slave_rx(MI2C1,receive_data,7);
//STK_voidDelay_ms(1000);
I2C_slave_Check_StopBit(MI2C1);
#if 1
USART_voidTransmit(UART3,"slave receive: ",STRING);
USART_voidTransmit(UART3,receive_data,STRING);
USART_voidTransmit(UART3,"\n",STRING);
#endif
#if 1
USART_voidTransmit(UART3,"slave send: ",STRING);
USART_voidTransmit(UART3,send_data,STRING);
USART_voidTransmit(UART3,"\n",STRING);
#endif
#endif
STK_voidDelay_ms(1000);
GPIO_voidSetPinValue(GPIOC,13,HIGH);
STK_voidDelay_ms(1000);
GPIO_voidSetPinValue(GPIOC,13,LOW);
}
}
void rcc_init(void)
{
/* first we will operate on the pll mode in rcc with internal clock 8mhz*/
/* INITIALIZE THE SYSTEM CLOCK TO BE 72 MHZ BY CHOOSING AN EXTERNAL CLOCK 16MHZ AND CHOOSE HSE/2
AND THE MULTIPLIED NUMBER IN PLL IS 9 TO GET THE 72MHZ */
RCC_voidInitSysClock();
RCC_voidEnableClock(RCC_APB2,APB2_AFIO_EN);/*ENABLE AFIO AS IO PINS*/
RCC_voidEnableClock(RCC_APB2,APB2_GPIOA_EN);/*ENABLE PORTA AS IO PINS*/
RCC_voidEnableClock(RCC_APB2,APB2_GPIOB_EN);/*ENABLE PORTB AS IO PINS*/
RCC_voidEnableClock(RCC_APB2,APB2_GPIOC_EN);/*ENABLE PORTC AS IO PINS*/
RCC_voidEnableClock(RCC_APB1,APB1_USART3_EN);/*ENABLE USART3 */
RCC_voidEnableClock(RCC_APB1,APB1_I2C1_EN);/*ENABLE I2C1 */
} |
Eslam-Abdo/STM32_ARM_drivers | 03-HAL/02-7_SEG/7_SEG_private.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 25 SEP 2020 */
/*********************************************************************************/
#ifndef _7_SEG_PRIVATE_H
#define _7_SEG_PRIVATE_H
/*************** check of 7-SEG type (Common Type) *******************/
#if CommonType == COMMON_CATHODE
#define SEVEN_SEG_HIGH HIGH
#define SEVEN_SEG_LOW LOW
#elif CommonType == COMMON_ANODE
#define SEVEN_SEG_HIGH LOW
#define SEVEN_SEG_LOW HIGH
#endif
#endif // _7_SEG_PRIVATE_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/09-I2C/I2C_interface.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 7 JUN 2021 */
/*********************************************************************************/
#ifndef I2C_INTERFACE_H
#define I2C_INTERFACE_H
#define MI2C1 1
#define MI2C2 2
#define STD_MODE 2
#define FAST_MODE 3
/******************************************************************************/
/* */
/* I2C */
/* Register Bit Defininitions */
/******************************************************************************/
/******************* Bit definition for I2C_CR1 register ********************/
#define I2C_REG_CR1_POS 11
#define I2C_REG_CR1_ACK 10
#define I2C_ACK_ENABLE 1
#define I2C_ACK_DISABLE 0
#define I2C_REG_CR1_STOP_GEN 9
#define I2C_REG_CR1_START_GEN 8
#define I2C_REG_CR1_NOSTRETCH 7
#define I2C_ENABLE_CLK_STRETCH 0
#define I2C_DISABLE_CLK_STRETCH 1
#define I2C_REG_CR1_ENABLE_I2C 0
/******************* Bit definition for I2C_CR2 register ********************/
#define I2C_REG_CR2_BUF_INT_ENABLE 10
#define I2C_REG_CR2_EVT_INT_ENABLE 9
#define I2C_REG_CR2_ERR_INT_ENABLE 8
#define I2C_PERIPHERAL_CLK_FREQ_36MHZ ((u32)36 )
/******************* Bit definition for I2C_OAR1 register ********************/
#define I2C_REG_OAR1_ADDRMODE 15
#define I2C_ADDRMODE_7BIT 0
#define I2C_ADDRMODE_10BI 1
/******************* Bit definition for I2C_SR1 register ********************/
#define I2C_REG_SR1_TIMEOUT_FLAG 14
#define I2C_REG_SR1_OVR_FLAG 11
#define I2C_REG_SR1_AF_FAILURE_FLAG 10
#define I2C_REG_SR1_ARLO_FLAG 9
#define I2C_REG_SR1_BUS_ERROR_FLAG 8
#define I2C_REG_SR1_TXE_FLAG 7
#define I2C_REG_SR1_RXNE_FLAG 6
#define I2C_REG_SR1_STOP_DETECTION_FLAG 4 /* for slave */
#define I2C_REG_SR1_BTF_FLAG 2
#define I2C_REG_SR1_ADDR_FLAG 1
#define I2C_REG_SR1_ADDR_SENT_FLAG 1 //For master
#define I2C_REG_SR1_ADDR_MATCHED_FLAG 1 //For SLAVE
#define I2C_REG_SR1_SB_FLAG 0
/******************* Bit definition for I2C_SR2 register ********************/
#define I2C_REG_SR2_BUS_BUSY_FLAG 1
#define I2C_BUS_IS_BUSY 1
#define I2C_BUS_IS_FREE 0
#define I2C_REG_SR2_MSL_FLAG 0
#define I2C_MASTER_MODE 1
#define I2C_SLAVE_MODE 0
#define I2C_REG_SR2_TRA_FLAG 2
#define I2C_RX_MODE 0
#define I2C_TX_MODE 1
/******************* Bit definition for I2C_CCR register ********************/
#define I2C_REG_CCR_ENABLE_FM 15
#define I2C_ENABLE_SM 0
#define I2C_ENABLE_FM 1
#define I2C_REG_CCR_DUTY 14
#define I2C_FM_DUTY_16BY9 1
#define I2C_FM_DUTY_2 0
/******************* Bit definition for I2C_DR register ********************/
#define I2C_ADDREES_READ 1
#define I2C_ADDREES_WRITE 0
/******************************************************************************/
/* */
/* Driver exposed APIs */
/* */
/******************************************************************************/
void I2C_generate_start_condition(u8 I2C_Type);
void I2C_generate_stop_condition(u8 I2C_Type);
void I2C_init(u8 I2C_Type,u32 I2C_CLOCK, u16 OwnAddress1);
void I2C_master_tx(u8 I2C_Type,u8 address,u8* data,u8 len);
void I2C_master_rx(u8 I2C_Type, u16 address, u8 *pData, u8 len);
void I2C_slave_tx(u8 I2C_Type,u8* data,u8 len);
void I2C_slave_rx(u8 I2C_Type,u8* buff, u8 len);
void I2C_slave_Check_StopBit(u8 I2C_Type);
/******************************************************************************/
/* */
/* static function */
/* */
/******************************************************************************/
static void I2C_enable_peripheral(void);
static void I2C_disable_peripheral(void);
static void I2C_rest_peripheral(void);
static void I2C_set_addressing_mode( u32 adr_mode);
static void I2C_set_own_address1( u32 own_address);
static void I2C_send_addr_first( u8 address, u8 addr_type);
static void I2C_manage_clock_stretch( u32 no_stretch);
static void I2C_configure_ccr( u32 pclk, u32 clkspeed, u32 duty_cycle);
static void I2C_rise_time_configuration(u32 pclk, u32 ClockSpeed);
static void I2C_set_clk_mode(u8 I2C_Mode);
static void I2C_set_fm_mode_duty_cycle(u32 duty_cycle);
static void I2C_clk_init ( u32 clkspeed, u32 duty_cycle);
static void I2C_manage_ack( u32 ack_noack);
static u8 is_bus_busy(void);
static u8 i2c_wait_untill_sb_set(void);
static u8 i2c_wait_untill_addr_set(void);
static void clear_addr_flag(void);
static void clear_stop_flag(void);
#endif /* I2C_INTERFACE_H */
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/02-GPIO/GPIO_program.c | <reponame>Eslam-Abdo/STM32_ARM_drivers
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 17 NOV 2021 */
/*********************************************************************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "GPIO_interface.h"
#include "GPIO_private.h"
#include "GPIO_config.h"
/************* Function OF Set Pin Direction *************************/
void GPIO_voidSetPinDirection (uint8 Copy_u8Port, uint8 Copy_u8Pin, uint8 Copy_u8Mode)
{
switch (Copy_u8Port)
{
/*** PORT A ***/
case GPIOA:
if (Copy_u8Pin <= 7)
{//LOW
GPIO_A->CRL &= ~((0b1111) << (Copy_u8Pin * 4));
GPIO_A->CRL |= ((Copy_u8Mode) << (Copy_u8Pin * 4));
}
else if (Copy_u8Pin <= 15)
{//HIGH
GPIO_A->CRH &= ~((0b1111) << ((Copy_u8Pin - 8) * 4));
GPIO_A->CRH |= ((Copy_u8Mode) << ((Copy_u8Pin - 8) * 4));
}
break;
/*** PORT B ***/
case GPIOB:
if (Copy_u8Pin <= 7)
{//LOW
GPIO_B->CRL &= ~((0b1111) << (Copy_u8Pin * 4));
GPIO_B->CRL |= ((Copy_u8Mode) << (Copy_u8Pin * 4));
}
else if (Copy_u8Pin <= 15)
{//HIGH
GPIO_B->CRH &= ~((0b1111) << ((Copy_u8Pin - 8) * 4));
GPIO_B->CRH |= ((Copy_u8Mode) << ((Copy_u8Pin - 8) * 4));
}
break;
/*** PORT C ***/
case GPIOC:
if (Copy_u8Pin <= 7)
{//LOW
GPIO_C->CRL &= ~((0b1111) << (Copy_u8Pin * 4));
GPIO_C->CRL |= ((Copy_u8Mode) << (Copy_u8Pin * 4));
}
else if (Copy_u8Pin <= 15)
{//HIGH
GPIO_C->CRH &= ~((0b1111) << ((Copy_u8Pin - 8) * 4));
GPIO_C->CRH |= ((Copy_u8Mode) << ((Copy_u8Pin - 8) * 4));
}
break;
default: break;
}
}
/************* Function OF Set Pin Value *************************/
/***************** Options of Copy_u8Value:
HIGH
LOW ******************/
void GPIO_voidSetPinValue (uint8 Copy_u8Port, uint8 Copy_u8Pin, uint8 Copy_u8Value)
{
switch (Copy_u8Port)
{
/*** PORT A ***/
case GPIOA:
if (Copy_u8Value == HIGH)
{
SET_BIT (GPIO_A->BSRR, Copy_u8Pin);
}
else if (Copy_u8Value == LOW)
{
SET_BIT (GPIO_A->BRR, Copy_u8Pin);
}
break;
/*** PORT B ***/
case GPIOB:
if (Copy_u8Value == HIGH)
{
SET_BIT (GPIO_B->BSRR, Copy_u8Pin);
}
else if (Copy_u8Value == LOW)
{
SET_BIT (GPIO_B->BRR, Copy_u8Pin);
}
break;
/*** PORT C ***/
case GPIOC:
if (Copy_u8Value == HIGH)
{
SET_BIT (GPIO_C->BSRR, Copy_u8Pin);
}
else if (Copy_u8Value == LOW)
{
SET_BIT (GPIO_C->BRR, Copy_u8Pin);
}
break;
default : break;
}
}
/************* Function OF Get Pin Value *************************/
uint8 GPIO_u8GetPinValue (uint8 Copy_u8Port, uint8 Copy_u8Pin)
{
uint8 LOC_u8Result = 0;
switch (Copy_u8Port)
{
/*** PORT A ***/
case GPIOA:
LOC_u8Result = GET_BIT (GPIO_A->IDR, Copy_u8Pin);
break;
/*** PORT B ***/
case GPIOB:
LOC_u8Result = GET_BIT (GPIO_B->IDR, Copy_u8Pin);
break;
/*** PORT C ***/
case GPIOC:
LOC_u8Result = GET_BIT (GPIO_C->IDR, Copy_u8Pin);
break;
default : break;
}
return LOC_u8Result;
}
/************* Function OF Toggle Pin Value **********************/
void GPIO_voidTogglePinValue (uint8 Copy_u8Port, uint8 Copy_u8Pin)
{
switch (Copy_u8Port)
{
/*** PORT A ***/
case GPIOA:
TOG_BIT(GPIO_A->ODR,Copy_u8Pin);
break;
/*** PORT B ***/
case GPIOB:
TOG_BIT(GPIO_B->ODR,Copy_u8Pin);
break;
/*** PORT C ***/
case GPIOC:
TOG_BIT(GPIO_C->ODR,Copy_u8Pin);
break;
default : break;
}
}
/************* Function OF Set Pin PULL *************************/
/***************** Options of Copy_u8Pull:
PULL_UP
PULL_DOWN ***************/
void GPIO_voidSetPinPull (uint8 Copy_u8Port, uint8 Copy_u8Pin, uint8 Copy_u8Pull)
{
switch (Copy_u8Port)
{
/*** PORT A ***/
case GPIOA:
if (Copy_u8Pull == PULL_UP)
{
SET_BIT (GPIO_A->ODR, Copy_u8Pin);
}
else if (Copy_u8Pull == PULL_DOWN)
{
CLR_BIT (GPIO_A->ODR, Copy_u8Pin);
}
break;
/*** PORT B ***/
case GPIOB:
if (Copy_u8Pull == PULL_UP)
{
SET_BIT (GPIO_B->ODR, Copy_u8Pin);
}
else if (Copy_u8Pull == PULL_DOWN)
{
CLR_BIT (GPIO_B->ODR, Copy_u8Pin);
}
break;
/*** PORT C ***/
case GPIOC:
if (Copy_u8Pull == PULL_UP)
{
SET_BIT (GPIO_C->ODR, Copy_u8Pin);
}
else if (Copy_u8Pull == PULL_DOWN)
{
CLR_BIT (GPIO_C->ODR, Copy_u8Pin);
}
break;
default : break;
}
}
|
Eslam-Abdo/STM32_ARM_drivers | 03-HAL/02-7_SEG/7_SEG_config.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 25 SEP 2020 */
/*********************************************************************************/
#ifndef _7_SEG_CONFIG_H
#define _7_SEG_CONFIG_H
/*************** PIN definition *******************/
/********** OPTIONS: SET PIN YOU USED *******************/
#define SEVEN_SEG_PIN0 0
#define SEVEN_SEG_PIN1 1
#define SEVEN_SEG_PIN2 2
#define SEVEN_SEG_PIN3 3
#define SEVEN_SEG_PIN4 4
#define SEVEN_SEG_PIN5 5
#define SEVEN_SEG_PIN6 6
/*************** Common Type definition *******************/
/********** OPTIONS: Change CommonType as 7-SEG type
* CommonType OPTIONS : COMMON_CATHODE
* COMMON_ANODE
* *******************/
#define CommonType COMMON_CATHODE
//#define CommonType COMMON_ANODE
#endif // _7_SEG_CONFIG_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/07-UART/UART_private.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 11 OCT 2020 */
/*********************************************************************************/
#ifndef UART_PRIVATE_H
#define UART_PRIVATE_H
/******************* Register Definition ***********************/
typedef struct
{
volatile u32 SR;
volatile u32 DR;
volatile u32 BRR;
volatile u32 CR1;
volatile u32 CR2;
volatile u32 CR3;
volatile u32 GTPR;
}UART_t;
#define UART ((volatile UART_t *) 0x40010000)
/*********************** USART BAUDRATE **************************/
#define UART1_BAUDRATE_9600 0x1D4C //for 72MHZ on APB2 bus
#define UART1_BAUDRATE_115200 0x271 //for 72MHZ on APB2 bus
#endif // UART_PRIVATE_H
|
Eslam-Abdo/STM32_ARM_drivers | 04-APP/02-CAN_ex/Example1.c | <gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 1 FEB 2021 */
/*********************************************************************************/
/******************** CAN ***********************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "RCC_interface.h"
#include "GPIO_interface.h"
#include "USART_INTERFACE.h"
#include "CAN_interface.h"
#include "NVIC_interface.h"
#include "STK_interface.h"
void CAN_TX(void)
{
CAN_TxHeaderTypeDef tx_header;
tx_header.StdId = 0x65d;
tx_header.IDE = CAN_ID_STD;
tx_header.RTR = CAN_RTR_DATA;
tx_header.DLC = 8;
tx_header.TransmitGlobalTime=DISABLE;
uint8 DATA[5] = {'h','e','l','l','o'};
CAN_TxHeaderTypeDef tx_header1;
tx_header1.StdId = 0x65F;
tx_header1.IDE = CAN_ID_STD;
tx_header1.RTR = CAN_RTR_DATA;
tx_header1.DLC = 8;
uint8 DATA1[5] = {'O','M','A','R'};
CAN_voidAddTxMsg(&tx_header,DATA);
CAN_voidAddTxMsg(&tx_header1,DATA1);
}
void CAN_RX(void)
{
CAN_RxHeaderTypeDef Rx_header;
//while(CAN_voidRXPending(CAN_RX_FIFO0) == 0);
uint8 DATA[5];
CAN_voidGetRxMsg(CAN_RX_FIFO0,&Rx_header,DATA);
USART_voidTransmit(UART1,DATA,STRING);
USART_voidTransmit(UART1,"\n",STRING);;
}
uint16 Std_id_High(uint16 local_u16Std_Id)
{
return (local_u16Std_Id << 5);
}
void CAN_FilterConfig(void)
{
CAN_FilterTypeDef CAN_FilterInit;
CAN_FilterInit.FilterActivation = ENABLE;
CAN_FilterInit.FilterBank = 0;
CAN_FilterInit.FilterFIFOAssignment = CAN_FILTER_FIFO0;
CAN_FilterInit.FilterIdHigh = Std_id_High(0x65d);
CAN_FilterInit.FilterIdLow = 0x0000;
CAN_FilterInit.FilterMaskIdHigh = 0x0000;
CAN_FilterInit.FilterMaskIdLow = 0x0000;
CAN_FilterInit.FilterMode = CAN_FILTERMODE_IDMASK;
CAN_FilterInit.FilterScale = CAN_FILTERSCALE_32BIT;
CAN_voidConfigFilter(&CAN_FilterInit);
}
void CAN_Interrupt(void)
{
CAN_voidInitInterput(CAN_TX_IRQn);
CAN_voidInitInterput(CAN_RX0_IRQn);
CAN_voidInitInterput(CAN_RX1_IRQn);
CAN_voidInitInterput(CAN_SCE_IRQn);
CAN_voidEnableInterrupt(CAN_IER_TX_MAILBOX_EMPTY | CAN_IER_RX_FIFO0_MSG_PENDING | CAN_IER_ERROR | CAN_IER_LAST_ERROR_CODE | CAN_IER_BUSOFF);
}
void CAN_TxMailbox0CompleteCallback()
{
/* print MSG on UART1 */
char MSG[50] = " MSG TRANSMITED m0 \n";
USART_voidTransmit(UART1,MSG,STRING);
//NVIC_voidSetPendingFlag(CAN_TX_IRQn);
}
void CAN_RxFifo0MsgPendingCallback()
{
CAN_RX();
//NVIC_voidSetPendingFlag(CAN_RX0_IRQn);
}
void CAN_ErrorCallback()
{
/* print MSG on UART1 */
char MSG[50] = "Error Code \n";
u32 x= CAN_voidGetErrorCode();
USART_voidTransmit(UART1,&x,INT);
USART_voidTransmit(UART1,"\n",STRING);
}
int main()
{
/* Rcc init */
RCC_voidInitSysClock();
/* UART1 init */
RCC_voidEnableClock(RCC_APB2,14);
RCC_voidEnableClock(RCC_APB2,2);
USART_voidInit(UART1,9600);
/* CAN init */
CAN_voidInit();
/* CAN Filter set */
CAN_FilterConfig();
CAN_Interrupt();
/* CAN Start */
CAN_voidStart();
while(1)
{
/* CAN send Tx */
CAN_TX();
//CAN_RX();
STK_voidDelay_ms(1000);
}
return 0;
}
|
Eslam-Abdo/STM32_ARM_drivers | 03-HAL/01-LED_SWITCH/LED_program.c | <reponame>Eslam-Abdo/STM32_ARM_drivers<filename>03-HAL/01-LED_SWITCH/LED_program.c
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 25 SEP 2020 */
/*********************************************************************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "GPIO_interface.h"
#include "LED_interface.h"
#include "LED_config.h"
#include "LED_private.h"
/******************* TURN LED ON *****************/
void LED_voidLed_ON (uint8 Copy_u8Port, uint8 Copy_u8Pin)
{
GPIO_voidSetPinValue (Copy_u8Port, Copy_u8Pin, HIGH);
}
/******************* TURN LED OFF *****************/
void LED_voidLed_OFF (uint8 Copy_u8Port, uint8 Copy_u8Pin)
{
GPIO_voidSetPinValue (Copy_u8Port, Copy_u8Pin, LOW);
}
/******************* TOGGELE LED *****************/
void LED_voidLed_Toggle (uint8 Copy_u8Port, uint8 Copy_u8Pin)
{
GPIO_voidTogglePinValue (Copy_u8Port, Copy_u8Pin);
}
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/03-NVIC/NVIC_interface.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 19 NOV 2021 */
/*********************************************************************************/
#ifndef NVIC_INTERFACE_H
#define NVIC_INTERFACE_H
/******************* Groups & SUB Definition ***********************/
/* splits the NVIC_PRI_n fields in the Interrupt Priority Registers into separate group priority and subpriority fields.*/
#define GROUP3 0x05FA0300 /*0 bit for sub & 4 bit For group << 0 */
#define GROUP4 0x05FA0400 /*1 bit for sub & 3 bit For group << 1 */
#define GROUP5 0x05FA0500 /*2 bit for sub & 2 bit For group << 2 */
#define GROUP6 0x05FA0600 /*3 bit for sub & 1 bit For group << 3 */
#define GROUP7 0x05FA0700 /*4 bit for sub & 0 bit For group << 4 */
/******************* Interrupt Number Definition = Position In Vector Table ***********************/
typedef enum
{
/****** STM32 specific Interrupt Numbers *********************************************************/
WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */
PVD_IRQn = 1, /*!< PVD through EXTI Line detection Interrupt */
TAMPER_IRQn = 2, /*!< Tamper Interrupt */
RTC_IRQn = 3, /*!< RTC global Interrupt */
FLASH_IRQn = 4, /*!< FLASH global Interrupt */
RCC_IRQn = 5, /*!< RCC global Interrupt */
EXTI0_IRQn = 6, /*!< EXTI Line0 Interrupt */
EXTI1_IRQn = 7, /*!< EXTI Line1 Interrupt */
EXTI2_IRQn = 8, /*!< EXTI Line2 Interrupt */
EXTI3_IRQn = 9, /*!< EXTI Line3 Interrupt */
EXTI4_IRQn = 10, /*!< EXTI Line4 Interrupt */
DMA1_Channel1_IRQn = 11, /*!< DMA1 Channel 1 global Interrupt */
DMA1_Channel2_IRQn = 12, /*!< DMA1 Channel 2 global Interrupt */
DMA1_Channel3_IRQn = 13, /*!< DMA1 Channel 3 global Interrupt */
DMA1_Channel4_IRQn = 14, /*!< DMA1 Channel 4 global Interrupt */
DMA1_Channel5_IRQn = 15, /*!< DMA1 Channel 5 global Interrupt */
DMA1_Channel6_IRQn = 16, /*!< DMA1 Channel 6 global Interrupt */
DMA1_Channel7_IRQn = 17, /*!< DMA1 Channel 7 global Interrupt */
ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */
USB_HP_CAN1_TX_IRQn = 19, /*!< USB Device High Priority or CAN1 TX Interrupts */
USB_LP_CAN1_RX0_IRQn = 20, /*!< USB Device Low Priority or CAN1 RX0 Interrupts */
CAN1_RX1_IRQn = 21, /*!< CAN1 RX1 Interrupt */
CAN1_SCE_IRQn = 22, /*!< CAN1 SCE Interrupt */
EXTI9_5_IRQn = 23, /*!< External Line[9:5] Interrupts */
TIM1_BRK_IRQn = 24, /*!< TIM1 Break Interrupt */
TIM1_UP_IRQn = 25, /*!< TIM1 Update Interrupt */
TIM1_TRG_COM_IRQn = 26, /*!< TIM1 Trigger and Commutation Interrupt */
TIM1_CC_IRQn = 27, /*!< TIM1 Capture Compare Interrupt */
TIM2_IRQn = 28, /*!< TIM2 global Interrupt */
TIM3_IRQn = 29, /*!< TIM3 global Interrupt */
TIM4_IRQn = 30, /*!< TIM4 global Interrupt */
I2C1_EV_IRQn = 31, /*!< I2C1 Event Interrupt */
I2C1_ER_IRQn = 32, /*!< I2C1 Error Interrupt */
I2C2_EV_IRQn = 33, /*!< I2C2 Event Interrupt */
I2C2_ER_IRQn = 34, /*!< I2C2 Error Interrupt */
SPI1_IRQn = 35, /*!< SPI1 global Interrupt */
SPI2_IRQn = 36, /*!< SPI2 global Interrupt */
USART1_IRQn = 37, /*!< USART1 global Interrupt */
USART2_IRQn = 38, /*!< USART2 global Interrupt */
USART3_IRQn = 39, /*!< USART3 global Interrupt */
EXTI15_10_IRQn = 40, /*!< External Line[15:10] Interrupts */
RTC_Alarm_IRQn = 41, /*!< RTC Alarm through EXTI Line Interrupt */
USBWakeUp_IRQn = 42, /*!< USB Device WakeUp from suspend through EXTI Line Interrupt */
} IRQn_Type;
/*************** Function definition ******************/
void NVIC_voidEnableInterrupt (IRQn_Type IRQn);
void NVIC_voidDisableInterrupt (IRQn_Type IRQn);
void NVIC_voidSetPendingFlag (IRQn_Type IRQn);
void NVIC_voidClearPendingFlag (IRQn_Type IRQn);
uint8 NVIC_u8GetActiveFlag (IRQn_Type IRQn);
void NVIC_voidSetPrioity (IRQn_Type IRQn, uint8 Copy_u8GroupPriority, uint8 Copy_u8SubPriority, uint32 Copy_u8Group);
#endif // NVIC_INTERFACE_H
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/03-NVIC/NVIC_program.c | <reponame>Eslam-Abdo/STM32_ARM_drivers<gh_stars>1-10
/*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 19 NOV 2021 */
/*********************************************************************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "NVIC_interface.h"
#include "NVIC_config.h"
#include "NVIC_private.h"
/************* Function OF Enable Interrupt **************************/
void NVIC_voidEnableInterrupt(IRQn_Type IRQn)
{
if (IRQn <= 31 )
{
SET_BIT(NVIC->ISER[0] , IRQn);
}
else if (IRQn <= 59)
{
IRQn -= 32;
SET_BIT(NVIC->ISER[1] , IRQn);
}
else
{
/* Return error */
}
}
/************* Function OF Disable Interrupt *************************/
void NVIC_voidDisableInterrupt(IRQn_Type IRQn)
{
if (IRQn <= 31 )
{
SET_BIT(NVIC->ICER[0] , IRQn);
}
else if (IRQn <= 59)
{
IRQn -= 32;
SET_BIT(NVIC->ICER[1] , IRQn);
}
else
{
/* Return error */
}
}
/************* Function OF Set Pending Flag **************************/
void NVIC_voidSetPendingFlag(IRQn_Type IRQn)
{
if (IRQn <= 31 )
{
SET_BIT(NVIC->ISPR[0] , IRQn);
}
else if (IRQn <= 59)
{
IRQn -= 32;
SET_BIT(NVIC->ISPR[1] , IRQn);
}
else
{
/* Return error */
}
}
/************* Function OF Clear Pending Flag *************************/
void NVIC_voidClearPendingFlag(IRQn_Type IRQn)
{
if (IRQn <= 31 )
{
SET_BIT(NVIC->ICPR[0] , IRQn);
}
else if (IRQn <= 59)
{
IRQn -= 32;
SET_BIT(NVIC->ICPR[1] , IRQn);
}
else
{
/* Return error */
}
}
/************* Function OF Get Active Flag *************************/
uint8 NVIC_u8GetActiveFlag(IRQn_Type IRQn)
{
uint8 Local_u8Result;
if (IRQn <= 31 )
{
Local_u8Result = GET_BIT(NVIC->IABR[0], IRQn);
}
else if (IRQn <= 59)
{
IRQn -= 32;
Local_u8Result = GET_BIT(NVIC->IABR[1], IRQn);
}
else
{
/* Return error */
}
return Local_u8Result;
}
/************* Function OF Set Priority *************************/
void NVIC_voidSetPrioity(IRQn_Type IRQn, uint8 Copy_u8GroupPriority, uint8 Copy_u8SubPriority, uint32 Copy_u8Group)
{
/* EX: 0x05FA0400 3 Group & 1 sub priority */
/* 0x100 Hex ---> 256 Decimal */
uint8 Local_u8Priority = Copy_u8SubPriority | (Copy_u8GroupPriority << ((Copy_u8Group - 0x05FA0300)/256));
/* external peripheral */ /*EXTI0 = 6*/
if (IRQn < 60 )
{
NVIC->IP[IRQn] = Local_u8Priority << 4;
}
else
{
/* Report Error */
}
SCB->AIRCR = Copy_u8Group;
}
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/08-CAN/CAN_private.h | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V01 */
/* Date : 17 OCT 2020 */
/*********************************************************************************/
#ifndef CAN_PRIVATE_H
#define CAN_PRIVATE_H
typedef void (*CAN_Interrupt_Callbacks)(void);/** CAN Operating Mode **/
#define CAN_MODE_NORMAL ((uint32)(0x0)) /*!< Normal mode */
#define CAN_MODE_LOOPBACK ((uint32)(0x1<<30)) /*!< Loopback mode BIT 30 < 0x40000000 > */
#define CAN_MODE_SILENT ((uint32)(0x1<<31)) /*!< Silent mode BIT 31 < 0x80000000 > */
#define CAN_MODE_SILENT_LOOPBACK ((uint32)(CAN_MODE_LOOPBACK | CAN_MODE_SILENT)) /*!< Loopback combined with silent mode */
/******************* BoudRate Definition ***********************/
enum BITRATE{CAN_50KBPS, CAN_100KBPS, CAN_125KBPS, CAN_250KBPS, CAN_500KBPS, CAN_800KBPS, CAN_1MBPS};
typedef const struct
{
uint8 TS2;
uint8 TS1;
uint8 BRP;
} CAN_BitTimingConfig;
/******** BoudRate value rating to table at web site {http://www.bittiming.can-wiki.info/}
* 1. select ST Microelectronics bxCAN
* 2. put freq with 36Mhz (APB1 freq)
* 3. click Request Table ***********************************/
CAN_BitTimingConfig CAN_bitRateConfig[7] = {{2, 13, 45}, {2, 15, 20}, {2, 13, 18}, {2, 13, 9}, {2, 15, 4},{2, 12, 3}, {2, 15, 2}};
/******************* Register Definition ***********************/
/** Controller Area Network TxMailBox **/
typedef struct
{
volatile uint32 TIR;
volatile uint32 TDTR;
volatile uint32 TDLR;
volatile uint32 TDHR;
} CAN_TxMailBox_TypeDef;
/** Controller Area Network FIFOMailBox **/
typedef struct
{
volatile uint32 RIR;
volatile uint32 RDTR;
volatile uint32 RDLR;
volatile uint32 RDHR;
} CAN_FIFOMailBox_TypeDef;
/** Controller Area Network FilterRegister **/
typedef struct
{
volatile uint32 FR1;
volatile uint32 FR2;
} CAN_FilterRegister_TypeDef;
/** Controller Area Network **/
typedef struct
{
volatile uint32 MCR;
volatile uint32 MSR;
volatile uint32 TSR;
volatile uint32 RF0R;
volatile uint32 RF1R;
volatile uint32 IER;
volatile uint32 ESR;
volatile uint32 BTR;
uint32 RESERVED0[88];
CAN_TxMailBox_TypeDef TxMailBox[3];
CAN_FIFOMailBox_TypeDef FIFOMailBox[2];
uint32 RESERVED1[12];
volatile uint32 FMR;
volatile uint32 FM1R;
uint32 RESERVED2;
volatile uint32 FS1R;
uint32 RESERVED3;
volatile uint32 FFA1R;
uint32 RESERVED4;
volatile uint32 FA1R;
uint32 RESERVED5[8];
CAN_FilterRegister_TypeDef FilterBankRegister[14];
}CAN_t;
/******************* BASE Address Definition *********************/
#define CAN_BASE_ADDRESS 0x40006400 //define the boundary address of CAN
#define CAN ((volatile CAN_t *) CAN_BASE_ADDRESS)
#endif /* CAN_PRIVATE_H */
|
Eslam-Abdo/STM32_ARM_drivers | 02-MCAL/05-AFIO/AFIO_program.c | /*********************************************************************************/
/* Author : <NAME> */
/* Version : V02 */
/* Date : 19 NOV 2021 */
/*********************************************************************************/
#include "STD_TYPES.h"
#include "BIT_MATH.h"
#include "GPIO_interface.h"
#include "AFIO_interface.h"
#include "AFIO_config.h"
#include "AFIO_private.h"
/************* Function OF Set EXTI Configuration **************************/
void AFIO_voidSetEXTIConfiguration (uint8 Copy_u8Line, uint8 Copy_u8PortMap)
{
uint8 Local_u8RegIndex = 0;
/* Assign to EXTICRx register */
Local_u8RegIndex = Copy_u8Line / 4;
Copy_u8Line = Copy_u8Line % 4 ;
AFIO->EXTICR[Local_u8RegIndex] &= ~((0b1111) << (Copy_u8Line * 4));
AFIO->EXTICR[Local_u8RegIndex] |= ((Copy_u8PortMap) << (Copy_u8Line * 4));
}
/************* Function OF remapping pins **************************/
void AFIO_voidRemapPeripheralPins (uint8 Copy_u8Port)
{
switch(Copy_u8Port){
case UART1_REMAP:
SET_BIT(AFIO->MAPR, UART1_REMAP);
break;
case CAN_REMAP:
/* CAN remap, use PB8, PB9 >> BITS 13,14 = 10*/
CLR_BIT(AFIO->MAPR, CAN_REMAP); /* bit 13 */
SET_BIT(AFIO->MAPR, (CAN_REMAP+1) ); /* bit 14 */
break;
case I2C1_REMAP:
SET_BIT(AFIO->MAPR, I2C1_REMAP);
break;
case SPI1_REMAP:
SET_BIT(AFIO->MAPR, SPI1_REMAP);
break;
}
}
|
Subsets and Splits