Client LuaCsForBarotrauma
IReadMessage.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 
5 namespace Barotrauma.Networking
6 {
7  interface IReadMessage
8  {
9  bool ReadBoolean();
10  void ReadPadBits();
11  byte ReadByte();
12  byte PeekByte();
13  UInt16 ReadUInt16();
14  Int16 ReadInt16();
15  UInt32 ReadUInt32();
16  Int32 ReadInt32();
17  UInt64 ReadUInt64();
18  Int64 ReadInt64();
19  Single ReadSingle();
20  Double ReadDouble();
22  String ReadString();
23  Identifier ReadIdentifier();
24  Microsoft.Xna.Framework.Color ReadColorR8G8B8();
25  Microsoft.Xna.Framework.Color ReadColorR8G8B8A8();
26  int ReadRangedInteger(int min, int max);
27  Single ReadRangedSingle(Single min, Single max, int bitCount);
28  byte[] ReadBytes(int numberOfBytes);
29 
30  int BitPosition { get; set; }
31  int BytePosition { get; }
32  byte[] Buffer { get; }
33  int LengthBits { get; set; }
34  int LengthBytes { get; }
35 
37  }
38 }
Microsoft.Xna.Framework.Color ReadColorR8G8B8A8()
int ReadRangedInteger(int min, int max)
Single ReadRangedSingle(Single min, Single max, int bitCount)
byte[] ReadBytes(int numberOfBytes)
Microsoft.Xna.Framework.Color ReadColorR8G8B8()