当前位置: 首页>>代码示例>>C#>>正文


C# GameBitBuffer.WriteCharArray方法代码示例

本文整理汇总了C#中GameBitBuffer.WriteCharArray方法的典型用法代码示例。如果您正苦于以下问题:C# GameBitBuffer.WriteCharArray方法的具体用法?C# GameBitBuffer.WriteCharArray怎么用?C# GameBitBuffer.WriteCharArray使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GameBitBuffer的用法示例。


在下文中一共展示了GameBitBuffer.WriteCharArray方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Encode

 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     buffer.WriteCharArray(128, Field1);
     buffer.WriteCharArray(49, Field2);
     buffer.WriteInt(4, Field3 - (2));
 }
开发者ID:rotacioskapa,项目名称:mooege,代码行数:7,代码来源:JoinLANGameMessage.cs

示例2: Encode

 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);
 }
开发者ID:rosebud,项目名称:mooege,代码行数:14,代码来源:NewPlayerMessage.cs

示例3: Encode

 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);
 }
开发者ID:rotacioskapa,项目名称:mooege,代码行数:14,代码来源:NewPlayerMessage.cs

示例4: Encode

 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(512, Field0);
     buffer.WriteInt(4, Field1 - (-1));
     Field2.Encode(buffer);
     buffer.WriteInt(32, Field3);
 }
开发者ID:Rianon,项目名称:mooege,代码行数:7,代码来源:TryConsoleCommand.cs

示例5: Encode

 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);
 }
开发者ID:wow4all,项目名称:mooege,代码行数:13,代码来源:DebugDrawPrimMessage.cs

示例6: Encode

 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);
     }
 }
开发者ID:rotacioskapa,项目名称:mooege,代码行数:14,代码来源:DisplayGameTextMessage.cs

示例7: Encode

 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);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:15,代码来源:CreateBNetGameMessage.cs

示例8: Encode

 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);
 }
开发者ID:Tareg,项目名称:mooege,代码行数:19,代码来源:PlayLineParams.cs

示例9: Encode

 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);
 }
开发者ID:rosebud,项目名称:mooege,代码行数:19,代码来源:PlayLineParams.cs

示例10: Encode

 public void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(128, Field0);
     serSOAs.Encode(buffer);
     Field2.Encode(buffer);
 }
开发者ID:starcasters,项目名称:type-extractor,代码行数:6,代码来源:classgenerator-output.cs

示例11: Encode

 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     buffer.WriteCharArray(512, Field1);
 }
开发者ID:rotacioskapa,项目名称:mooege,代码行数:5,代码来源:DebugActorTooltipMessage.cs

示例12: Encode

 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);
 }
开发者ID:neoxd2,项目名称:mooege,代码行数:15,代码来源:classgenerator-output.cs

示例13: Encode

 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, SNOPackHash);
     buffer.WriteInt(32, ProtocolHash);
     buffer.WriteCharArray(32, Version);
 }
开发者ID:Xtracti0n,项目名称:d3sharp,代码行数:6,代码来源:VersionsMessage.cs

示例14: Encode

 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteCharArray(49, Name);
     buffer.WriteInt(32, Field1);
     buffer.WriteInt(30, Field2);
 }
开发者ID:ReptileZ,项目名称:mooege,代码行数:6,代码来源:CreateHeroMessage.cs

示例15: Encode

 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);
 }
开发者ID:hubbza,项目名称:mooege,代码行数:21,代码来源:PlayLineParams.cs


注:本文中的GameBitBuffer.WriteCharArray方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。