コード例 #1
0
ファイル: JoinLANGameMessage.cs プロジェクト: wlasser/D3Emu
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     buffer.WriteCharArray(128, Field1);
     buffer.WriteCharArray(49, Field2);
     buffer.WriteInt(4, Field3 - (2));
 }
コード例 #2
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     buffer.WriteCharArray(128, Field1);
     buffer.WriteCharArray(49, Field2);
     buffer.WriteInt(4, Field3 - (2));
 }
コード例 #3
0
ファイル: NewPlayerMessage.cs プロジェクト: rdavydov/d3sharp
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(3, Field0);
     buffer.WriteCharArray(128, Field1);
     buffer.WriteCharArray(101, ToonName);
     buffer.WriteInt(5, Field3 - (-1));
     buffer.WriteInt(3, Field4 - (-1));
     buffer.WriteInt(32, snoActorPortrait);
     buffer.WriteInt(7, Field6);
     Field7.Encode(buffer);
     buffer.WriteBool(Field8);
     buffer.WriteInt(32, Field9);
     buffer.WriteInt(32, Field10);
 }
コード例 #4
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(3, Field0);
     buffer.WriteCharArray(128, Field1);
     buffer.WriteCharArray(101, ToonName);
     buffer.WriteInt(5, Field3 - (-1));
     buffer.WriteInt(3, Field4 - (-1));
     buffer.WriteInt(32, snoActorPortrait);
     buffer.WriteInt(7, Field6);
     Field7.Encode(buffer);
     buffer.WriteBool(Field8);
     buffer.WriteInt(32, Field9);
     buffer.WriteInt(32, Field10);
 }
コード例 #5
0
ファイル: NewPlayerMessage.cs プロジェクト: rosebud/mooege
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(3, PlayerIndex);
     buffer.WriteCharArray(128, Field1);
     buffer.WriteCharArray(101, ToonName);
     buffer.WriteInt(5, Field3 - (-1));
     buffer.WriteInt(3, Field4 - (-1));
     buffer.WriteInt(32, snoActorPortrait);
     buffer.WriteInt(7, Field6);
     StateData.Encode(buffer);
     buffer.WriteBool(Field8);
     buffer.WriteInt(32, Field9);
     buffer.WriteUInt(32, ActorID);
 }
コード例 #6
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, ActorDynamicID);
     buffer.WriteInt(2, Type);
     buffer.WriteInt(4, Lengh - (-1));
     buffer.WriteCharArray(512, Text);
 }
コード例 #7
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(512, Field0);
     buffer.WriteInt(4, Field1 - (-1));
     Field2.Encode(buffer);
     buffer.WriteInt(32, Field3);
 }
コード例 #8
0
ファイル: TryConsoleCommand.cs プロジェクト: Rianon/mooege
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(512, Field0);
     buffer.WriteInt(4, Field1 - (-1));
     Field2.Encode(buffer);
     buffer.WriteInt(32, Field3);
 }
コード例 #9
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     buffer.WriteInt(32, Field1);
     buffer.WriteInt(32, Field2);
     Field3.Encode(buffer);
     Field4.Encode(buffer);
     buffer.WriteFloat32(Field5);
     buffer.WriteFloat32(Field6);
     buffer.WriteInt(32, Field7);
     Field8.Encode(buffer);
     buffer.WriteCharArray(128, Field9);
 }
コード例 #10
0
ファイル: DebugDrawPrimMessage.cs プロジェクト: wlasser/D3Emu
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     buffer.WriteInt(32, Field1);
     buffer.WriteInt(32, Field2);
     Field3.Encode(buffer);
     Field4.Encode(buffer);
     buffer.WriteFloat32(Field5);
     buffer.WriteFloat32(Field6);
     buffer.WriteInt(32, Field7);
     Field8.Encode(buffer);
     buffer.WriteCharArray(128, Field9);
 }
