C# Класс FOnline.Map

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddItem() публичный Метод

public AddItem ( ushort hx, ushort hy, ushort pid, uint count ) : Item
hx ushort
hy ushort
pid ushort
count uint
Результат Item

AddNpc() публичный Метод

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
Результат Critter

AddRef() публичный Метод

public AddRef ( ) : void
Результат void

BeginTurnBased() публичный Метод

public BeginTurnBased ( Critter first_turn_crit ) : void
first_turn_crit Critter
Результат void

BlockHex() публичный Метод

public BlockHex ( ushort hx, ushort hy, bool full ) : void
hx ushort
hy ushort
full bool
Результат void

CheckPlaceForItem() публичный Метод

public CheckPlaceForItem ( ushort hx, ushort hy, ushort pid ) : bool
hx ushort
hy ushort
pid ushort
Результат bool

CountEntire() публичный Метод

public CountEntire ( int entire ) : uint
entire int
Результат uint

EndTurnBased() публичный Метод

public EndTurnBased ( ) : void
Результат void

EventCritterDead() публичный Метод

public EventCritterDead ( Critter cr, Critter killer ) : void
cr Critter
killer Critter
Результат void

EventFinish() публичный Метод

public EventFinish ( bool deleted ) : void
deleted bool
Результат void

EventInCritter() публичный Метод

public EventInCritter ( Critter cr ) : void
cr Critter
Результат void

EventLoop0() публичный Метод

public EventLoop0 ( ) : void
Результат void

EventLoop1() публичный Метод

public EventLoop1 ( ) : void
Результат void

EventLoop2() публичный Метод

public EventLoop2 ( ) : void
Результат void

EventLoop3() публичный Метод

public EventLoop3 ( ) : void
Результат void

EventLoop4() публичный Метод

public EventLoop4 ( ) : void
Результат void

EventOutCritter() публичный Метод

public EventOutCritter ( Critter cr ) : void
cr Critter
Результат void

EventTurnBasedBegin() публичный Метод

public EventTurnBasedBegin ( ) : void
Результат void

EventTurnBasedEnd() публичный Метод

public EventTurnBasedEnd ( ) : void
Результат void

EventTurnBasedProcess() публичный Метод

public EventTurnBasedProcess ( bool begin_turn ) : void
begin_turn bool
Результат void

GetCar() публичный Метод

public GetCar ( ushort hx, ushort hy ) : Item
hx ushort
hy ushort
Результат Item

GetCritter() публичный Метод

public GetCritter ( uint critter_id ) : Critter
critter_id uint
Результат Critter

GetCritter() публичный Метод

public GetCritter ( ushort hx, ushort hy ) : Critter
hx ushort
hy ushort
Результат Critter

GetCritters() публичный Метод

public GetCritters ( ushort pid, Find find_type, CritterArray critters = null ) : uint
pid ushort
find_type Find
critters CritterArray
Результат uint

GetCrittersHex() публичный Метод

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
Результат uint

GetCrittersPath() публичный Метод

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
Результат uint

GetCrittersPath() публичный Метод

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
Результат uint

GetCrittersSeeing() публичный Метод

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
Результат uint

GetCrittersWhoViewPath() публичный Метод

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
Результат uint

GetData() публичный Метод

public GetData ( uint index ) : int
index uint
Результат int

GetDayColor() публичный Метод

public GetDayColor ( uint day_part, byte &r, byte &g, byte &b ) : void
day_part uint
r byte
g byte
b byte
Результат void

GetDayTime() публичный Метод

public GetDayTime ( uint day_part ) : uint
day_part uint
Результат uint

GetDoor() публичный Метод

public GetDoor ( ushort hx, ushort hy ) : Item
hx ushort
hy ushort
Результат Item

GetEntireCoords() публичный Метод

public GetEntireCoords ( int entire, uint skip, ushort &hx, ushort &hy ) : bool
entire int
skip uint
hx ushort
hy ushort
Результат bool

GetEntireCoords() публичный Метод

