public static GetOrAdd ( uint loadedObjectID, string fileName, NPCScriptType type ) : |
||
loadedObjectID | uint | |
fileName | string | |
type | NPCScriptType | |
return |
private void LoadScript() { var script = NPCScript.GetOrAdd(ObjectID, Info.FileName, NPCScriptType.Normal); ScriptID = script.ScriptID; }