r2mods/ilspy_dump/ror2_csproj/RoR2/VoidRaidEncounterController.cs

42 lines
834 B
C#

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<CharacterMaster>().teamIndex = TeamIndex.Monster;
NetworkServer.Spawn(obj);
obj.GetComponent<CharacterMaster>().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()
{
}
}