Inheritance: global::ProtoBuf.IExtensible
コード例 #1
0
 internal void HandleReclaimItem(Msg_LR_ReclaimItem msg, PBChannel channel)
 {
     Room room = GetRoomByID(msg.RoomID);
     if (null != room) {
         User user = room.GetUserByGuid(msg.UserGuid);
         Scene curScene = room.ActiveScene;
         if (null != curScene) {
         }
     }
 }
コード例 #2
0
 private void HandleReclaimItem(Msg_LR_ReclaimItem msg, PBChannel channel, int handle, uint seq)
 {
     bool isFieldThread;
     int ix = GetActiveRoomThreadIndex(msg.RoomID, out isFieldThread);
     if (ix >= 0) {
         if (isFieldThread) {
             RoomThread roomThread = field_roomthread_list_[ix];
             roomThread.QueueAction(roomThread.HandleReclaimItem, msg, channel);
         } else {
             RoomThread roomThread = roomthread_list_[ix];
             roomThread.QueueAction(roomThread.HandleReclaimItem, msg, channel);
         }
     }
 }