C# Class FOnline.Map

Afficher le fichier Open project: wladimiiir/vault112 Class Usage Examples

Méthodes publiques

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

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

public AddItem ( ushort hx, ushort hy, ushort pid, uint count ) : Item
hx ushort
hy ushort
pid ushort
count uint
Résultat Item

AddNpc() public méthode

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
Résultat Critter

AddRef() public méthode

public AddRef ( ) : void
Résultat void

BeginTurnBased() public méthode

public BeginTurnBased ( Critter first_turn_crit ) : void
first_turn_crit Critter
Résultat void

BlockHex() public méthode

public BlockHex ( ushort hx, ushort hy, bool full ) : void
hx ushort
hy ushort
full bool
Résultat void

CheckPlaceForItem() public méthode

public CheckPlaceForItem ( ushort hx, ushort hy, ushort pid ) : bool
hx ushort
hy ushort
pid ushort
Résultat bool

CountEntire() public méthode

public CountEntire ( int entire ) : uint
entire int
Résultat uint

EndTurnBased() public méthode

public EndTurnBased ( ) : void
Résultat void

EventCritterDead() public méthode

public EventCritterDead ( Critter cr, Critter killer ) : void
cr Critter
killer Critter
Résultat void

EventFinish() public méthode

public EventFinish ( bool deleted ) : void
deleted bool
Résultat void

EventInCritter() public méthode

public EventInCritter ( Critter cr ) : void
cr Critter
Résultat void

EventLoop0() public méthode

public EventLoop0 ( ) : void
Résultat void

EventLoop1() public méthode

public EventLoop1 ( ) : void
Résultat void

EventLoop2() public méthode

public EventLoop2 ( ) : void
Résultat void

EventLoop3() public méthode

public EventLoop3 ( ) : void
Résultat void

EventLoop4() public méthode

public EventLoop4 ( ) : void
Résultat void

EventOutCritter() public méthode

public EventOutCritter ( Critter cr ) : void
cr Critter
Résultat void

EventTurnBasedBegin() public méthode

public EventTurnBasedBegin ( ) : void
Résultat void

EventTurnBasedEnd() public méthode

public EventTurnBasedEnd ( ) : void
Résultat void

EventTurnBasedProcess() public méthode

public EventTurnBasedProcess ( bool begin_turn ) : void
begin_turn bool
Résultat void

GetCar() public méthode

public GetCar ( ushort hx, ushort hy ) : Item
hx ushort
hy ushort
Résultat Item

GetCritter() public méthode

public GetCritter ( uint critter_id ) : Critter
critter_id uint
Résultat Critter

GetCritter() public méthode

public GetCritter ( ushort hx, ushort hy ) : Critter
hx ushort
hy ushort
Résultat Critter

GetCritters() public méthode

public GetCritters ( ushort pid, Find find_type, CritterArray critters = null ) : uint
pid ushort
find_type Find
critters CritterArray
Résultat uint

GetCrittersHex() public méthode

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
Résultat uint

GetCrittersPath() public méthode

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
Résultat uint

GetCrittersPath() public méthode

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
Résultat uint

GetCrittersSeeing() public méthode

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
Résultat uint

GetCrittersWhoViewPath() public méthode

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
Résultat uint

GetData() public méthode

public GetData ( uint index ) : int
index uint
Résultat int

GetDayColor() public méthode

public GetDayColor ( uint day_part, byte &r, byte &g, byte &b ) : void
day_part uint
r byte
g byte
b byte
Résultat void

GetDayTime() public méthode

public GetDayTime ( uint day_part ) : uint
day_part uint
Résultat uint

GetDoor() public méthode

public GetDoor ( ushort hx, ushort hy ) : Item
hx ushort
hy ushort
Résultat Item

GetEntireCoords() public méthode

public GetEntireCoords ( int entire, uint skip, ushort &hx, ushort &hy ) : bool
entire int
skip uint
hx ushort
hy ushort
Résultat bool

GetEntireCoords() public méthode

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

GetEntires() public méthode

public GetEntires ( int entire, UIntArray entires, UInt16Array hx, UInt16Array hy ) : uint
entire int
entires UIntArray
hx UInt16Array
hy UInt16Array
Résultat uint

GetHeight() public méthode

public GetHeight ( ) : ushort
Résultat ushort

GetHexCoord() public méthode

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
Résultat void

GetHexCoordWall() public méthode

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
Résultat void

GetItem() public méthode

public GetItem ( uint item_id ) : Item
item_id uint
Résultat Item

GetItem() public méthode

public GetItem ( ushort hx, ushort hy, ushort pid ) : Item
hx ushort
hy ushort
pid ushort
Résultat Item

GetItems() public méthode

public GetItems ( ushort pid, ItemArray items ) : uint
pid ushort
items ItemArray
Résultat uint

GetItems() public méthode

public GetItems ( ushort hx, ushort hy, ItemArray items ) : uint
hx ushort
hy ushort
items ItemArray
Résultat uint

GetItems() public méthode

public GetItems ( ushort hx, ushort hy, uint radius, ushort pid, ItemArray items ) : uint
hx ushort
hy ushort
radius uint
pid ushort
items ItemArray
Résultat uint

GetItemsByType() public méthode

public GetItemsByType ( int type, ItemArray items ) : uint
type int
items ItemArray
Résultat uint

GetLocation() public méthode

public GetLocation ( ) : Location
Résultat Location

GetNearEntireCoords() public méthode

public GetNearEntireCoords ( int &entire, ushort &hx, ushort &hy ) : bool
entire int
hx ushort
hy ushort
Résultat bool

GetNearEntireCoords() public méthode

public GetNearEntireCoords ( int &entire, ushort &hx, ushort &hy, Direction &dir ) : bool
entire int
hx ushort
hy ushort
dir Direction
Résultat bool

