public static global::Improbable.Gdk.PlayerLifecycle.OwningWorker.Snapshot DeserializeSnapshot(global::Improbable.Worker.CInterop.SchemaObject obj) { var component = new global::Improbable.Gdk.PlayerLifecycle.OwningWorker.Snapshot(); component.WorkerId = obj.GetString(1); return(component); }
public static void ApplyUpdate(global::Improbable.Worker.CInterop.SchemaComponentUpdate updateObj, ref global::Improbable.Gdk.PlayerLifecycle.OwningWorker.Snapshot snapshot) { var obj = updateObj.GetFields(); if (obj.GetStringCount(1) == 1) { snapshot.WorkerId = obj.GetString(1); } }
public static void SerializeSnapshot(global::Improbable.Gdk.PlayerLifecycle.OwningWorker.Snapshot snapshot, global::Improbable.Worker.CInterop.SchemaObject obj) { obj.AddString(1, snapshot.WorkerId); }