C# Class wServer.realm.World

Inheritance: IDisposable
Afficher le fichier Open project: C453/OryxKingdom Class Usage Examples

Méthodes publiques

Свойство Type Description
ExtraVar string

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
FromWorldMap ( Stream dat ) : void
Init ( ) : void
World ( ) : System

Method Details

BehaviorEvent() public méthode

public BehaviorEvent ( string type ) : void
type string
Résultat void

BroadcastPacket() public méthode

public BroadcastPacket ( wServer.networking.Packet pkt, Player exclude ) : void
pkt wServer.networking.Packet
exclude Player
Résultat void

BroadcastPackets() public méthode

public BroadcastPackets ( IEnumerable pkts, Player exclude ) : void
pkts IEnumerable
exclude Player
Résultat void

Delete() public méthode

public Delete ( ) : bool
Résultat bool

EnterWorld() public méthode

public EnterWorld ( Entity entity ) : int
entity Entity
Résultat int

FromJsonMap() public méthode

public FromJsonMap ( string file ) : void
file string
Résultat void

FromJsonStream() public méthode

public FromJsonStream ( Stream dat ) : void
dat Stream
Résultat void

FromWorldMap() protected méthode

protected FromWorldMap ( Stream dat ) : void
dat Stream
Résultat void

GetEntity() public méthode

public GetEntity ( int id ) : Entity
id int
Résultat Entity

GetInstance() public méthode

public GetInstance ( ClientProcessor psr ) : World
psr ClientProcessor
Résultat World

GetNextEntityId() public méthode

public GetNextEntityId ( ) : int
Résultat int

GetUniqueNamedPlayer() public méthode

public GetUniqueNamedPlayer ( string name ) : Player
name string
Résultat Player

GetUniqueNamedPlayerRough() public méthode

public GetUniqueNamedPlayerRough ( string name ) : Player
name string
Résultat Player

Init() protected méthode

protected Init ( ) : void
Résultat void

IsPassable() public méthode

public IsPassable ( int x, int y ) : bool
x int
y int
Résultat bool

LeaveWorld() public méthode

public LeaveWorld ( Entity entity ) : void
entity Entity
Résultat void

Tick() public méthode

public Tick ( RealmTime time ) : void
time RealmTime
Résultat void

World() protected méthode

protected World ( ) : System
Résultat System

Property Details

ExtraVar public_oe property

public string ExtraVar
Résultat string