public GetEntireCoords ( int entire, uint skip, ushort &hx, ushort &hy, Direction &dir ) : bool
entire int
skip uint
hx ushort
hy ushort
dir Direction
Результат bool

GetEntires() публичный Метод

public GetEntires ( int entire, UIntArray entires, UInt16Array hx, UInt16Array hy ) : uint
entire int
entires UIntArray
hx UInt16Array
hy UInt16Array
Результат uint

GetHeight() публичный Метод

public GetHeight ( ) : ushort
Результат ushort

GetHexCoord() публичный Метод

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
Результат void

GetHexCoordWall() публичный Метод

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
Результат void

GetItem() публичный Метод

public GetItem ( uint item_id ) : Item
item_id uint
Результат Item

GetItem() публичный Метод

public GetItem ( ushort hx, ushort hy, ushort pid ) : Item
hx ushort
hy ushort
pid ushort
Результат Item

GetItems() публичный Метод

public GetItems ( ushort pid, ItemArray items ) : uint
pid ushort
items ItemArray
Результат uint

GetItems() публичный Метод

public GetItems ( ushort hx, ushort hy, ItemArray items ) : uint
hx ushort
hy ushort
items ItemArray
Результат uint

GetItems() публичный Метод

public GetItems ( ushort hx, ushort hy, uint radius, ushort pid, ItemArray items ) : uint
hx ushort
hy ushort
radius uint
pid ushort
items ItemArray
Результат uint

GetItemsByType() публичный Метод

public GetItemsByType ( int type, ItemArray items ) : uint
type int
items ItemArray
Результат uint

GetLocation() публичный Метод

public GetLocation ( ) : Location
Результат Location

GetNearEntireCoords() публичный Метод

public GetNearEntireCoords ( int &entire, ushort &hx, ushort &hy ) : bool
entire int
hx ushort
hy ushort
Результат bool

GetNearEntireCoords() публичный Метод

public GetNearEntireCoords ( int &entire, ushort &hx, ushort &hy, Direction &dir ) : bool
entire int
hx ushort
hy ushort
dir Direction
Результат bool

GetNpc() публичный Метод

public GetNpc ( int npc_role, int find_type, uint skip_count ) : Critter
npc_role int
find_type int
skip_count uint
Результат Critter

GetNpcCount() публичный Метод

public GetNpcCount ( int npc_role, int find_type ) : uint
npc_role int
find_type int
Результат uint

GetPathLength() публичный Метод

public GetPathLength ( Critter cr, ushort to_hx, ushort to_hy, uint cut ) : uint
cr Critter
to_hx ushort
to_hy ushort
cut uint
Результат uint

GetPathLength() публичный Метод

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
Результат uint

GetProtoId() публичный Метод

public GetProtoId ( ) : ushort
Результат ushort

GetRain() публичный Метод

public GetRain ( ) : byte
Результат byte

GetSceneries() публичный Метод

public GetSceneries ( ushort hx, ushort hy, SceneryArray sceneries ) : uint
hx ushort
hy ushort
sceneries SceneryArray
Результат uint

GetSceneries() публичный Метод

public GetSceneries ( ushort hx, ushort hy, uint radius, ushort pid, SceneryArray sceneries ) : uint
hx ushort
hy ushort
radius uint
pid ushort
sceneries SceneryArray
Результат uint

GetSceneriesByPid() публичный Метод

public GetSceneriesByPid ( ushort pid, SceneryArray sceneries ) : uint
pid ushort
sceneries SceneryArray
Результат uint

GetScriptId() публичный Метод

public GetScriptId ( ) : uint
Результат uint

GetTime() публичный Метод

public GetTime ( ) : int
Результат int

GetTurnBasedSequence() публичный Метод

public GetTurnBasedSequence ( UIntArray critter_ids ) : int
critter_ids UIntArray
Результат int

GetWidth() публичный Метод

public GetWidth ( ) : ushort
Результат ushort

IsHexPassed() публичный Метод

