public bool DispatchPeerMsg(RoomPeer peer, int id, object msg) { if (peer == null) { return(false); } peer.InsertLogicMsg(id, msg); return(true); }