C# Class FOnline.Map

Mostra file Open project: wladimiiir/vault112 Class Usage Examples

Public Methods

Method Description
AddItem ( ushort hx, ushort hy, ushort pid, uint count ) : Item
AddNpc ( ushort pid, ushort hx, ushort hy, Direction dir, IntArray parameters, IntArray items, string script ) : Critter
AddRef ( ) : void
BeginTurnBased ( Critter first_turn_crit ) : void
BlockHex ( ushort hx, ushort hy, bool full ) : void
CheckPlaceForItem ( ushort hx, ushort hy, ushort pid ) : bool
CountEntire ( int entire ) : uint
EndTurnBased ( ) : void
EventCritterDead ( Critter cr, Critter killer ) : void
EventFinish ( bool deleted ) : void
EventInCritter ( Critter cr ) : void
EventLoop0 ( ) : void
EventLoop1 ( ) : void
EventLoop2 ( ) : void
EventLoop3 ( ) : void
EventLoop4 ( ) : void
EventOutCritter ( Critter cr ) : void
EventTurnBasedBegin ( ) : void
EventTurnBasedEnd ( ) : void
EventTurnBasedProcess ( bool begin_turn ) : void
GetCar ( ushort hx, ushort hy ) : Item
GetCritter ( uint critter_id ) : Critter
GetCritter ( ushort hx, ushort hy ) : Critter
GetCritters ( ushort pid, Find find_type, CritterArray critters = null ) : uint
GetCrittersHex ( ushort hx, ushort hy, uint radius, Find find_type, CritterArray critters ) : uint
GetCrittersPath ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, Find find_type, CritterArray critters ) : uint
GetCrittersPath ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, Find find_type, CritterArray critters, ushort &pre_block_hx, ushort &pre_block_hy, ushort &block_hx, ushort &block_hy ) : uint
GetCrittersSeeing ( CritterArray critters, bool look_on_them, Find find_type, CritterArray critters_result ) : uint
GetCrittersWhoViewPath ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, Find find_type, CritterArray critters ) : uint
GetData ( uint index ) : int
GetDayColor ( uint day_part, byte &r, byte &g, byte &b ) : void
GetDayTime ( uint day_part ) : uint
GetDoor ( ushort hx, ushort hy ) : Item
GetEntireCoords ( int entire, uint skip, ushort &hx, ushort &hy ) : bool
GetEntireCoords ( int entire, uint skip, ushort &hx, ushort &hy, Direction &dir ) : bool
GetEntires ( int entire, UIntArray entires, UInt16Array hx, UInt16Array hy ) : uint
GetHeight ( ) : ushort
GetHexCoord ( ushort from_hx, ushort from_hy, ushort &to_hx, ushort &to_hy, float angle, uint dist ) : void
GetHexCoordWall ( ushort from_hx, ushort from_hy, ushort &to_hx, ushort &to_hy, float angle, uint dist ) : void
GetItem ( uint item_id ) : Item
GetItem ( ushort hx, ushort hy, ushort pid ) : Item
GetItems ( ushort pid, ItemArray items ) : uint
GetItems ( ushort hx, ushort hy, ItemArray items ) : uint
GetItems ( ushort hx, ushort hy, uint radius, ushort pid, ItemArray items ) : uint
GetItemsByType ( int type, ItemArray items ) : uint
GetLocation ( ) : Location
GetNearEntireCoords ( int &entire, ushort &hx, ushort &hy ) : bool
GetNearEntireCoords ( int &entire, ushort &hx, ushort &hy, Direction &dir ) : bool
GetNpc ( int npc_role, int find_type, uint skip_count ) : Critter
GetNpcCount ( int npc_role, int find_type ) : uint
GetPathLength ( Critter cr, ushort to_hx, ushort to_hy, uint cut ) : uint
GetPathLength ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, uint cut ) : uint
GetProtoId ( ) : ushort
GetRain ( ) : byte
GetSceneries ( ushort hx, ushort hy, SceneryArray sceneries ) : uint
GetSceneries ( ushort hx, ushort hy, uint radius, ushort pid, SceneryArray sceneries ) : uint
GetSceneriesByPid ( ushort pid, SceneryArray sceneries ) : uint
GetScriptId ( ) : uint
GetTime ( ) : int
GetTurnBasedSequence ( UIntArray critter_ids ) : int
GetWidth ( ) : ushort
IsHexPassed ( ushort hx, ushort hy ) : bool
IsHexRaked ( ushort hx, ushort hy ) : bool
IsTurnBased ( ) : bool
IsTurnBasedAvailability ( ) : bool
MoveHexByDir ( ushort &hx, ushort &hy, Direction dir, uint steps ) : void
PlaySound ( string sound_name ) : void
PlaySound ( string sound_name, ushort hx, ushort hy, uint radius ) : void
RaiseCritterDead ( Critter cr, Critter killer ) : void
RaiseFinish ( bool to_delete ) : void
RaiseInCritter ( Critter cr ) : void
RaiseLoop ( ) : void
RaiseOutCritter ( Critter cr ) : void
RaiseTurnBasedBegin ( ) : void
RaiseTurnBasedEnd ( ) : void
RaiseTurnBasedProcess ( Critter cr, bool begin_turn ) : void
Release ( ) : void
Reload ( ) : void
RunEffect ( ushort pid, ushort hx, ushort hy, ushort radius ) : void
RunFlyEffect ( ushort pid, Critter from_cr, Critter to_cr, ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy ) : void
SetData ( uint index, int value ) : void
SetDayColor ( uint day_part, byte r, byte g, byte b ) : void
SetDayTime ( uint day_part, uint time ) : void
SetLoopTime ( uint num_loop, uint ms ) : void
SetRain ( byte capacity ) : void
SetScript ( string script ) : bool
SetText ( ushort hx, ushort hy, uint color, string text ) : void
SetTextMsg ( ushort hx, ushort hy, uint color, ushort text_msg, uint str_num ) : void
SetTextMsgLex ( ushort hx, ushort hy, uint color, ushort text_msg, uint str_num, string lexems ) : void
SetTime ( int time ) : void
SetTurnBasedAvailability ( bool value ) : void
UnblockHex ( ushort hx, ushort hy ) : void
VerifyTrigger ( Critter cr, ushort hx, ushort hy, Direction dir ) : bool

