コード例 #1
0
ファイル: GameFactory.cs プロジェクト: yg7845333/mooege
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _gamePropertiesFieldNames;
            if (creationAttributes_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[1], creationAttributes_);
            }
            if (hasFilter)
            {
                output.WriteMessage(2, field_names[2], Filter);
            }
            if (hasCreate)
            {
                output.WriteBool(3, field_names[0], Create);
            }
            if (hasOpen)
            {
                output.WriteBool(4, field_names[3], Open);
            }
            if (hasProgramId)
            {
                output.WriteFixed32(5, field_names[4], ProgramId);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #2
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _a1004ResponseFieldNames;
     if (hasErrorInfo)
     {
         output.WriteString(1, field_names[2], ErrorInfo);
     }
     if (hasErrorCode)
     {
         output.WriteInt32(2, field_names[1], ErrorCode);
     }
     if (hasRoomID)
     {
         output.WriteInt32(4, field_names[3], RoomID);
     }
     if (hasRoomType)
     {
         output.WriteInt32(5, field_names[4], RoomType);
     }
     if (users_.Count > 0)
     {
         output.WriteMessageArray(6, field_names[5], users_);
     }
     if (hasCancelType)
     {
         output.WriteInt32(7, field_names[0], CancelType);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #3
0
ファイル: UserManagerTypes.cs プロジェクト: wlasser/D3Emu
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _recentPlayerFieldNames;
            if (hasEntity)
            {
                output.WriteMessage(1, field_names[2], Entity);
            }
            if (hasProgramId)
            {
                output.WriteString(2, field_names[4], ProgramId);
            }
            if (hasTimestampPlayed)
            {
                output.WriteFixed64(3, field_names[5], TimestampPlayed);
            }
            if (attributes_.Count > 0)
            {
                output.WriteMessageArray(4, field_names[0], attributes_);
            }
            if (hasId)
            {
                output.WriteFixed32(5, field_names[3], Id);
            }
            if (hasCounter)
            {
                output.WriteFixed32(6, field_names[1], Counter);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #4
0
 public override void WriteTo(pb::ICodedOutputStream output) {
   CalcSerializedSize();
   string[] field_names = _s2CFieldNames;
   if (basicQotList_.Count > 0) {
     output.WriteMessageArray(1, field_names[0], basicQotList_);
   }
   UnknownFields.WriteTo(output);
 }
コード例 #5
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _s2CFieldNames;
     if (hasSecurity)
     {
         output.WriteMessage(1, field_names[2], Security);
     }
     if (brokerAskList_.Count > 0)
     {
         output.WriteMessageArray(2, field_names[0], brokerAskList_);
     }
     if (brokerBidList_.Count > 0)
     {
         output.WriteMessageArray(3, field_names[1], brokerBidList_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #6
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _robotStatusReportFieldNames;
     if (status_.Count > 0)
     {
         output.WriteMessageArray(1, field_names[0], status_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #7
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _insertDocumentsResponseFieldNames;
     if (failedDocuments_.Count > 0)
     {
         output.WriteMessageArray(1, field_names[0], failedDocuments_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #8
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _pERSONINFOARRAYFieldNames;
     if (items_.Count > 0)
     {
         output.WriteMessageArray(1, field_names[0], items_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #9
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _conversationListResponseFieldNames;
            if (list_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[0], list_);
            }
        }
コード例 #10
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _collectionConfigsFieldNames;
     if (createCollectionCommand_.Count > 0)
     {
         output.WriteMessageArray(1, field_names[0], createCollectionCommand_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #11
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _hUAFEIARRAYFieldNames;
            if (items_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[0], items_);
            }
        }
コード例 #12
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _taskInfoFieldNames;
     if (tasks_.Count > 0)
     {
         output.WriteMessageArray(1, field_names[0], tasks_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #13
0
ファイル: Stats.cs プロジェクト: yg7845333/mooege
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _statListFieldNames;
            if (stats_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[0], stats_);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #14
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _queryRegularDataResFieldNames;
            if (datas_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[0], datas_);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #15
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _crafterSavedDataFieldNames;
            if (crafterData_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[0], crafterData_);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #16
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _btDatasReqFieldNames;
     if (hasAppId)
     {
         output.WriteUInt32(1, field_names[0], AppId);
     }
     if (btDatas_.Count > 0)
     {
         output.WriteMessageArray(2, field_names[1], btDatas_);
     }
     UnknownFields.WriteTo(output);
 }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _testEmbedOptimizedForSizeFieldNames;
     if (hasOptionalMessage)
     {
         output.WriteMessage(1, field_names[0], OptionalMessage);
     }
     if (repeatedMessage_.Count > 0)
     {
         output.WriteMessageArray(2, field_names[1], repeatedMessage_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #18
0
ファイル: Query.cs プロジェクト: ddd-cqrs-es/must
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _queryRequestMessageFieldNames;
            if (hasName)
            {
                output.WriteString(1, field_names[0], Name);
            }
            if (options_.Count > 0)
            {
                output.WriteMessageArray(2, field_names[1], options_);
            }
        }
コード例 #19
0
ファイル: LaidianStatus.cs プロジェクト: iwz73/Laidian_TCP
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _laidianStatusModelFieldNames;
     if (hasType)
     {
         output.WriteString(2, field_names[9], Type);
     }
     if (hasTerminal)
     {
         output.WriteString(3, field_names[7], Terminal);
     }
     if (hasTime)
     {
         output.WriteString(4, field_names[8], Time);
     }
     if (hasVd)
     {
         output.WriteString(5, field_names[10], Vd);
     }
     if (hasSmk)
     {
         output.WriteString(6, field_names[4], Smk);
     }
     if (hasTemp)
     {
         output.WriteString(7, field_names[6], Temp);
     }
     if (hasStatus)
     {
         output.WriteString(8, field_names[5], Status);
     }
     if (hasHsnum)
     {
         output.WriteString(9, field_names[1], Hsnum);
     }
     if (hasLinesstatus)
     {
         output.WriteString(10, field_names[3], Linesstatus);
     }
     if (lines_.Count > 0)
     {
         output.WriteInt32Array(11, field_names[2], lines_);
     }
     if (cdbs_.Count > 0)
     {
         output.WriteMessageArray(12, field_names[0], cdbs_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #20
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _queryBuilderFieldNames;
     if (hasQuery)
     {
         output.WriteString(1, field_names[1], Query);
     }
     if (parameters_.Count > 0)
     {
         output.WriteMessageArray(2, field_names[0], parameters_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #21
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _agentlogReqFieldNames;
     if (hasAgentIdentity)
     {
         output.WriteMessage(1, field_names[0], AgentIdentity);
     }
     if (logs_.Count > 0)
     {
         output.WriteMessageArray(2, field_names[1], logs_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #22
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _savedAttributesFieldNames;
            if (hasGbHandle)
            {
                output.WriteMessage(1, field_names[1], GbHandle);
            }
            if (attributes_.Count > 0)
            {
                output.WriteMessageArray(2, field_names[0], attributes_);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #23
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _friendFieldNames;
            if (hasId)
            {
                output.WriteMessage(1, field_names[1], Id);
            }
            if (attribute_.Count > 0)
            {
                output.WriteMessageArray(2, field_names[0], attribute_);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #24
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _getAcctPropListReplyFieldNames;
            if (hasResultCode)
            {
                output.WriteEnum(1, field_names[1], (int)ResultCode, ResultCode);
            }
            if (propList_.Count > 0)
            {
                output.WriteMessageArray(2, field_names[0], propList_);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #25
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _xtiveTagsFieldNames;
            if (hasToken)
            {
                output.WriteString(1, field_names[1], Token);
            }
            if (tags_.Count > 0)
            {
                output.WriteMessageArray(2, field_names[0], tags_);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #26
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _playerFieldNames;
     if (hasId)
     {
         output.WriteString(1, field_names[1], Id);
     }
     if (hasHealth)
     {
         output.WriteInt32(2, field_names[0], Health);
     }
     if (items_.Count > 0)
     {
         output.WriteMessageArray(4, field_names[2], items_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #27
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _a1026ResponseFieldNames;
     if (hasErrorInfo)
     {
         output.WriteString(1, field_names[1], ErrorInfo);
     }
     if (hasErrorCode)
     {
         output.WriteInt32(2, field_names[0], ErrorCode);
     }
     if (gResult_.Count > 0)
     {
         output.WriteMessageArray(3, field_names[2], gResult_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #28
0
ファイル: Hireling.cs プロジェクト: yg7845333/mooege
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _savedDataFieldNames;
            if (hirelings_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[2], hirelings_);
            }
            if (hasActiveHireling)
            {
                output.WriteUInt32(2, field_names[0], ActiveHireling);
            }
            if (hasAvailableHirelingsBitfield)
            {
                output.WriteUInt32(3, field_names[1], AvailableHirelingsBitfield);
            }
            UnknownFields.WriteTo(output);
        }
コード例 #29
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _s2CFieldNames;
     if (hasRehabType)
     {
         output.WriteInt32(1, field_names[2], RehabType);
     }
     if (hasKlType)
     {
         output.WriteInt32(2, field_names[1], KlType);
     }
     if (hasSecurity)
     {
         output.WriteMessage(3, field_names[3], Security);
     }
     if (klList_.Count > 0)
     {
         output.WriteMessageArray(4, field_names[0], klList_);
     }
     UnknownFields.WriteTo(output);
 }
コード例 #30
0
ファイル: Person.cs プロジェクト: snowolder/game_C-_clientnet
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _personFieldNames;
     if (hasName)
     {
         output.WriteString(1, field_names[2], Name);
     }
     if (hasId)
     {
         output.WriteInt32(2, field_names[1], Id);
     }
     if (hasEmail)
     {
         output.WriteString(3, field_names[0], Email);
     }
     if (phone_.Count > 0)
     {
         output.WriteMessageArray(4, field_names[3], phone_);
     }
     UnknownFields.WriteTo(output);
 }