コード例 #11
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, dynamicId);
     buffer.WriteCharArray(49, ToonName);
     buffer.WriteInt(5, Field3 - (-1));
     buffer.WriteInt(3, Field4 - (-1));
     buffer.WriteInt(32, snoActorPortrait);
     buffer.WriteInt(7, Level);
     //StateData.Encode(buffer);
     buffer.WriteBool(IsMainPlayer);
     buffer.WriteInt(32, Field9);
     buffer.WriteInt(32, SNO);
     buffer.WriteInt(32, ActorID);
 }
コード例 #12
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(512, Field0);
     buffer.WriteBool(Field1.HasValue);
     if (Field1.HasValue)
     {
         buffer.WriteInt(32, Field1.Value);
     }
     buffer.WriteBool(Field2.HasValue);
     if (Field2.HasValue)
     {
         buffer.WriteInt(32, Field2.Value);
     }
 }
コード例 #13
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(512, Field0);
     buffer.WriteBool(Field1.HasValue);
     if (Field1.HasValue)
     {
         buffer.WriteInt(32, Field1.Value);
     }
     buffer.WriteBool(Field2.HasValue);
     if (Field2.HasValue)
     {
         buffer.WriteInt(32, Field2.Value);
     }
 }
コード例 #14
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(3, PlayerIndex);
     ToonId.Encode(buffer);
     GameAccountId.Encode(buffer);
     buffer.WriteCharArray(49, ToonName);
     buffer.WriteInt(5, Field3 - (-1));
     buffer.WriteInt(3, Field4 - (-1));
     buffer.WriteInt(32, snoActorPortrait);
     buffer.WriteInt(7, Field6);
     StateData.Encode(buffer);
     buffer.WriteBool(Field8);
     buffer.WriteInt(32, Field9);
     buffer.WriteUInt(32, ActorID);
 }
コード例 #15
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(33, Field0);
     buffer.WriteInt(3, Field1 - (-1));
     buffer.WriteInt(32, Field2);
     buffer.WriteInt(32, Field3);
     buffer.WriteInt(32, Field4);
     buffer.WriteBool(Field5);
     buffer.WriteInt(32, Field6);
     buffer.WriteInt(16, Field7);
     buffer.WriteInt(3, Field8 - (1));
     buffer.WriteInt(32, Field9);
     buffer.WriteInt(32, Field10);
     buffer.WriteInt(16, Field11);
 }
コード例 #16
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(33, Field0);
     buffer.WriteInt(3, Field1 - (-1));
     buffer.WriteInt(32, Field2);
     buffer.WriteInt(32, Field3);
     buffer.WriteInt(32, Field4);
     buffer.WriteBool(Field5);
     buffer.WriteInt(32, Field6);
     buffer.WriteInt(16, Field7);
     buffer.WriteInt(3, Field8 - (1));
     buffer.WriteInt(32, Field9);
     buffer.WriteInt(32, Field10);
     buffer.WriteInt(16, Field11);
 }
コード例 #17
0
ファイル: PlayLineParams.cs プロジェクト: rosebud/mooege
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, SNOConversation);
     buffer.WriteInt(32, Field1);
     buffer.WriteBool(Field2);
     buffer.WriteInt(32, LineID);
     buffer.WriteInt(32, Field4);
     buffer.WriteInt(32, Field5);
     buffer.WriteInt(32, Field6);
     buffer.WriteInt(32, (int)Gender);
     buffer.WriteInt(32, VoiceClassID);
     buffer.WriteInt(32, snoSpeakerActor);
     buffer.WriteCharArray(49, Name);
     buffer.WriteInt(32, Field11);
     buffer.WriteInt(32, Field12);
     buffer.WriteInt(32, Field13);
     buffer.WriteInt(32, Field14);
     buffer.WriteInt(32, Field15);
 }
コード例 #18
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, snoConversation);
     buffer.WriteInt(32, Field1);
     buffer.WriteBool(Field2);
     buffer.WriteInt(32, Field3);
     buffer.WriteInt(32, Field4);
     buffer.WriteInt(32, Field5);
     buffer.WriteInt(32, Field6);
     buffer.WriteInt(32, Field7);
     buffer.WriteInt(32, Field8);
     buffer.WriteInt(32, snoSpeakerActor);
     buffer.WriteCharArray(49, Field10);
     buffer.WriteInt(32, Field11);
     buffer.WriteInt(32, Field12);
     buffer.WriteInt(32, Field13);
     buffer.WriteInt(32, Field14);
     buffer.WriteInt(32, Field15);
 }