Private Methods

Method Description
AddRef ( IntPtr ptr ) : void
Map_AddItem ( IntPtr thisptr, ushort hx, ushort hy, ushort pid, uint count ) : IntPtr
Map_AddNpc ( IntPtr thisptr, ushort pid, ushort hx, ushort hy, byte dir, IntPtr _params, IntPtr items, IntPtr script ) : IntPtr
Map_BeginTurnBased ( IntPtr thisptr, IntPtr first_turn_crit ) : void
Map_BlockHex ( IntPtr thisptr, ushort hx, ushort hy, bool full ) : void
Map_CheckPlaceForItem ( IntPtr thisptr, ushort hx, ushort hy, ushort pid ) : bool
Map_CountEntire ( IntPtr thisptr, int entire ) : uint
Map_EndTurnBased ( IntPtr thisptr ) : void
Map_EventCritterDead ( IntPtr thisptr, IntPtr cr, IntPtr killer ) : void
Map_EventFinish ( IntPtr thisptr, bool deleted ) : void
Map_EventInCritter ( IntPtr thisptr, IntPtr cr ) : void
Map_EventLoop0 ( IntPtr thisptr ) : void
Map_EventLoop1 ( IntPtr thisptr ) : void
Map_EventLoop2 ( IntPtr thisptr ) : void
Map_EventLoop3 ( IntPtr thisptr ) : void
Map_EventLoop4 ( IntPtr thisptr ) : void
Map_EventOutCritter ( IntPtr thisptr, IntPtr cr ) : void
Map_EventTurnBasedBegin ( IntPtr thisptr ) : void
Map_EventTurnBasedEnd ( IntPtr thisptr ) : void
Map_EventTurnBasedProcess ( IntPtr thisptr, bool begin_turn ) : void
Map_GetCar ( IntPtr thisptr, ushort hx, ushort hy ) : IntPtr
Map_GetCritterById ( IntPtr thisptr, uint critter_id ) : IntPtr
Map_GetCritterHex ( IntPtr thisptr, ushort hx, ushort hy ) : IntPtr
Map_GetCritters ( IntPtr thisptr, ushort hx, ushort hy, uint radius, int find_type, IntPtr critters ) : uint
Map_GetCrittersByPids ( IntPtr thisptr, ushort pid, int find_type, IntPtr critters ) : uint
Map_GetCrittersInPath ( IntPtr thisptr, ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, int find_type, IntPtr critters ) : uint
Map_GetCrittersInPath ( IntPtr thisptr, ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, int find_type, IntPtr critters, ushort &pre_block_hx, ushort &pre_block_hy, ushort &block_hx, ushort &block_hy ) : uint
Map_GetCrittersSeeing ( IntPtr thisptr, IntPtr critters, bool look_on_them, int find_type, IntPtr critters_result ) : uint
Map_GetCrittersWhoViewPath ( IntPtr thisptr, ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, int find_type, IntPtr critters ) : uint
Map_GetData ( IntPtr thisptr, uint index ) : int
Map_GetDayColor ( IntPtr thisptr, uint day_part, byte &r, byte &g, byte &b ) : void
Map_GetDayTime ( IntPtr thisptr, uint day_part ) : uint
Map_GetDoor ( IntPtr thisptr, ushort hx, ushort hy ) : IntPtr
Map_GetEntireCoords ( IntPtr thisptr, int entire, uint skip, ushort &hx, ushort &hy ) : bool
Map_GetEntireCoordsDir ( IntPtr thisptr, int entire, uint skip, ushort &hx, ushort &hy, byte &dir ) : bool
Map_GetEntires ( IntPtr thisptr, int entire, IntPtr entires, IntPtr hx, IntPtr hy ) : uint
Map_GetHeight ( IntPtr thisptr ) : ushort
Map_GetHexInPath ( IntPtr thisptr, ushort from_hx, ushort from_hy, ushort &to_hx, ushort &to_hy, float angle, uint dist ) : void
Map_GetHexInPathWall ( IntPtr thisptr, ushort from_hx, ushort from_hy, ushort &to_hx, ushort &to_hy, float angle, uint dist ) : void
Map_GetItem ( IntPtr thisptr, uint item_id ) : IntPtr
Map_GetItemHex ( IntPtr thisptr, ushort hx, ushort hy, ushort pid ) : IntPtr
Map_GetItemsByPid ( IntPtr thisptr, ushort pid, IntPtr items ) : uint
Map_GetItemsByType ( IntPtr thisptr, int type, IntPtr items ) : uint
Map_GetItemsHex ( IntPtr thisptr, ushort hx, ushort hy, IntPtr items ) : uint
Map_GetItemsHexEx ( IntPtr thisptr, ushort hx, ushort hy, uint radius, ushort pid, IntPtr items ) : uint
Map_GetLocation ( IntPtr thisptr ) : IntPtr
Map_GetNearEntireCoords ( IntPtr thisptr, int &entire, ushort &hx, ushort &hy ) : bool
Map_GetNearEntireCoordsDir ( IntPtr thisptr, int &entire, ushort &hx, ushort &hy, byte &dir ) : bool
Map_GetNpc ( IntPtr thisptr, int npc_role, int find_type, uint skip_count ) : IntPtr
Map_GetNpcCount ( IntPtr thisptr, int npc_role, int find_type ) : uint
Map_GetPathLengthCr ( IntPtr thisptr, IntPtr cr, ushort to_hx, ushort to_hy, uint cut ) : uint
Map_GetPathLengthHex ( IntPtr thisptr, ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, uint cut ) : uint
Map_GetProtoId ( IntPtr thisptr ) : ushort
Map_GetRain ( IntPtr thisptr ) : byte
Map_GetSceneriesByPid ( IntPtr thisptr, ushort pid, IntPtr sceneries ) : uint
Map_GetSceneriesHex ( IntPtr thisptr, ushort hx, ushort hy, IntPtr sceneries ) : uint
Map_GetSceneriesHexEx ( IntPtr thisptr, ushort hx, ushort hy, uint radius, ushort pid, IntPtr sceneries ) : uint
Map_GetScriptId ( IntPtr thisptr ) : uint
Map_GetTime ( IntPtr thisptr ) : int
Map_GetTurnBasedSequence ( IntPtr thisptr, IntPtr critter_ids ) : int
Map_GetWidth ( IntPtr thisptr ) : ushort
Map_IsHexPassed ( IntPtr thisptr, ushort hx, ushort hy ) : bool
Map_IsHexRaked ( IntPtr thisptr, ushort hx, ushort hy ) : bool
Map_IsTurnBased ( IntPtr thisptr ) : bool
Map_IsTurnBasedAvailability ( IntPtr thisptr ) : bool
Map_MoveHexByDir ( IntPtr thisptr, ushort &hx, ushort &hy, byte dir, uint steps ) : void
Map_PlaySound ( IntPtr thisptr, IntPtr sound_name ) : void
Map_PlaySoundRadius ( IntPtr thisptr, IntPtr sound_name, ushort hx, ushort hy, uint radius ) : void
Map_Reload ( IntPtr thisptr ) : void
Map_RunEffect ( IntPtr thisptr, ushort pid, ushort hx, ushort hy, ushort radius ) : void
Map_RunFlyEffect ( IntPtr thisptr, ushort pid, IntPtr from_cr, IntPtr to_cr, ushort from_x, ushort from_y, ushort to_x, ushort to_y ) : void
Map_SetData ( IntPtr thisptr, uint index, int value ) : void
Map_SetDayColor ( IntPtr thisptr, uint day_part, byte r, byte g, byte b ) : void
Map_SetDayTime ( IntPtr thisptr, uint day_part, uint time ) : void
Map_SetLoopTime ( IntPtr thisptr, uint num_loop, uint ms ) : void
Map_SetRain ( IntPtr thisptr, byte capacity ) : void
Map_SetScript ( IntPtr thisptr, IntPtr script ) : bool
Map_SetText ( IntPtr thisptr, ushort hx, ushort hy, uint color, IntPtr text ) : void
Map_SetTextMsg ( IntPtr thisptr, ushort hx, ushort hy, uint color, ushort text_msg, uint str_num ) : void
Map_SetTextMsgLex ( IntPtr thisptr, ushort hx, ushort hy, uint color, ushort text_msg, uint str_num, IntPtr lexems ) : void
Map_SetTime ( IntPtr thisptr, int time ) : void
Map_SetTurnBasedAvailability ( IntPtr thisptr, bool value ) : void
Map_UnblockHex ( IntPtr thisptr, ushort hx, ushort hy ) : void
Map_VerifyTrigger ( IntPtr thisptr, IntPtr cr, ushort hx, ushort hy, byte dir ) : bool
Release ( IntPtr ptr ) : void

