void Awake() { clientController = this.GetComponent <ClientController>(); jobHandler = new CommunicationJobHandler(); AllocateServerAttributes(); }
public ProcessCommandCoroutine(T owner, UdpNetworkDriver driver, CommunicationJobHandler jobHandler) { this.driver = driver; this.jobHandler = jobHandler; this.owner = owner; connectionIndex = new BidirecionalIndex <int, int>(); }
void SetUp() { serverController = this.GetComponent <ServerController>(); jobHandler = new CommunicationJobHandler(); pcc = new ProcessServerCommandCoroutine(this, m_ServerDriver, jobHandler); pcc.PutPlayEvent += PutPlayEventCallback; }
public ProcessServerCommandCoroutine(ServerCommunication owner, UdpNetworkDriver driver, CommunicationJobHandler jobHandler) : base(owner, driver, jobHandler) { }