コード例 #19
0
ファイル: PlayLineParams.cs プロジェクト: Tareg/mooege
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, snoConversation);
     buffer.WriteInt(32, Field1);
     buffer.WriteBool(Field2);
     buffer.WriteInt(32, Field3);
     buffer.WriteInt(32, Field4);
     buffer.WriteInt(32, Field5);
     buffer.WriteInt(32, Field6);
     buffer.WriteInt(32, Field7);
     buffer.WriteInt(32, Field8);
     buffer.WriteInt(32, snoSpeakerActor);
     buffer.WriteCharArray(49, Field10);
     buffer.WriteInt(32, Field11);
     buffer.WriteInt(32, Field12);
     buffer.WriteInt(32, Field13);
     buffer.WriteInt(32, Field14);
     buffer.WriteInt(32, Field15);
 }
コード例 #20
0
ファイル: PlayLineParams.cs プロジェクト: yg7845333/mooege
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, SNOConversation);
     buffer.WriteInt(32, Field1);
     buffer.WriteBool(Field2);
     buffer.WriteBool(Field3);
     buffer.WriteInt(32, LineID);
     buffer.WriteInt(32, (int)Speaker);
     buffer.WriteInt(32, Field5);
     buffer.WriteInt(32, (int)TextClass);
     buffer.WriteInt(32, (int)Gender);
     buffer.WriteInt(32, (int)AudioClass);
     buffer.WriteInt(32, SNOSpeakerActor);
     buffer.WriteCharArray(49, Name);
     buffer.WriteInt(32, Field11);
     buffer.WriteInt(32, AnimationTag);
     buffer.WriteInt(32, Duration);
     buffer.WriteInt(32, Id);
     buffer.WriteInt(32, Field15);
 }
コード例 #21
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(64, Field0);
 }
コード例 #22
0
 public void Encode(GameBitBuffer buffer)
 {
     Field0.Encode(buffer);
     buffer.WriteInt(32, Field1);
     buffer.WriteInt(32, Field2);
     buffer.WriteInt(32, Field3);
     Field4.Encode(buffer);
     Field5.Encode(buffer);
     buffer.WriteFloat32(Field6);
     buffer.WriteFloat32(Field7);
     buffer.WriteInt(32, Field8);
     Field9.Encode(buffer);
     buffer.WriteCharArray(128, Field10);
 }
コード例 #23
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(49, Name);
     buffer.WriteInt(32, Field1);
     buffer.WriteInt(30, Field2);
 }
コード例 #24
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(512, Field0);
 }
コード例 #25
0
ファイル: CreateHeroMessage.cs プロジェクト: ReptileZ/mooege
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(49, Name);
     buffer.WriteInt(32, Field1);
     buffer.WriteInt(30, Field2);
 }
コード例 #26
0
ファイル: PlayLineParams.cs プロジェクト: hubbza/mooege
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, SNOConversation);
     buffer.WriteInt(32, Field1);
     buffer.WriteBool(Field2);
     buffer.WriteBool(Field3);
     buffer.WriteBool(Field4);
     buffer.WriteInt(32, LineID);
     buffer.WriteInt(32, (int)Speaker);
     buffer.WriteInt(32, Field5);
     buffer.WriteInt(32, (int)TextClass);
     buffer.WriteInt(32, SNOSpeakerActor);
     buffer.WriteInt(32, (int)Gender);
     buffer.WriteInt(32, (int)AudioClass);
     buffer.WriteCharArray(49, Name);
     buffer.WriteInt(32, Field11);
     buffer.WriteInt(32, AnimationTag);
     buffer.WriteInt(32, Duration);
     buffer.WriteInt(32, Id);
     buffer.WriteInt(32, Field15);
 }
