C# Class wServer.realm.World

Inheritance: IDisposable
Mostrar archivo Open project: C453/OryxKingdom Class Usage Examples

Public Properties

Property Type Description
ExtraVar string

Public Methods

Method Description
BehaviorEvent ( string type ) : void
BroadcastPacket ( wServer.networking.Packet pkt, Player exclude ) : void
BroadcastPackets ( IEnumerable pkts, Player exclude ) : void
Delete ( ) : bool
EnterWorld ( Entity entity ) : int
FromJsonMap ( string file ) : void
FromJsonStream ( Stream dat ) : void
GetEntity ( int id ) : Entity
GetInstance ( ClientProcessor psr ) : World
GetNextEntityId ( ) : int
GetUniqueNamedPlayer ( string name ) : Player
GetUniqueNamedPlayerRough ( string name ) : Player
IsPassable ( int x, int y ) : bool
LeaveWorld ( Entity entity ) : void
Tick ( RealmTime time ) : void

Protected Methods

Method Description
FromWorldMap ( Stream dat ) : void
Init ( ) : void
World ( ) : System

Method Details

BehaviorEvent() public method

public BehaviorEvent ( string type ) : void
type string
return void

BroadcastPacket() public method

public BroadcastPacket ( wServer.networking.Packet pkt, Player exclude ) : void
pkt wServer.networking.Packet
exclude Player
return void

BroadcastPackets() public method

public BroadcastPackets ( IEnumerable pkts, Player exclude ) : void
pkts IEnumerable
exclude Player
return void

Delete() public method

public Delete ( ) : bool
return bool

EnterWorld() public method

public EnterWorld ( Entity entity ) : int
entity Entity
return int

FromJsonMap() public method

public FromJsonMap ( string file ) : void
file string
return void

FromJsonStream() public method

public FromJsonStream ( Stream dat ) : void
dat Stream
return void

FromWorldMap() protected method

protected FromWorldMap ( Stream dat ) : void
dat Stream
return void

GetEntity() public method

public GetEntity ( int id ) : Entity
id int
return Entity

GetInstance() public method

public GetInstance ( ClientProcessor psr ) : World
psr ClientProcessor
return World

GetNextEntityId() public method

public GetNextEntityId ( ) : int
return int

GetUniqueNamedPlayer() public method

public GetUniqueNamedPlayer ( string name ) : Player
name string
return Player

GetUniqueNamedPlayerRough() public method

public GetUniqueNamedPlayerRough ( string name ) : Player
name string
return Player

Init() protected method

protected Init ( ) : void
return void

IsPassable() public method

public IsPassable ( int x, int y ) : bool
x int
y int
return bool

LeaveWorld() public method

public LeaveWorld ( Entity entity ) : void
entity Entity
return void

Tick() public method

public Tick ( RealmTime time ) : void
time RealmTime
return void

World() protected method

protected World ( ) : System
return System

Property Details

ExtraVar public_oe property

public string ExtraVar
return string