public ColosseumMatchingNetwork(IColosseumMatchingInfo info, ColosseumMatchingEventListener listener) { this.matchingInfo = info; this.eventListener = listener; this.httpAPI = new ColosseumMatchingNetworkHTTP(); this.socketAPI = new ColosseumMatchingNetworkSocket(listener); this.addressUserIdList = new List <int>(); }
public ColosseumMatchingNetworkSocket(ColosseumMatchingEventListener listener) { this.eventListener = listener; this.messageBuffer = new Dictionary <string, object>(); this.opponentOnlineStatusCheckMessage = new Dictionary <string, object> { { "080110", new PvPOnlineCheck() } }; }
public void SetInstance(ColosseumMatchingEventListener eventListener) { this.eventListener = eventListener; }