Esempio n. 1
0
 // first user enter scripts are tied to the field instance
 public MapScript(string sScriptName, string sScriptContents, CField field, WvsGameClient client) : base(sScriptName, sScriptContents, client)
 {
     Context = new MapScriptContext(this);
     IsFirstUserEnterScript = true;
     Field = field;
 }
Esempio n. 2
0
 // normal field scripts (not FUE) are tied to the client instance
 public MapScript(string sScriptName, string sScriptContents, WvsGameClient client) : base(sScriptName, sScriptContents, client)
 {
     Context = new MapScriptContext(this);
     IsFirstUserEnterScript = false;
     Field = client.Character.Field;
 }