Method Details

AddItem() public method

public AddItem ( ushort hx, ushort hy, ushort pid, uint count ) : Item
hx ushort
hy ushort
pid ushort
count uint
return Item

AddNpc() public method

public AddNpc ( ushort pid, ushort hx, ushort hy, Direction dir, IntArray parameters, IntArray items, string script ) : Critter
pid ushort
hx ushort
hy ushort
dir Direction
parameters IntArray
items IntArray
script string
return Critter

AddRef() public method

public AddRef ( ) : void
return void

BeginTurnBased() public method

public BeginTurnBased ( Critter first_turn_crit ) : void
first_turn_crit Critter
return void

BlockHex() public method

public BlockHex ( ushort hx, ushort hy, bool full ) : void
hx ushort
hy ushort
full bool
return void

CheckPlaceForItem() public method

public CheckPlaceForItem ( ushort hx, ushort hy, ushort pid ) : bool
hx ushort
hy ushort
pid ushort
return bool

CountEntire() public method

public CountEntire ( int entire ) : uint
entire int
return uint

EndTurnBased() public method

public EndTurnBased ( ) : void
return void

EventCritterDead() public method

public EventCritterDead ( Critter cr, Critter killer ) : void
cr Critter
killer Critter
return void

EventFinish() public method

public EventFinish ( bool deleted ) : void
deleted bool
return void

