C# Class FOnline.Server.Location

Mostra file Open project: rotators/fosdk Class Usage Examples

Public Methods

Method Description
AddRef ( ) : void
GetLocation ( uint loc_id ) : Location
GetMap ( ushort pid ) : Map
GetMapByIndex ( uint index ) : Map
GetMapCount ( ) : uint
GetMaps ( IList maps ) : uint
GetProtoId ( ) : ushort
RaiseFinish ( bool to_delete ) : void
Release ( ) : void
Reload ( ) : void
Update ( ) : void

Private Methods

Method Description
AddRef ( IntPtr ptr ) : void
Create ( IntPtr ptr ) : Location
GetAutoGarbage ( IntPtr loc ) : bool
GetColor ( IntPtr loc ) : uint
GetGeckCount ( IntPtr loc ) : int
GetGeckVisible ( IntPtr loc ) : bool
GetId ( IntPtr loc ) : uint
GetIsNotValid ( IntPtr loc ) : bool
GetRadius ( IntPtr loc ) : ushort
GetVisible ( IntPtr loc ) : bool
GetWorldX ( IntPtr loc ) : ushort
GetWorldY ( IntPtr loc ) : ushort
Global_GetLocation ( uint loc_id ) : IntPtr
Location ( IntPtr ptr ) : System
Location_GetMap ( IntPtr thisptr, ushort pid ) : IntPtr
Location_GetMapByIndex ( IntPtr thisptr, uint index ) : IntPtr
Location_GetMapCount ( IntPtr thisptr ) : uint
Location_GetMaps ( IntPtr thisptr, IList maps ) : uint
Location_GetProtoId ( IntPtr thisptr ) : ushort
Location_Reload ( IntPtr thisptr ) : void
Location_Update ( IntPtr thisptr ) : void
RaiseEnter ( IList group, ushort entrance ) : bool
Release ( IntPtr ptr ) : void
Remove ( Location loc ) : void
SetAutoGarbage ( IntPtr loc, bool val ) : void
SetColor ( IntPtr loc, uint val ) : void
SetGeckCount ( IntPtr loc, int val ) : void
SetGeckVisible ( IntPtr loc, bool val ) : void
SetRadius ( IntPtr loc, ushort val ) : void
SetVisible ( IntPtr loc, bool val ) : void
SetWorldX ( IntPtr loc, ushort val ) : void
SetWorldY ( IntPtr loc, ushort val ) : void

Method Details

AddRef() public method

public AddRef ( ) : void
return void

GetLocation() public static method

public static GetLocation ( uint loc_id ) : Location
loc_id uint
return Location

GetMap() public method

public GetMap ( ushort pid ) : Map
pid ushort
return Map

GetMapByIndex() public method

public GetMapByIndex ( uint index ) : Map
index uint
return Map

GetMapCount() public method

public GetMapCount ( ) : uint
return uint

GetMaps() public method

public GetMaps ( IList maps ) : uint
maps IList
return uint

GetProtoId() public method

public GetProtoId ( ) : ushort
return ushort

RaiseFinish() public method

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

Release() public method

public Release ( ) : void
return void

Reload() public method

public Reload ( ) : void
return void

Update() public method

public Update ( ) : void
return void