C# 클래스 ACR_ServerMisc.ACR_ServerMisc

상속: CLRScriptFramework.CLRScriptBase, ICLRScriptImplementation
파일 보기 프로젝트 열기: ALandFarAway/ALFA-Base-Resources 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ScriptParameterTypes System.Type[]

공개 메소드들

메소드 설명
ACR_ServerMisc ( [ Intrinsics, [ Host ) : System
GetSaltedMD5 ( string S ) : string

Get a salted MD5 of a given string using a per-server-instance hash salt.

ScriptMain ( [ ScriptParameters, [ DefaultReturnCode ) : Int32

비공개 메소드들

메소드 설명
ACR_ServerMisc ( [ Other ) : System
CreateAreaInstance ( uint TemplateArea ) : uint

Create a new instanced area, or return one from the free list if there was a free instance.

DictionaryClear ( string DictID ) : void

Delete entire contents of dictionary by dictionary id.

DictionaryDeleteKey ( string DictID, string Key ) : void

Delete value from dictionary by key.

DictionaryGetString ( string DictID, string Key, string &Value ) : bool

Get Value corresponding to Dictionary DictID's Key. On error return null string.

DictionaryIterateFirst ( string DictID, string &Key ) : bool

Set Dictionary Iterator to first Key-Value pair and return its Key.

DictionaryIterateNext ( string DictID, string &Key ) : bool

Advance Dictionary Iterator to next Key-Value pair and return its Key.

DictionarySetString ( string DictID, string Key, string Value ) : void

Set Dictionary DictID's Key to a String Value.

ExecuteUpdaterScript ( ) : bool

This method is called to execute the server updater script, if one existed.

GetCreatureAIServer ( ) : object

Get an instance of the ACR_CreatureBehavior.PowerShellInterop.

GetDatabase ( ) : Database

Get the associated database object, creating it on demand if required.

GetSaltString ( ) : string

Create a randomized salt string, or return the existing one if the string has already been created for this server instance.

ReleaseInstancedArea ( uint InstancedArea ) : void

Place an instanced area on the internal free list for its associated template area.

RunPowerShellScriptlet ( string Script, uint PCObjectID ) : bool

Run a PowerShell script and send the results to a player.

메소드 상세

ACR_ServerMisc() 공개 메소드

public ACR_ServerMisc ( [ Intrinsics, [ Host ) : System
Intrinsics [
Host [
리턴 System

GetSaltedMD5() 공개 정적인 메소드

Get a salted MD5 of a given string using a per-server-instance hash salt.
public static GetSaltedMD5 ( string S ) : string
S string Supplies the string to hash.
리턴 string

ScriptMain() 공개 메소드

public ScriptMain ( [ ScriptParameters, [ DefaultReturnCode ) : Int32
ScriptParameters [
DefaultReturnCode [
리턴 System.Int32

프로퍼티 상세

ScriptParameterTypes 공개적으로 정적으로 프로퍼티

public static Type[],System ScriptParameterTypes
리턴 System.Type[]