public IsHexPassed ( ushort hx, ushort hy ) : bool
hx ushort
hy ushort
Результат bool

IsHexRaked() публичный Метод

public IsHexRaked ( ushort hx, ushort hy ) : bool
hx ushort
hy ushort
Результат bool

IsTurnBased() публичный Метод

public IsTurnBased ( ) : bool
Результат bool

IsTurnBasedAvailability() публичный Метод

public IsTurnBasedAvailability ( ) : bool
Результат bool

MoveHexByDir() публичный Метод

public MoveHexByDir ( ushort &hx, ushort &hy, Direction dir, uint steps ) : void
hx ushort
hy ushort
dir Direction
steps uint
Результат void

PlaySound() публичный Метод

public PlaySound ( string sound_name ) : void
sound_name string
Результат void

PlaySound() публичный Метод

public PlaySound ( string sound_name, ushort hx, ushort hy, uint radius ) : void
sound_name string
hx ushort
hy ushort
radius uint
Результат void

RaiseCritterDead() публичный Метод

public RaiseCritterDead ( Critter cr, Critter killer ) : void
cr Critter
killer Critter
Результат void

RaiseFinish() публичный Метод

public RaiseFinish ( bool to_delete ) : void
to_delete bool
Результат void

RaiseInCritter() публичный Метод

public RaiseInCritter ( Critter cr ) : void
cr Critter
Результат void

RaiseLoop() публичный Метод

public RaiseLoop ( ) : void
Результат void

RaiseOutCritter() публичный Метод

public RaiseOutCritter ( Critter cr ) : void
cr Critter
Результат void

RaiseTurnBasedBegin() публичный Метод

public RaiseTurnBasedBegin ( ) : void
Результат void

RaiseTurnBasedEnd() публичный Метод

public RaiseTurnBasedEnd ( ) : void
Результат void

RaiseTurnBasedProcess() публичный Метод

public RaiseTurnBasedProcess ( Critter cr, bool begin_turn ) : void
cr Critter
begin_turn bool
Результат void

Release() публичный Метод

public Release ( ) : void
Результат void

Reload() публичный Метод

public Reload ( ) : void
Результат void

RunEffect() публичный Метод

public RunEffect ( ushort pid, ushort hx, ushort hy, ushort radius ) : void
pid ushort
hx ushort
hy ushort
radius ushort
Результат void

RunFlyEffect() публичный Метод

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
Результат void

SetData() публичный Метод

public SetData ( uint index, int value ) : void
index uint
value int
Результат void

SetDayColor() публичный Метод

public SetDayColor ( uint day_part, byte r, byte g, byte b ) : void
day_part uint
r byte
g byte
b byte
Результат void

SetDayTime() публичный Метод

public SetDayTime ( uint day_part, uint time ) : void
day_part uint
time uint
Результат void

SetLoopTime() публичный Метод

public SetLoopTime ( uint num_loop, uint ms ) : void
num_loop uint
ms uint
Результат void

SetRain() публичный Метод

public SetRain ( byte capacity ) : void
capacity byte
Результат void

SetScript() публичный Метод

public SetScript ( string script ) : bool
script string
Результат bool

SetText() публичный Метод

public SetText ( ushort hx, ushort hy, uint color, string text ) : void
hx ushort
hy ushort
color uint
text string
Результат void

SetTextMsg() публичный Метод

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
Результат void

SetTextMsgLex() публичный Метод

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
Результат void

SetTime() публичный Метод

public SetTime ( int time ) : void
time int
Результат void

SetTurnBasedAvailability() публичный Метод

public SetTurnBasedAvailability ( bool value ) : void
value bool
Результат void

UnblockHex() публичный Метод

public UnblockHex ( ushort hx, ushort hy ) : void
hx ushort
hy ushort
Результат void

VerifyTrigger() публичный Метод

public VerifyTrigger ( Critter cr, ushort hx, ushort hy, Direction dir ) : bool
cr Critter
hx ushort
hy ushort
dir Direction
Результат bool