public static ai.lib.utils.Props FromRemote(this remote.Props rm) { ai.lib.utils.Props o = new ai.lib.utils.Props(); for (int i = 0; i < rm.Names.Count; ++i) { o.Set(rm.Names[i], rm.Values[i]); } return(o); }
public static remote.Props ToRemote(this remote.Props rm, ai.lib.utils.Props o) { // Pass unresolved values. rm.Names.AddRange(o.Names); foreach (string name in o.Names) { rm.Values.Add(o.GetRaw(name)); } return(rm); }
public void OnSessionEvent(ai.lib.utils.Props parameters) { }
public void OnCreate(string name, ai.lib.utils.Props creationParameters) { }
public void OnSessionBegin(string sessionName, ai.pkr.metagame.GameDefinition gameDef, ai.lib.utils.Props sessionParameters) { }