EventInCritter() public method

public EventInCritter ( Critter cr ) : void
cr Critter
return void

EventLoop0() public method

public EventLoop0 ( ) : void
return void

EventLoop1() public method

public EventLoop1 ( ) : void
return void

EventLoop2() public method

public EventLoop2 ( ) : void
return void

EventLoop3() public method

public EventLoop3 ( ) : void
return void

EventLoop4() public method

public EventLoop4 ( ) : void
return void

EventOutCritter() public method

public EventOutCritter ( Critter cr ) : void
cr Critter
return void

EventTurnBasedBegin() public method

public EventTurnBasedBegin ( ) : void
return void

EventTurnBasedEnd() public method

public EventTurnBasedEnd ( ) : void
return void

EventTurnBasedProcess() public method

public EventTurnBasedProcess ( bool begin_turn ) : void
begin_turn bool
return void

GetCar() public method

public GetCar ( ushort hx, ushort hy ) : Item
hx ushort
hy ushort
return Item

GetCritter() public method

public GetCritter ( uint critter_id ) : Critter
critter_id uint
return Critter

GetCritter() public method

public GetCritter ( ushort hx, ushort hy ) : Critter
hx ushort
hy ushort
return Critter

GetCritters() public method

public GetCritters ( ushort pid, Find find_type, CritterArray critters = null ) : uint
pid ushort
find_type Find
critters CritterArray
return uint

