public static global::Improbable.Gdk.Tests.NonblittableTypes.FirstEventPayload ToSpatial(global::Generated.Improbable.Gdk.Tests.NonblittableTypes.FirstEventPayload nativeType) { var spatialType = new global::Improbable.Gdk.Tests.NonblittableTypes.FirstEventPayload(); spatialType.field1 = nativeType.Field1; spatialType.field2 = nativeType.Field2; return(spatialType); }
public static FirstEventPayload ToNative(global::Improbable.Gdk.Tests.NonblittableTypes.FirstEventPayload spatialType) { var nativeType = new FirstEventPayload(); nativeType.Field1 = spatialType.field1; nativeType.Field2 = spatialType.field2; return(nativeType); }
public void SendFirstEvent(global::Improbable.Gdk.Tests.NonblittableTypes.FirstEventPayload payload) { if (!VerifyNotDisposed()) { return; } var sender = EntityManager.GetComponentData <EventSender.FirstEvent>(Entity); sender.Events.Add(payload); }
public void OnFirstEventEvent(global::Improbable.Gdk.Tests.NonblittableTypes.FirstEventPayload payload) { GameObjectDelegates.DispatchWithErrorHandling(payload, FirstEventDelegates, logDispatcher); }
public Event(global::Improbable.Gdk.Tests.NonblittableTypes.FirstEventPayload payload) { Payload = payload; }
public void SendFirstEventEvent(global::Improbable.Gdk.Tests.NonblittableTypes.FirstEventPayload firstEvent) { var eventToSend = new NonBlittableComponent.FirstEvent.Event(firstEvent); ComponentUpdateSystem.SendEvent(eventToSend, EntityId); }