Ejemplo n.º 1
0
 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>();
 }
Ejemplo n.º 2
0
 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;
 }