Server.Network.PacketHandlers.NewTerrain C# (CSharp) Méthode

NewTerrain() public static méthode

public static NewTerrain ( NetState state, PacketReader pvSrc ) : void
state NetState
pvSrc PacketReader
Résultat void
        public static void NewTerrain( NetState state, PacketReader pvSrc )
        {
            if ( VerifyGC( state ) )
            {
                int x = pvSrc.ReadInt16();
                int y = pvSrc.ReadInt16();
                int id = pvSrc.ReadUInt16();
                int width = pvSrc.ReadInt16();
                int height = pvSrc.ReadInt16();

                Console.WriteLine( "God Client: {0}: New Terrain ({1}, {2})+({3}, {4}) 0x{5:X4}", state, x, y, width, height, id );
            }
        }
PacketHandlers