public NetworkGameObjectPrefabSpawnContext(NetworkEntityGuid guid, GameObjectPrefab prefabId, INetPeer peer) { //TODO: Check refs PrefabId = prefabId; NetworkGuid = guid; NetworkPeer = peer; }
public GameObjectEntitySpawnEventPayload(NetworkEntityGuid entityGuid, Vector3Surrogate position, QuaternionSurrogate rotation, Vector3Surrogate scale, GameObjectPrefab prefabId, byte state) : base(entityGuid, position, rotation) { //TODO: Check values/refs Scale = scale; PrefabId = prefabId; CurrentState = state; }