public InitialPlayerSync(NitroxId playerGameObjectId, bool firstTimeConnecting, IEnumerable <EscapePodModel> escapePodsData, NitroxId assignedEscapePodId, IEnumerable <EquippedItemData> equipment, IEnumerable <EquippedItemData> modules, IEnumerable <BasePiece> basePieces, IEnumerable <VehicleModel> vehicles, IEnumerable <ItemData> inventoryItems, IEnumerable <ItemData> storageSlotItems, IEnumerable <NitroxTechType> usedItems, IEnumerable <string> quickSlotsBinding, InitialPDAData pdaData, InitialStoryGoalData storyGoalData, HashSet <string> completedGoals, NitroxVector3 playerSpawnData, Optional <NitroxId> playerSubRootId, PlayerStatsData playerStatsData, IEnumerable <InitialRemotePlayerData> remotePlayerData, IEnumerable <Entity> globalRootEntities, IEnumerable <NitroxId> initialSimulationOwnerships, ServerGameMode gameMode, Perms perms) { EscapePodsData = escapePodsData.ToList(); AssignedEscapePodId = assignedEscapePodId; PlayerGameObjectId = playerGameObjectId; FirstTimeConnecting = firstTimeConnecting; EquippedItems = equipment.ToList(); Modules = modules.ToList(); BasePieces = basePieces.ToList(); Vehicles = vehicles.ToList(); InventoryItems = inventoryItems.ToList(); StorageSlotItems = storageSlotItems.ToList(); UsedItems = usedItems.ToList(); QuickSlotsBinding = quickSlotsBinding.ToList(); PDAData = pdaData; StoryGoalData = storyGoalData; CompletedGoals = completedGoals; PlayerSpawnData = playerSpawnData; PlayerSubRootId = playerSubRootId; PlayerStatsData = playerStatsData; RemotePlayerData = remotePlayerData.ToList(); GlobalRootEntities = globalRootEntities.ToList(); InitialSimulationOwnerships = initialSimulationOwnerships.ToList(); GameMode = gameMode; Permissions = perms; }
public InitialPlayerSync(NitroxId playerGameObjectId, bool firstTimeConnecting, IEnumerable <EscapePodModel> escapePodsData, NitroxId assignedEscapePodId, IEnumerable <EquippedItemData> equipment, IEnumerable <EquippedItemData> modules, IEnumerable <BasePiece> basePieces, IEnumerable <VehicleModel> vehicles, IEnumerable <ItemData> inventoryItems, IEnumerable <ItemData> storageSlots, InitialPDAData pdaData, InitialStoryGoalData storyGoalData, NitroxVector3 playerSpawnData, Optional <NitroxId> playerSubRootId, PlayerStatsData playerStatsData, IEnumerable <InitialRemotePlayerData> remotePlayerData, IEnumerable <Entity> globalRootEntities, string gameMode, Perms perms) { EscapePodsData = escapePodsData.ToList(); AssignedEscapePodId = assignedEscapePodId; PlayerGameObjectId = playerGameObjectId; FirstTimeConnecting = firstTimeConnecting; EquippedItems = equipment.ToList(); Modules = modules.ToList(); BasePieces = basePieces.ToList(); Vehicles = vehicles.ToList(); InventoryItems = inventoryItems.ToList(); StorageSlots = storageSlots.ToList(); PDAData = pdaData; StoryGoalData = storyGoalData; PlayerSpawnData = playerSpawnData; PlayerSubRootId = playerSubRootId; PlayerStatsData = playerStatsData; RemotePlayerData = remotePlayerData.ToList(); GlobalRootEntities = globalRootEntities.ToList(); GameMode = gameMode; Permissions = perms; }