示例#1
0
 public void write(MemoryStream msdata)
 {
     role.write(msdata);
     proto_util.writeUInt(msdata, credit);
     proto_util.writeUByte(msdata, position);
     proto_util.writeUByte(msdata, costDiam);
     proto_util.writeUInt(msdata, timestamp);
 }
示例#2
0
 public void write(MemoryStream msdata)
 {
     role.write(msdata);
     proto_util.writeUByte(msdata, place);
     proto_util.writeShort(msdata, allScore);
     proto_util.writeUByte(msdata, huCount);
     proto_util.writeUByte(msdata, beHuCount);
     proto_util.writeUByte(msdata, mingGangCount);
     proto_util.writeUByte(msdata, anGangCount);
 }
示例#3
0
 public void write(MemoryStream msdata)
 {
     role.write(msdata);
     proto_util.writeUByte(msdata, place);
     proto_util.writeUByte(msdata, roleState);
     proto_util.writeBool(msdata, isRoomOwner);
     proto_util.writeUInt(msdata, longitude);
     proto_util.writeUInt(msdata, latitude);
     proto_util.writeUShort(msdata, credit);
     proto_util.writeString(msdata, ipAddr);
 }
示例#4
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);
 }