コード例 #1
0
        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();
        }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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);
 }
コード例 #4
0
 public unsafe RooWall(ref byte *Buffer)
 {
     BowtieFlags = new BowtieFlags();
     ReadFrom(ref Buffer);
 }
コード例 #5
0
 public RooWall(byte[] Buffer, int StartIndex = 0)
 {
     BowtieFlags = new BowtieFlags();
     ReadFrom(Buffer, StartIndex);
 }