public void SetMessage(List <int> address, Dictionary <string, object> message, string type) { this.toAddress = new List <int>(address); this.sendMessage = new Dictionary <string, object>(message); this.messageType = type; this.sendType = ColosseumMatchingNetworkSynchronize.SendType.SOCKET_MESSASE; }
public void SetWaitReceive(float waitTime) { global::Debug.Assert(1f <= waitTime, "Error SetWaitReceive : waitTime に1秒以上を設定してください."); this.trialTime = waitTime; this.sendType = ColosseumMatchingNetworkSynchronize.SendType.WAIT_RECEIVE; }
public void SetRequestSocket(Dictionary <string, object> message) { this.sendMessage = new Dictionary <string, object>(message); this.sendType = ColosseumMatchingNetworkSynchronize.SendType.SOCKET_REQUEST; }
public void SetRequestHTTP(RequestBase request, Func <RequestBase, Coroutine> requestRoutine) { this.sendRequest = request; this.sendRequestRoutine = requestRoutine; this.sendType = ColosseumMatchingNetworkSynchronize.SendType.HTTP_REQUEST; }