- Namespace
- Atavism
- Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IGameWorld"]
click Interface0 "/docs/client_api_10.4.0/api/Atavism/IGameWorld"
Type["AtavismGameWorld"]
class Type type-node
Syntax
public class AtavismGameWorld : IGameWorld
Constructors
Name | Summary |
---|---|
AtavismGameWorld |
Simple constructor that takes a reference to the game client, and sets up the basic game state. In this case, that state contains information about inventory, quests, group membership, and the colors to use for chat. |
Fields
Name | Constant Value | Summary |
---|---|---|
client | ||
worldManager |
Properties
Name | Value | Summary |
---|---|---|
Instance | AtavismGameWorld |
Get the singleton
static
|
WorldManager | AtavismWorldManager |
Get or set the WorldManager object that keeps track of objects in the world.
|
Methods
Name | Value | Summary |
---|---|---|
Dispose |
void |
Clean up our game specific information
|
HandleDirection |
void |
Special handling for DirectionMessage objects.
This updates the collision volumes if needed.
|
HandleObjectProperty |
void | |
Initialize |
void |
Sets up the default cursor.
|
PlayerEnteringWorld |
void |
This method is called when the player enters the world.
Generally this only happens when the player logs in.
This injects 'PLAYER_ENTERING_WORLD' and 'UNIT_NAME_UPDATE'
UI events so that any interested widgets can update their data.
|
SetupMessageHandlers |
void |
Register our message handlers with the message callback system
so that we can have custom logic associated with incoming
messages.
|
Write |
void |
Writes a message using the specified channel.
|