public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("ID"), parameters.GetValue("ParentMapID"), parameters.GetValue("X").ToInt(), parameters.GetValue("Y").ToInt(), parameters.GetValue("Sprite").ToInt(), 0, Enums.Coloration.Normal, Enums.Sex.Genderless); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("ID"), parameters.GetValue("X").ToInt(), parameters.GetValue("Y").ToInt(), parameters.GetValue("Speed").ToInt(), parameters.GetValue("Pause").ToBool()); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; //this code never gets reached //if (parameters.Count > 4) { // string[] choices = new string[data[4].ToInt()]; // int n = 5; // for (int i = 0; i < choices.Length; i++) { // choices[i] = data[n]; // n += 1; // } // Load(parameters.GetValue("Question"), parameters.GetValue("SegmentOnYes").ToInt(-1), parameters.GetValue("SegmentOnNo").ToInt(-1), parameters.GetValue("Mugshot").ToInt(-1), choices); //} else { Load(parameters.GetValue("Question"), parameters.GetValue("SegmentOnYes").ToInt(-1), parameters.GetValue("SegmentOnNo").ToInt(-1), parameters.GetValue("Mugshot").ToInt(-1), new string[] { "Yes", "No" }); //} }
private static void InvokeAISub(string className, string subName, params object[] args) { try { AITypes.GetValue(className).InvokeMember(subName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.InvokeMethod | System.Reflection.BindingFlags.Static, null, AIInstances.GetValue(className), args); } catch (Exception) { //TriggerError(ex); } }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("ID"), parameters.GetValue("ParentMapID"), parameters.GetValue("X").ToInt(), parameters.GetValue("Y").ToInt(), parameters.GetValue("Sprite").ToInt(), 0, Enums.Coloration.Normal, Enums.Sex.Genderless); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("File"), parameters.GetValue("ImageID"), parameters.GetValue("X").ToInt(), parameters.GetValue("Y").ToInt()); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("Text"), parameters.GetValue("Mugshot").ToInt(-1), parameters.GetValue("Speed").ToInt(1), parameters.GetValue("PauseLocation").ToInt(-1)); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("ID"), (Enums.Direction)parameters.GetValue("Direction").ToInt()); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("File"), parameters.GetValue("HonorSettings").ToBool(), parameters.GetValue("Loop").ToBool()); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("Segment").ToInt()); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; this.file = parameters.GetValue("File"); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("Segment").ToInt()); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; //this code never gets reached //if (parameters.Count > 4) { // string[] choices = new string[data[4].ToInt()]; // int n = 5; // for (int i = 0; i < choices.Length; i++) { // choices[i] = data[n]; // n += 1; // } // Load(parameters.GetValue("Question"), parameters.GetValue("SegmentOnYes").ToInt(-1), parameters.GetValue("SegmentOnNo").ToInt(-1), parameters.GetValue("Mugshot").ToInt(-1), choices); //} else { Load(parameters.GetValue("Question"), parameters.GetValue("SegmentOnYes").ToInt(-1), parameters.GetValue("SegmentOnNo").ToInt(-1), parameters.GetValue("Mugshot").ToInt(-1), new string[] { "Yes", "No" }); //} }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; length = parameters.GetValue("Length").ToInt(0); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; this.visible = parameters.GetValue("Visible").ToBool(); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; this.state = (Enums.PadlockState)Enum.Parse(typeof(Enums.PadlockState), parameters.GetValue("MovementState")); }
public GnpClient this[TClientID clientID] { get { return(clients.GetValue(clientID)); } }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; this.visible = parameters.GetValue("Visible").ToBool(); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("Text"), parameters.GetValue("Mugshot").ToInt(-1), parameters.GetValue("Speed").ToInt(1), parameters.GetValue("PauseLocation").ToInt(-1)); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("X").ToInt(), parameters.GetValue("Y").ToInt(), parameters.GetValue("Speed").ToInt(), parameters.GetValue("Pause").ToBool()); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("File"), parameters.GetValue("ImageID"), parameters.GetValue("X").ToInt(), parameters.GetValue("Y").ToInt()); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("File"), parameters.GetValue("HonorSettings").ToBool(), parameters.GetValue("Loop").ToBool()); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; this.state = (Enums.PadlockState)(parameters.GetValue("State").ToInt(0)); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; Load(parameters.GetValue("ID"), (Enums.Direction)parameters.GetValue("Direction").ToInt()); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; this.state = (Enums.PadlockState)(parameters.GetValue("State").ToInt(0)); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; this.state = (Enums.PadlockState)Enum.Parse(typeof(Enums.PadlockState), parameters.GetValue("MovementState")); }
public void LoadFromSegmentData(ListPair <string, string> parameters) { this.parameters = parameters; this.file = parameters.GetValue("File"); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; this.imageID = parameters.GetValue("ImageID"); }
public void LoadFromSegmentData(ListPair<string, string> parameters) { this.parameters = parameters; this.length = parameters.GetValue("Length").ToInt(0); }