Exemplo n.º 1
0
 public void write(MemoryStream msdata)
 {
     role.write(msdata);
     proto_util.writeUByte(msdata, place);
     hideCardList.write(msdata);
     PMjCardSuit.writeLoop(msdata, showCardList);
     winCardList.write(msdata);
     proto_util.writeBool(msdata, isHuazhu);
     proto_util.writeBool(msdata, isDajiao);
     proto_util.writeShort(msdata, curScore);
     proto_util.writeShort(msdata, allScore);
 }
Exemplo n.º 2
0
 public void write(MemoryStream msdata)
 {
     proto_util.writeUInt(msdata, roleId);
     hideCardList.write(msdata);
     PMjCardSuit.writeLoop(msdata, showCardList);
     winCardList.write(msdata);
     discardCardList.write(msdata);
     dropCardList.write(msdata);
     exchangeCardList.write(msdata);
     getExchangeCardList.write(msdata);
     proto_util.writeShort(msdata, curScore);
     proto_util.writeShort(msdata, allScore);
     proto_util.writeShort(msdata, queType);
 }