C# Class FOnline.Misc

Inheritance: IMisc
显示文件 Open project: wladimiiir/vault112

Public Methods

Method Description
AddTextListener ( Say say_type, string first_str, ushort parameter, string script_name ) : bool
EraseTextListener ( Say say_type, string first_str, ushort parameter ) : void
GetBagItems ( uint bag_id, UInt16Array pids, UIntArray min_counts, UIntArray max_counts, IntArray slots ) : uint
GetPlayerName ( uint id ) : string
GetScriptId ( string script_name, string func_decl ) : uint
GetScriptName ( uint script_id ) : string
RadioMessage ( ushort channel, string text ) : void
RadioMessageMsg ( ushort channel, ushort text_msg, uint str_num ) : void
RadioMessageMsg ( ushort channel, ushort text_msg, uint str_num, string lexems ) : void
SetBestScore ( int score, Critter cl, string name ) : void

Private Methods

Method Description
Global_AddTextListener ( int say_type, IntPtr first_str, ushort parameter, IntPtr script_name ) : bool
Global_EraseTextListener ( int say_type, IntPtr first_str, ushort parameter ) : bool
Global_GetBagItems ( uint bag_id, IntPtr pids, IntPtr min_counts, IntPtr max_counts, IntPtr slots ) : uint
Global_GetPlayerName ( uint id ) : IntPtr
Global_GetScriptId ( IntPtr script_name, IntPtr func_decl ) : uint
Global_GetScriptName ( uint script_id ) : IntPtr
Global_RadioMessage ( ushort channel, IntPtr text ) : void
Global_RadioMessageMsg ( ushort channel, ushort text_msg, uint str_num ) : void
Global_RadioMessageMsgLex ( ushort channel, ushort text_msg, uint str_num, IntPtr lexems ) : void
Global_SetBestScore ( int score, IntPtr cl, IntPtr name ) : void

Method Details

AddTextListener() public method

public AddTextListener ( Say say_type, string first_str, ushort parameter, string script_name ) : bool
say_type Say
first_str string
parameter ushort
script_name string
return bool

EraseTextListener() public method

public EraseTextListener ( Say say_type, string first_str, ushort parameter ) : void
say_type Say
first_str string
parameter ushort
return void

GetBagItems() public method

public GetBagItems ( uint bag_id, UInt16Array pids, UIntArray min_counts, UIntArray max_counts, IntArray slots ) : uint
bag_id uint
pids UInt16Array
min_counts UIntArray
max_counts UIntArray
slots IntArray
return uint

GetPlayerName() public method

public GetPlayerName ( uint id ) : string
id uint
return string

GetScriptId() public method

public GetScriptId ( string script_name, string func_decl ) : uint
script_name string
func_decl string
return uint

GetScriptName() public method

public GetScriptName ( uint script_id ) : string
script_id uint
return string

RadioMessage() public method

public RadioMessage ( ushort channel, string text ) : void
channel ushort
text string
return void

RadioMessageMsg() public method

public RadioMessageMsg ( ushort channel, ushort text_msg, uint str_num ) : void
channel ushort
text_msg ushort
str_num uint
return void

RadioMessageMsg() public method

public RadioMessageMsg ( ushort channel, ushort text_msg, uint str_num, string lexems ) : void
channel ushort
text_msg ushort
str_num uint
lexems string
return void

SetBestScore() public method

public SetBestScore ( int score, Critter cl, string name ) : void
score int
cl Critter
name string
return void