コード例 #1
0
 public void read(MemoryStream msdata)
 {
     role.read(msdata);
     place = proto_util.readUByte(msdata);
     hideCardList.read(msdata);
     PMjCardSuit.readLoop(msdata, showCardList);
     winCardList.read(msdata);
     isHuazhu = proto_util.readBool(msdata);
     isDajiao = proto_util.readBool(msdata);
     curScore = proto_util.readShort(msdata);
     allScore = proto_util.readShort(msdata);
 }
コード例 #2
0
 public void read(MemoryStream msdata)
 {
     roleId = proto_util.readUInt(msdata);
     hideCardList.read(msdata);
     PMjCardSuit.readLoop(msdata, showCardList);
     winCardList.read(msdata);
     discardCardList.read(msdata);
     dropCardList.read(msdata);
     exchangeCardList.read(msdata);
     getExchangeCardList.read(msdata);
     curScore = proto_util.readShort(msdata);
     allScore = proto_util.readShort(msdata);
     queType  = proto_util.readShort(msdata);
 }