コード例 #27
0
ファイル: VersionsMessage.cs プロジェクト: Xtracti0n/d3sharp
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, SNOPackHash);
     buffer.WriteInt(32, ProtocolHash);
     buffer.WriteCharArray(32, Version);
 }
コード例 #28
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(128, Field0);
     Field1.Encode(buffer);
     buffer.WriteInt(32, Field2);
     buffer.WriteInt(32, Field3);
     Field4.Encode(buffer);
     serEntries.Encode(buffer);
 }
コード例 #29
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(64, Field0);
     buffer.WriteInt(32, Field1);
     Field2.Encode(buffer);
     wsBounds.Encode(buffer);
     Field4.Encode(buffer);
     Field5.Encode(buffer);
     Field6.Encode(buffer);
     buffer.WriteInt(32, Field7);
     serShapes.Encode(buffer);
     Field9.Encode(buffer);
     serConstraint.Encode(buffer);
     Field11.Encode(buffer);
     buffer.WriteInt(32, snoParticleSystem);
 }
コード例 #30
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(64, Field0);
     buffer.WriteFloat32(Field1);
     buffer.WriteFloat32(Field2);
     buffer.WriteFloat32(Field3);
 }
コード例 #31
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     buffer.WriteInt(32, nVertCount);
     serVertList.Encode(buffer);
     Field3.Encode(buffer);
     serInfluenceList.Encode(buffer);
     Field5.Encode(buffer);
     buffer.WriteInt(32, nIndexCount);
     serIndexList.Encode(buffer);
     Field8.Encode(buffer);
     serClothStructure.Encode(buffer);
     Field10.Encode(buffer);
     buffer.WriteInt(32, snoSurface);
     buffer.WriteInt(32, Field12);
     buffer.WriteFloat32(Field13);
     buffer.WriteCharArray(128, Field14);
     buffer.WriteCharArray(128, Field15);
     aabbBounds.Encode(buffer);
     buffer.WriteInt(32, nShapeCount);
     serShapes.Encode(buffer);
     Field19.Encode(buffer);
 }
コード例 #32
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(32, Account);
     buffer.WriteCharArray(32, Password);
 }
コード例 #33
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(3, Field0);
     Field1.Encode(buffer);
     Field2.Encode(buffer);
     buffer.WriteCharArray(49, Field3);
     buffer.WriteInt(5, Field4 - (-1));
     buffer.WriteInt(3, Field5 - (-1));
     buffer.WriteInt(32, snoActorPortrait);
     buffer.WriteInt(7, Field7);
     Field8.Encode(buffer);
     buffer.WriteBool(Field9);
     buffer.WriteInt(32, Field10);
     buffer.WriteInt(32, Field11);
 }
コード例 #34
0
 public void Encode(GameBitBuffer buffer)
 {
     Field0.Encode(buffer);
     buffer.WriteCharArray(33, Field1);
     buffer.WriteInt(3, Field2 - (-1));
     buffer.WriteInt(32, Field3);
     buffer.WriteInt(32, Field4);
     buffer.WriteInt(32, Field5);
     buffer.WriteBool(Field6);
     buffer.WriteInt(32, Field7);
     buffer.WriteInt(16, Field8);
     buffer.WriteInt(3, Field9 - (1));
     buffer.WriteInt(32, Field10);
     buffer.WriteInt(32, Field11);
     buffer.WriteInt(16, Field12);
 }
コード例 #35
0
 public void Encode(GameBitBuffer buffer)
 {
     Field0.Encode(buffer);
     serEntry.Encode(buffer);
     buffer.WriteCharArray(80, Field2);
     buffer.WriteCharArray(256, Field3);
 }
コード例 #36
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(128, Field0);
     serSOAs.Encode(buffer);
     Field2.Encode(buffer);
 }
コード例 #37
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(64, Field0);
     buffer.WriteInt(32, Field1);
     Field2.Encode(buffer);
 }
