/// <summary>
 /// 中心服务器通知强制客户端下线
 /// </summary>
 private ErrorCode OnMsgFromCSOrderKickoutGC(byte[] data, int offset, int size, int transID, int msgID, uint gcNetID)
 {
     CSToGS.OrderKickoutGC orderKickoutGC = new CSToGS.OrderKickoutGC();
     orderKickoutGC.MergeFrom(data, offset, size);
     GS.instance.PostGameClientDisconnect(( uint )orderKickoutGC.Gcnid);
     return(ErrorCode.Success);
 }
示例#2
0
 public ErrorCode PostMsgToGS_KickoutGC(CSGSInfo csgsInfo, uint gcNetID)
 {
     CSToGS.OrderKickoutGC sMsg = new CSToGS.OrderKickoutGC();
     sMsg.Gcnid = ( int )gcNetID;
     return(this.PostMsgToGS(csgsInfo, sMsg, ( int )CSToGS.MsgID.EMsgToGsfromCsOrderKickoutGc, 0));
 }