using UnityEngine; using UnityEngine.Networking; namespace RoR2; public class VoidRaidEncounterController : NetworkBehaviour { public GameObject VoidRaidBossPrefab; public Transform VoidRaidBossSpawnPosition; private void Start() { GameObject obj = Object.Instantiate(VoidRaidBossPrefab, VoidRaidBossSpawnPosition.position, Quaternion.identity); obj.GetComponent().teamIndex = TeamIndex.Monster; NetworkServer.Spawn(obj); obj.GetComponent().SpawnBodyHere(); } private void Update() { } private void UNetVersion() { } public override bool OnSerialize(NetworkWriter writer, bool forceAll) { bool result = default(bool); return result; } public override void OnDeserialize(NetworkReader reader, bool initialState) { } public override void PreStartClient() { } }