示例#1
0
 public void AddSCHandler(int msg_id, SCHandler handler)
 {
     this.dispatcher.AddSCHandle(msg_id, handler);
 }
示例#2
0
 public void AddSCHandle(int msg_id, SCHandler handler)
 {
     this.AddHandler(msg_id, delegate(IMessage protocol, int connect_id, int addition, List <int> player_id_list) {
         handler(protocol);
     });
 }