コード例 #38
0
ファイル: VersionsMessage.cs プロジェクト: realTobby/NullD
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, SNOPackHash);
     buffer.WriteInt(32, ProtocolHash);
     buffer.WriteCharArray(32, Version);
 }
コード例 #39
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(128, Field0);
     buffer.WriteInt(32, Field1);
     buffer.WriteInt(32, Field2);
     Field3.Encode(buffer);
     serSubSceneGroups.Encode(buffer);
     Field5.Encode(buffer);
 }
コード例 #40
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, snoSoundBank);
     buffer.WriteCharArray(129, Field1);
     buffer.WriteFloat32(Field2);
     buffer.WriteInt(32, Field3);
     buffer.WriteInt(32, Field4);
     buffer.WriteInt(32, Field5);
     buffer.WriteInt(32, Field6);
     buffer.WriteInt(32, Field7);
     buffer.WriteInt(32, Field8);
     buffer.WriteInt(32, Field9);
     buffer.WriteInt(32, Field10);
     buffer.WriteInt(32, Field11);
     buffer.WriteInt(32, Field12);
 }
コード例 #41
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     buffer.WriteCharArray(512, Field1);
 }
コード例 #42
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(129, Field0);
     buffer.WriteCharArray(256, Field1);
     buffer.WriteCharArray(256, Field2);
     buffer.WriteBool(Field3);
     buffer.WriteBool(Field4);
     buffer.WriteInt(32, Field5);
     buffer.WriteInt(32, Field6);
     buffer.WriteInt(32, Field7);
     buffer.WriteInt(32, eFormat);
     serSamples.Encode(buffer);
 }
コード例 #43
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, dwFlags);
     buffer.WriteInt(32, nBoneCount);
     serBoneStructure.Encode(buffer);
     Field3.Encode(buffer);
     Field4.Encode(buffer);
     buffer.WriteInt(32, Field5);
     Field6.Encode(buffer);
     serBonePulses.Encode(buffer);
     for(int i = 0;i < _Field8.Length;i++) _Field8[i].Encode(buffer);
     Field9.Encode(buffer);
     buffer.WriteInt(32, nCollisionCapsuleCount);
     serCollisionCapsules.Encode(buffer);
     Field12.Encode(buffer);
     buffer.WriteInt(32, nHardpointCount);
     serHardpoints.Encode(buffer);
     Field15.Encode(buffer);
     Field16.Encode(buffer);
     tOctreeVisualMesh.Encode(buffer);
     aabbBounds.Encode(buffer);
     buffer.WriteInt(32, nLoopConstraintCount);
     serLoopConstraints.Encode(buffer);
     Field21.Encode(buffer);
     buffer.WriteInt(32, uRagdollDegrade);
     buffer.WriteCharArray(256, Field23);
     buffer.WriteCharArray(256, Field24);
     buffer.WriteCharArray(256, Field25);
     buffer.WriteCharArray(256, Field26);
     buffer.WriteInt(32, Field27);
     buffer.WriteFloat32(Field28);
     buffer.WriteInt(32, Field29);
 }
コード例 #44
0
 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(64, Field0);
     buffer.WriteInt(32, Field1);
     buffer.WriteInt(32, Field2);
     buffer.WriteInt(32, Field3);
     buffer.WriteInt(32, Field4);
     Field5.Encode(buffer);
     Field6.Encode(buffer);
     Field7.Encode(buffer);
     Field8.Encode(buffer);
     buffer.WriteFloat32(Field9);
     buffer.WriteFloat32(Field10);
     buffer.WriteFloat32(Field11);
     buffer.WriteFloat32(Field12);
     buffer.WriteFloat32(Field13);
     buffer.WriteFloat32(Field14);
     buffer.WriteFloat32(Field15);
     buffer.WriteFloat32(Field16);
     buffer.WriteFloat32(Field17);
     buffer.WriteCharArray(64, Field18);
 }
コード例 #45
0
 public void Encode(GameBitBuffer buffer)
 {
     Field0.Encode(buffer);
     buffer.WriteInt(32, Field1);
     buffer.WriteCharArray(512, Field2);
 }