/// <summary> /// Create a new Character object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="accountID">Initial value of the AccountID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="slot">Initial value of the Slot property.</param> /// <param name="map">Initial value of the Map property.</param> /// <param name="charLevel">Initial value of the CharLevel property.</param> /// <param name="job">Initial value of the Job property.</param> /// <param name="male">Initial value of the Male property.</param> /// <param name="hP">Initial value of the HP property.</param> /// <param name="sP">Initial value of the SP property.</param> /// <param name="exp">Initial value of the Exp property.</param> /// <param name="money">Initial value of the Money property.</param> /// <param name="hair">Initial value of the Hair property.</param> /// <param name="hairColor">Initial value of the HairColor property.</param> /// <param name="face">Initial value of the Face property.</param> /// <param name="xPos">Initial value of the XPos property.</param> /// <param name="yPos">Initial value of the YPos property.</param> /// <param name="statPoints">Initial value of the StatPoints property.</param> /// <param name="strStats">Initial value of the StrStats property.</param> /// <param name="endStats">Initial value of the EndStats property.</param> /// <param name="dexStats">Initial value of the DexStats property.</param> /// <param name="intStats">Initial value of the IntStats property.</param> /// <param name="sprStats">Initial value of the SprStats property.</param> public static Character CreateCharacter(global::System.Int32 id, global::System.Int32 accountID, global::System.String name, global::System.Byte slot, global::System.Byte map, global::System.Byte charLevel, global::System.Byte job, global::System.Boolean male, global::System.Int32 hP, global::System.Int32 sP, global::System.Int64 exp, global::System.Int64 money, global::System.Byte hair, global::System.Byte hairColor, global::System.Byte face, global::System.Int32 xPos, global::System.Int32 yPos, global::System.Byte statPoints, global::System.Byte strStats, global::System.Byte endStats, global::System.Byte dexStats, global::System.Byte intStats, global::System.Byte sprStats) { Character character = new Character(); character.ID = id; character.AccountID = accountID; character.Name = name; character.Slot = slot; character.Map = map; character.CharLevel = charLevel; character.Job = job; character.Male = male; character.HP = hP; character.SP = sP; character.Exp = exp; character.Money = money; character.Hair = hair; character.HairColor = hairColor; character.Face = face; character.XPos = xPos; character.YPos = yPos; character.StatPoints = statPoints; character.StrStats = strStats; character.EndStats = endStats; character.DexStats = dexStats; character.IntStats = intStats; character.SprStats = sprStats; return character; }
/// <summary> /// Deprecated Method for adding a new object to the Characters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCharacters(Character character) { base.AddObject("Characters", character); }