public void Write(TProtocol oprot)
 {
     TStruct struc = new TStruct("SchemaDisagreementException");
       oprot.WriteStructBegin(struc);
       oprot.WriteFieldStop();
       oprot.WriteStructEnd();
 }
Exemplo n.º 2
0
 public void Write(TProtocol oprot)
 {
     TStruct struc = new TStruct("TimedOutException");
       oprot.WriteStructBegin(struc);
       oprot.WriteFieldStop();
       oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("IndexStatusResponse");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   field.Name = "Status";
   field.Type = TType.I32;
   field.ID = 1;
   oprot.WriteFieldBegin(field);
   oprot.WriteI32((int)Status);
   oprot.WriteFieldEnd();
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("AlreadyAliveException");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   field.Name = "msg";
   field.Type = TType.String;
   field.ID = 1;
   oprot.WriteFieldBegin(field);
   oprot.WriteString(Msg);
   oprot.WriteFieldEnd();
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 5
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("InvalidRequestException");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   field.Name = "why";
   field.Type = TType.String;
   field.ID = 1;
   oprot.WriteFieldBegin(field);
   oprot.WriteString(Why);
   oprot.WriteFieldEnd();
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 6
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("LSSupervisorId");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   field.Name = "supervisor_id";
   field.Type = TType.String;
   field.ID = 1;
   oprot.WriteFieldBegin(field);
   oprot.WriteString(Supervisor_id);
   oprot.WriteFieldEnd();
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 7
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("SCChatResultMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   field.Name = "result";
   field.Type = TType.Byte;
   field.ID = 10;
   oprot.WriteFieldBegin(field);
   oprot.WriteByte(Result);
   oprot.WriteFieldEnd();
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 8
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("CSChatSettingMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   field.Name = "chatSetting";
   field.Type = TType.Struct;
   field.ID = 10;
   oprot.WriteFieldBegin(field);
   ChatSetting.Write(oprot);
   oprot.WriteFieldEnd();
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 9
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("SCSystemInfoMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   field.Name = "systemInfo";
   field.Type = TType.Struct;
   field.ID = 1;
   oprot.WriteFieldBegin(field);
   SystemInfo.Write(oprot);
   oprot.WriteFieldEnd();
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 10
0
 public void Write(TProtocol oprot) {
   oprot.IncrementRecursionDepth();
   try
   {
     TStruct struc = new TStruct("AnsCancelRequestMatch");
     oprot.WriteStructBegin(struc);
     oprot.WriteFieldStop();
     oprot.WriteStructEnd();
   }
   finally
   {
     oprot.DecrementRecursionDepth();
   }
 }
Exemplo n.º 11
0
 public void Write(TProtocol oprot) {
   oprot.IncrementRecursionDepth();
   try
   {
     TStruct struc = new TStruct("ReqChannelInfo");
     oprot.WriteStructBegin(struc);
     oprot.WriteFieldStop();
     oprot.WriteStructEnd();
   }
   finally
   {
     oprot.DecrementRecursionDepth();
   }
 }
Exemplo n.º 12
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("BidResponse");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.success) {
     field.Name = "success";
     field.Type = TType.Bool;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     oprot.WriteBool(Success);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("SCHeroSkillQualityLevelUpMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (FailSystemInfo != null && __isset.failSystemInfo) {
     field.Name = "failSystemInfo";
     field.Type = TType.Struct;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     FailSystemInfo.Write(oprot);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("ClientUsageMetrics");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.sessions) {
     field.Name = "sessions";
     field.Type = TType.I32;
     field.ID = 1;
     oprot.WriteFieldBegin(field);
     oprot.WriteI32(Sessions);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("StoreAggregatesException");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (Msg != null && __isset.msg) {
     field.Name = "msg";
     field.Type = TType.String;
     field.ID = 1;
     oprot.WriteFieldBegin(field);
     oprot.WriteString(Msg);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("GetNodeStatisticsReturnStruct");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (_data != null && __isset._data) {
     field.Name = "_data";
     field.Type = TType.Struct;
     field.ID = 1;
     oprot.WriteFieldBegin(field);
     _data.Write(oprot);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 17
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("ChatSettingInfo");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.chatSetting) {
     field.Name = "chatSetting";
     field.Type = TType.Byte;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     oprot.WriteByte(ChatSetting);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("SCSingleSceneCharInfoSyncMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (SceneChar != null && __isset.sceneChar) {
     field.Name = "sceneChar";
     field.Type = TType.Struct;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     SceneChar.Write(oprot);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 19
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("CSHeroMaxExtend");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.extendTimes) {
     field.Name = "extendTimes";
     field.Type = TType.I16;
     field.ID = 1;
     oprot.WriteFieldBegin(field);
     oprot.WriteI16(ExtendTimes);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("SCCharacterJoinArmyMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (MemberInfo != null && __isset.memberInfo) {
     field.Name = "memberInfo";
     field.Type = TType.Struct;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     MemberInfo.Write(oprot);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 21
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("IOError");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (Message != null && __isset.message) {
     field.Name = "message";
     field.Type = TType.String;
     field.ID = 1;
     oprot.WriteFieldBegin(field);
     oprot.WriteString(Message);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 22
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("CSCreateArmyMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (Name != null && __isset.name) {
     field.Name = "name";
     field.Type = TType.String;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     oprot.WriteString(Name);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 23
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("SCFriendQueryByName");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (ApplyFriendInfo != null && __isset.applyFriendInfo) {
     field.Name = "applyFriendInfo";
     field.Type = TType.Struct;
     field.ID = 1;
     oprot.WriteFieldBegin(field);
     ApplyFriendInfo.Write(oprot);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 24
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("CSCompleteMissionStep");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.missionSceneId) {
     field.Name = "missionSceneId";
     field.Type = TType.I32;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     oprot.WriteI32(MissionSceneId);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 25
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("EnterGameRequest");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.charId) {
     field.Name = "charId";
     field.Type = TType.I32;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     oprot.WriteI32(CharId);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 26
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("CSApplyJoinArmyMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.armyId) {
     field.Name = "armyId";
     field.Type = TType.I32;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     oprot.WriteI32(ArmyId);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 27
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("CSSelectFriendMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (FriendArr != null && __isset.friendArr) {
     field.Name = "friendArr";
     field.Type = TType.String;
     field.ID = 1;
     oprot.WriteFieldBegin(field);
     oprot.WriteString(FriendArr);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 28
0
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("SCFriendApplySucc");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.friendUuid) {
     field.Name = "friendUuid";
     field.Type = TType.I64;
     field.ID = 1;
     oprot.WriteFieldBegin(field);
     oprot.WriteI64(FriendUuid);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("CSCharEquipmentLevelUpMsg");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.equipmentUniqueId) {
     field.Name = "equipmentUniqueId";
     field.Type = TType.I64;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     oprot.WriteI64(EquipmentUniqueId);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
 public void Write(TProtocol oprot) {
   TStruct struc = new TStruct("SCCompleteMissionStepInfo");
   oprot.WriteStructBegin(struc);
   TField field = new TField();
   if (__isset.missionState) {
     field.Name = "missionState";
     field.Type = TType.I32;
     field.ID = 10;
     oprot.WriteFieldBegin(field);
     oprot.WriteI32((int)MissionState);
     oprot.WriteFieldEnd();
   }
   oprot.WriteFieldStop();
   oprot.WriteStructEnd();
 }
Exemplo n.º 31
0
 public abstract void WriteStructBegin(TStruct struc);
Exemplo n.º 32
0
 public override async Task WriteStructBeginAsync(TStruct @struct, CancellationToken cancellationToken)
 {
     await WriteJsonObjectStartAsync(cancellationToken);
 }