GetNpc() public méthode

public GetNpc ( int npc_role, int find_type, uint skip_count ) : Critter
npc_role int
find_type int
skip_count uint
Résultat Critter

GetNpcCount() public méthode

public GetNpcCount ( int npc_role, int find_type ) : uint
npc_role int
find_type int
Résultat uint

GetPathLength() public méthode

public GetPathLength ( Critter cr, ushort to_hx, ushort to_hy, uint cut ) : uint
cr Critter
to_hx ushort
to_hy ushort
cut uint
Résultat uint

GetPathLength() public méthode

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
Résultat uint

GetProtoId() public méthode

public GetProtoId ( ) : ushort
Résultat ushort

GetRain() public méthode

public GetRain ( ) : byte
Résultat byte

GetSceneries() public méthode

public GetSceneries ( ushort hx, ushort hy, SceneryArray sceneries ) : uint
hx ushort
hy ushort
sceneries SceneryArray
Résultat uint

GetSceneries() public méthode

public GetSceneries ( ushort hx, ushort hy, uint radius, ushort pid, SceneryArray sceneries ) : uint
hx ushort
hy ushort
radius uint
pid ushort
sceneries SceneryArray
Résultat uint

GetSceneriesByPid() public méthode

public GetSceneriesByPid ( ushort pid, SceneryArray sceneries ) : uint
pid ushort
sceneries SceneryArray
Résultat uint

GetScriptId() public méthode

public GetScriptId ( ) : uint
Résultat uint

GetTime() public méthode

public GetTime ( ) : int
Résultat int

GetTurnBasedSequence() public méthode

public GetTurnBasedSequence ( UIntArray critter_ids ) : int
critter_ids UIntArray
Résultat int

GetWidth() public méthode

public GetWidth ( ) : ushort
Résultat ushort

IsHexPassed() public méthode

public IsHexPassed ( ushort hx, ushort hy ) : bool
hx ushort
hy ushort
Résultat bool

IsHexRaked() public méthode

public IsHexRaked ( ushort hx, ushort hy ) : bool
hx ushort
hy ushort
Résultat bool

IsTurnBased() public méthode

public IsTurnBased ( ) : bool
Résultat bool

IsTurnBasedAvailability() public méthode

public IsTurnBasedAvailability ( ) : bool
Résultat bool

MoveHexByDir() public méthode

public MoveHexByDir ( ushort &hx, ushort &hy, Direction dir, uint steps ) : void
hx ushort
hy ushort
dir Direction
steps uint
Résultat void

PlaySound() public méthode

public PlaySound ( string sound_name ) : void
sound_name string
Résultat void

PlaySound() public méthode

public PlaySound ( string sound_name, ushort hx, ushort hy, uint radius ) : void
sound_name string
hx ushort
hy ushort
radius uint
Résultat void

RaiseCritterDead() public méthode

public RaiseCritterDead ( Critter cr, Critter killer ) : void
cr Critter
killer Critter
Résultat void

RaiseFinish() public méthode

public RaiseFinish ( bool to_delete ) : void
to_delete bool
Résultat void

RaiseInCritter() public méthode

public RaiseInCritter ( Critter cr ) : void
cr Critter
Résultat void

RaiseLoop() public méthode

public RaiseLoop ( ) : void
Résultat void

RaiseOutCritter() public méthode

public RaiseOutCritter ( Critter cr ) : void
cr Critter
Résultat void

RaiseTurnBasedBegin() public méthode

public RaiseTurnBasedBegin ( ) : void
Résultat void

RaiseTurnBasedEnd() public méthode

public RaiseTurnBasedEnd ( ) : void
Résultat void

RaiseTurnBasedProcess() public méthode

public RaiseTurnBasedProcess ( Critter cr, bool begin_turn ) : void
cr Critter
begin_turn bool
Résultat void

Release() public méthode

public Release ( ) : void
Résultat void

Reload() public méthode

public Reload ( ) : void
Résultat void

RunEffect() public méthode

public RunEffect ( ushort pid, ushort hx, ushort hy, ushort radius ) : void
pid ushort
hx ushort
hy ushort
radius ushort
Résultat void

RunFlyEffect() public méthode

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
Résultat void

SetData() public méthode

public SetData ( uint index, int value ) : void
index uint
value int
Résultat void

SetDayColor() public méthode

public SetDayColor ( uint day_part, byte r, byte g, byte b ) : void
day_part uint
r byte
g byte
b byte
Résultat void

SetDayTime() public méthode

public SetDayTime ( uint day_part, uint time ) : void
day_part uint
time uint
Résultat void

SetLoopTime() public méthode

public SetLoopTime ( uint num_loop, uint ms ) : void
num_loop uint
ms uint
Résultat void

SetRain() public méthode

public SetRain ( byte capacity ) : void
capacity byte
Résultat void

SetScript() public méthode

public SetScript ( string script ) : bool
script string
Résultat bool

SetText() public méthode

public SetText ( ushort hx, ushort hy, uint color, string text ) : void
hx ushort
hy ushort
color uint
text string
Résultat void

SetTextMsg() public méthode

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
Résultat void

SetTextMsgLex() public méthode

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
Résultat void

SetTime() public méthode

public SetTime ( int time ) : void
time int
Résultat void

SetTurnBasedAvailability() public méthode

public SetTurnBasedAvailability ( bool value ) : void
value bool
Résultat void

UnblockHex() public méthode

public UnblockHex ( ushort hx, ushort hy ) : void
hx ushort
hy ushort
Résultat void

VerifyTrigger() public méthode

public VerifyTrigger ( Critter cr, ushort hx, ushort hy, Direction dir ) : bool
cr Critter
hx ushort
hy ushort
dir Direction
Résultat bool