C# Class CSLightMng, CSLightForUnity

Inheritance: MonoBehaviour
Afficher le fichier Open project: wpszz/CSLightForUnity

Protected Properties

Свойство Type Description
m_clsAssetBundle AssetBundle
m_clsContent CLS_Content
m_clsCurEntry SInstance
m_clsEnv CLS_Environment
m_emptyParams BetterList
m_scriptLastUpdateTime float
m_scriptTokenDebug bool
m_scriptUpdateGap float

Méthodes publiques

Méthode Description
Call ( SInstance scriptInstance, string funName ) : object
CallStatic ( string className, string funName ) : object
ClearGlobalValue ( ) : void
Deserialize ( Stream source, string className ) : object
DumpStack ( System ex ) : string
Eval ( string script ) : object
Execute ( string script ) : object
GetMember ( SInstance scriptInstance, string memName, object val ) : object
GetMemberStatic ( string className, string memName ) : object
InitializeFromAssetBundle ( AssetBundle scriptsAssetBundle ) : void
NewInstance ( string className ) : object
RunScriptEntry ( string clsEntryName ) : Coroutine
Serialize ( Stream destination, object clsObj ) : void
SetGlobalValue ( string name, object val ) : void
SetMember ( SInstance scriptInstance, string memName, object val ) : void
SetMemberStatic ( string className, string memName, object val ) : void

Méthodes protégées

Méthode Description
Clear ( ) : void
GetSortMembers ( SInstance sInstance, List &values, List &keywords ) : void
ReadSInstance ( ProtoReader reader, SInstance sInstance, CLS_Environment environment ) : void
RuntimeCompilerClass ( string className, List types = null ) : void
RuntimeCompilerTokens ( IList tokens, List types = null ) : void
ScriptParamConvert ( ) : BetterList
Update ( ) : void
WriteField ( ProtoWriter writer, object memberV, Type memberT, int fieldNumber ) : void
WriteSInstance ( ProtoWriter writer, SInstance sInstance ) : void

Private Methods

Méthode Description
GetItemType ( Type type ) : Type
ReadField ( ProtoReader reader, Type memberT, string sClassName, CLS_Environment environment ) : object
RunScriptEntryCoroutine ( string clsEntryName, MonoBehaviour behaviour ) : IEnumerator

Method Details

Call() public méthode

public Call ( SInstance scriptInstance, string funName ) : object
scriptInstance CSLE.SInstance
funName string
Résultat object

CallStatic() public méthode

public CallStatic ( string className, string funName ) : object
className string
funName string
Résultat object

Clear() protected méthode

protected Clear ( ) : void
Résultat void

ClearGlobalValue() public méthode

public ClearGlobalValue ( ) : void
Résultat void

Deserialize() public méthode

public Deserialize ( Stream source, string className ) : object
source Stream
className string
Résultat object

DumpStack() public méthode

public DumpStack ( System ex ) : string
ex System
Résultat string

Eval() public méthode

public Eval ( string script ) : object
script string
Résultat object

Execute() public méthode

public Execute ( string script ) : object
script string
Résultat object

GetMember() public méthode

public GetMember ( SInstance scriptInstance, string memName, object val ) : object
scriptInstance CSLE.SInstance
memName string
val object
Résultat object

GetMemberStatic() public méthode

public GetMemberStatic ( string className, string memName ) : object
className string
memName string
Résultat object

GetSortMembers() protected méthode

protected GetSortMembers ( SInstance sInstance, List &values, List &keywords ) : void
sInstance CSLE.SInstance
values List
keywords List
Résultat void

InitializeFromAssetBundle() public méthode

public InitializeFromAssetBundle ( AssetBundle scriptsAssetBundle ) : void
scriptsAssetBundle AssetBundle
Résultat void

NewInstance() public méthode

public NewInstance ( string className ) : object
className string
Résultat object

ReadSInstance() protected méthode

protected ReadSInstance ( ProtoReader reader, SInstance sInstance, CLS_Environment environment ) : void
reader ProtoReader
sInstance SInstance
environment CLS_Environment
Résultat void

RunScriptEntry() public méthode

public RunScriptEntry ( string clsEntryName ) : Coroutine
clsEntryName string
Résultat Coroutine

RuntimeCompilerClass() protected méthode

protected RuntimeCompilerClass ( string className, List types = null ) : void
className string
types List
Résultat void

RuntimeCompilerTokens() protected méthode

protected RuntimeCompilerTokens ( IList tokens, List types = null ) : void
tokens IList
types List
Résultat void

ScriptParamConvert() protected méthode

protected ScriptParamConvert ( ) : BetterList
Résultat BetterList

Serialize() public méthode

public Serialize ( Stream destination, object clsObj ) : void
destination Stream
clsObj object
Résultat void

SetGlobalValue() public méthode

public SetGlobalValue ( string name, object val ) : void
name string
val object
Résultat void

SetMember() public méthode

public SetMember ( SInstance scriptInstance, string memName, object val ) : void
scriptInstance SInstance
memName string
val object
Résultat void

SetMemberStatic() public méthode

public SetMemberStatic ( string className, string memName, object val ) : void
className string
memName string
val object
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

WriteField() protected méthode

protected WriteField ( ProtoWriter writer, object memberV, Type memberT, int fieldNumber ) : void
writer ProtoWriter
memberV object
memberT Type
fieldNumber int
Résultat void

WriteSInstance() protected méthode

protected WriteSInstance ( ProtoWriter writer, SInstance sInstance ) : void
writer ProtoWriter
sInstance SInstance
Résultat void

Property Details

m_clsAssetBundle protected_oe property

protected AssetBundle m_clsAssetBundle
Résultat AssetBundle

m_clsContent protected_oe property

protected CLS_Content m_clsContent
Résultat CLS_Content

m_clsCurEntry protected_oe property

protected SInstance m_clsCurEntry
Résultat SInstance

m_clsEnv protected_oe property

protected CLS_Environment m_clsEnv
Résultat CLS_Environment

m_emptyParams protected_oe property

protected BetterList m_emptyParams
Résultat BetterList

m_scriptLastUpdateTime protected_oe property

protected float m_scriptLastUpdateTime
Résultat float

m_scriptTokenDebug protected_oe property

protected bool m_scriptTokenDebug
Résultat bool

m_scriptUpdateGap protected_oe property

protected float m_scriptUpdateGap
Résultat float