GetCrittersHex() public method

public GetCrittersHex ( ushort hx, ushort hy, uint radius, Find find_type, CritterArray critters ) : uint
hx ushort
hy ushort
radius uint
find_type Find
critters CritterArray
return uint

GetCrittersPath() public method

public GetCrittersPath ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, Find find_type, CritterArray critters ) : uint
from_hx ushort
from_hy ushort
to_hx ushort
to_hy ushort
angle float
dist uint
find_type Find
critters CritterArray
return uint

GetCrittersPath() public method

public GetCrittersPath ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, Find find_type, CritterArray critters, ushort &pre_block_hx, ushort &pre_block_hy, ushort &block_hx, ushort &block_hy ) : uint
from_hx ushort
from_hy ushort
to_hx ushort
to_hy ushort
angle float
dist uint
find_type Find
critters CritterArray
pre_block_hx ushort
pre_block_hy ushort
block_hx ushort
block_hy ushort
return uint

GetCrittersSeeing() public method

public GetCrittersSeeing ( CritterArray critters, bool look_on_them, Find find_type, CritterArray critters_result ) : uint
critters CritterArray
look_on_them bool
find_type Find
critters_result CritterArray
return uint

GetCrittersWhoViewPath() public method

public GetCrittersWhoViewPath ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float angle, uint dist, Find find_type, CritterArray critters ) : uint
from_hx ushort
from_hy ushort
to_hx ushort
to_hy ushort
angle float
dist uint
find_type Find
critters CritterArray
return uint

GetData() public method

public GetData ( uint index ) : int
index uint
return int

GetDayColor() public method

public GetDayColor ( uint day_part, byte &r, byte &g, byte &b ) : void
day_part uint
r byte
g byte
b byte
return void

GetDayTime() public method

public GetDayTime ( uint day_part ) : uint
day_part uint
return uint

GetDoor() public method

public GetDoor ( ushort hx, ushort hy ) : Item
hx ushort
hy ushort
return Item

GetEntireCoords() public method

public GetEntireCoords ( int entire, uint skip, ushort &hx, ushort &hy ) : bool
entire int
skip uint
hx ushort
hy ushort
return bool

GetEntireCoords() public method

public GetEntireCoords ( int entire, uint skip, ushort &hx, ushort &hy, Direction &dir ) : bool
entire int
skip uint
hx ushort
hy ushort
dir Direction
return bool

