public RooWall(short ServerID, ushort RightSideReference, ushort LeftSideReference, int X1, int Y1, int X2, int Y2, ushort ClientLength, short RightXOffset, short LeftXOffset, short RightYOffset, short LeftYOffset, ushort RightSectorReference, ushort LeftSectorReference) { this.ServerID = ServerID; this.RightSideReference = RightSideReference; this.LeftSideReference = LeftSideReference; this.X1 = X1; this.Y1 = Y1; this.X2 = X2; this.Y2 = Y2; this.ClientLength = ClientLength; this.RightXOffset = RightXOffset; this.LeftXOffset = LeftXOffset; this.RightYOffset = RightYOffset; this.LeftYOffset = LeftYOffset; this.RightSectorReference = RightSectorReference; this.LeftSectorReference = LeftSectorReference; this.BowtieFlags = new BowtieFlags(); }
/// <summary> /// Constructor by pointerbased parser /// </summary> /// <param name="RooVersion"></param> /// <param name="Buffer"></param> public unsafe RooWall(uint RooVersion, ref byte* Buffer) { this.RooVersion = RooVersion; BowtieFlags = new BowtieFlags(); ReadFrom(ref Buffer); }
/// <summary> /// Constructor by managed parser /// </summary> /// <param name="RooVersion"></param> /// <param name="Buffer"></param> /// <param name="StartIndex"></param> public RooWall(uint RooVersion, byte[] Buffer, int StartIndex = 0) { this.RooVersion = RooVersion; BowtieFlags = new BowtieFlags(); ReadFrom(Buffer, StartIndex); }
public unsafe RooWall(ref byte *Buffer) { BowtieFlags = new BowtieFlags(); ReadFrom(ref Buffer); }
public RooWall(byte[] Buffer, int StartIndex = 0) { BowtieFlags = new BowtieFlags(); ReadFrom(Buffer, StartIndex); }