GetEntires() public method

public GetEntires ( int entire, UIntArray entires, UInt16Array hx, UInt16Array hy ) : uint
entire int
entires UIntArray
hx UInt16Array
hy UInt16Array
return uint

GetHeight() public method

public GetHeight ( ) : ushort
return ushort

GetHexCoord() public method

public GetHexCoord ( ushort from_hx, ushort from_hy, ushort &to_hx, ushort &to_hy, float angle, uint dist ) : void
from_hx ushort
from_hy ushort
to_hx ushort
to_hy ushort
angle float
dist uint
return void

GetHexCoordWall() public method

public GetHexCoordWall ( ushort from_hx, ushort from_hy, ushort &to_hx, ushort &to_hy, float angle, uint dist ) : void
from_hx ushort
from_hy ushort
to_hx ushort
to_hy ushort
angle float
dist uint
return void

GetItem() public method

public GetItem ( uint item_id ) : Item
item_id uint
return Item

GetItem() public method

public GetItem ( ushort hx, ushort hy, ushort pid ) : Item
hx ushort
hy ushort
pid ushort
return Item

GetItems() public method

public GetItems ( ushort pid, ItemArray items ) : uint
pid ushort
items ItemArray
return uint

GetItems() public method

public GetItems ( ushort hx, ushort hy, ItemArray items ) : uint
hx ushort
hy ushort
items ItemArray
return uint

GetItems() public method

public GetItems ( ushort hx, ushort hy, uint radius, ushort pid, ItemArray items ) : uint
hx ushort
hy ushort
radius uint
pid ushort
items ItemArray
return uint

GetItemsByType() public method

public GetItemsByType ( int type, ItemArray items ) : uint
type int
items ItemArray
return uint

GetLocation() public method

public GetLocation ( ) : Location
return Location

GetNearEntireCoords() public method

public GetNearEntireCoords ( int &entire, ushort &hx, ushort &hy ) : bool
entire int
hx ushort
hy ushort
return bool

GetNearEntireCoords() public method

public GetNearEntireCoords ( int &entire, ushort &hx, ushort &hy, Direction &dir ) : bool
entire int
hx ushort
hy ushort
dir Direction
return bool

GetNpc() public method

public GetNpc ( int npc_role, int find_type, uint skip_count ) : Critter
npc_role int
find_type int
skip_count uint
return Critter

GetNpcCount() public method

public GetNpcCount ( int npc_role, int find_type ) : uint
npc_role int
find_type int
return uint

GetPathLength() public method

public GetPathLength ( Critter cr, ushort to_hx, ushort to_hy, uint cut ) : uint
cr Critter
to_hx ushort
to_hy ushort
cut uint
return uint

GetPathLength() public method

public GetPathLength ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, uint cut ) : uint
from_hx ushort
from_hy ushort
to_hx ushort
to_hy ushort
cut uint
return uint

GetProtoId() public method

public GetProtoId ( ) : ushort
return ushort

GetRain() public method

public GetRain ( ) : byte
return byte

GetSceneries() public method

public GetSceneries ( ushort hx, ushort hy, SceneryArray sceneries ) : uint
hx ushort
hy ushort
sceneries SceneryArray
return uint

GetSceneries() public method

public GetSceneries ( ushort hx, ushort hy, uint radius, ushort pid, SceneryArray sceneries ) : uint
hx ushort
hy ushort
radius uint
pid ushort
sceneries SceneryArray
return uint

GetSceneriesByPid() public method

public GetSceneriesByPid ( ushort pid, SceneryArray sceneries ) : uint
pid ushort
sceneries SceneryArray
return uint

GetScriptId() public method

public GetScriptId ( ) : uint
return uint

GetTime() public method

public GetTime ( ) : int
return int

GetTurnBasedSequence() public method

public GetTurnBasedSequence ( UIntArray critter_ids ) : int
critter_ids UIntArray
return int

GetWidth() public method

public GetWidth ( ) : ushort
return ushort

IsHexPassed() public method

public IsHexPassed ( ushort hx, ushort hy ) : bool
hx ushort
hy ushort
return bool

IsHexRaked() public method

public IsHexRaked ( ushort hx, ushort hy ) : bool
hx ushort
hy ushort
return bool

IsTurnBased() public method

public IsTurnBased ( ) : bool
return bool

IsTurnBasedAvailability() public method

public IsTurnBasedAvailability ( ) : bool
return bool

MoveHexByDir() public method

public MoveHexByDir ( ushort &hx, ushort &hy, Direction dir, uint steps ) : void
hx ushort
hy ushort
dir Direction
steps uint
return void

PlaySound() public method

public PlaySound ( string sound_name ) : void
sound_name string
return void

PlaySound() public method

public PlaySound ( string sound_name, ushort hx, ushort hy, uint radius ) : void
sound_name string
hx ushort
hy ushort
radius uint
return void

RaiseCritterDead() public method

public RaiseCritterDead ( Critter cr, Critter killer ) : void
cr Critter
killer Critter
return void

RaiseFinish() public method

public RaiseFinish ( bool to_delete ) : void
to_delete bool
return void

RaiseInCritter() public method

public RaiseInCritter ( Critter cr ) : void
cr Critter
return void

RaiseLoop() public method

public RaiseLoop ( ) : void
return void

RaiseOutCritter() public method

public RaiseOutCritter ( Critter cr ) : void
cr Critter
return void

RaiseTurnBasedBegin() public method

public RaiseTurnBasedBegin ( ) : void
return void

RaiseTurnBasedEnd() public method

public RaiseTurnBasedEnd ( ) : void
return void

RaiseTurnBasedProcess() public method

public RaiseTurnBasedProcess ( Critter cr, bool begin_turn ) : void
cr Critter
begin_turn bool
return void

Release() public method

public Release ( ) : void
return void

Reload() public method

public Reload ( ) : void
return void

RunEffect() public method

public RunEffect ( ushort pid, ushort hx, ushort hy, ushort radius ) : void
pid ushort
hx ushort
hy ushort
radius ushort
return void

RunFlyEffect() public method

public RunFlyEffect ( ushort pid, Critter from_cr, Critter to_cr, ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy ) : void
pid ushort
from_cr Critter
to_cr Critter
from_hx ushort
from_hy ushort
to_hx ushort
to_hy ushort
return void

SetData() public method

public SetData ( uint index, int value ) : void
index uint
value int
return void

SetDayColor() public method

public SetDayColor ( uint day_part, byte r, byte g, byte b ) : void
day_part uint
r byte
g byte
b byte
return void

SetDayTime() public method

public SetDayTime ( uint day_part, uint time ) : void
day_part uint
time uint
return void

SetLoopTime() public method

public SetLoopTime ( uint num_loop, uint ms ) : void
num_loop uint
ms uint
return void

SetRain() public method

public SetRain ( byte capacity ) : void
capacity byte
return void

SetScript() public method

public SetScript ( string script ) : bool
script string
return bool

SetText() public method

public SetText ( ushort hx, ushort hy, uint color, string text ) : void
hx ushort
hy ushort
color uint
text string
return void

SetTextMsg() public method

public SetTextMsg ( ushort hx, ushort hy, uint color, ushort text_msg, uint str_num ) : void
hx ushort
hy ushort
color uint
text_msg ushort
str_num uint
return void

SetTextMsgLex() public method

public SetTextMsgLex ( ushort hx, ushort hy, uint color, ushort text_msg, uint str_num, string lexems ) : void
hx ushort
hy ushort
color uint
text_msg ushort
str_num uint
lexems string
return void

SetTime() public method

public SetTime ( int time ) : void
time int
return void

SetTurnBasedAvailability() public method

public SetTurnBasedAvailability ( bool value ) : void
value bool
return void

UnblockHex() public method

public UnblockHex ( ushort hx, ushort hy ) : void
hx ushort
hy ushort
return void

VerifyTrigger() public method

public VerifyTrigger ( Critter cr, ushort hx, ushort hy, Direction dir ) : bool
cr Critter
hx ushort
hy ushort
dir Direction
return bool