Zepheus.World.Data.Character.CreateCharacter C# (CSharp) Method

CreateCharacter() public static method

Create a new Character object.
public static CreateCharacter ( global id, global accountID, global name, global slot, global map, global charLevel, global job, global male, global hP, global sP, global exp, global money, global hair, global hairColor, global face, global xPos, global yPos, global statPoints, global strStats, global endStats, global dexStats, global intStats, global sprStats ) : Character
id global Initial value of the ID property.
accountID global Initial value of the AccountID property.
name global Initial value of the Name property.
slot global Initial value of the Slot property.
map global Initial value of the Map property.
charLevel global Initial value of the CharLevel property.
job global Initial value of the Job property.
male global Initial value of the Male property.
hP global Initial value of the HP property.
sP global Initial value of the SP property.
exp global Initial value of the Exp property.
money global Initial value of the Money property.
hair global Initial value of the Hair property.
hairColor global Initial value of the HairColor property.
face global Initial value of the Face property.
xPos global Initial value of the XPos property.
yPos global Initial value of the YPos property.
statPoints global Initial value of the StatPoints property.
strStats global Initial value of the StrStats property.
endStats global Initial value of the EndStats property.
dexStats global Initial value of the DexStats property.
intStats global Initial value of the IntStats property.
sprStats global Initial value of the SprStats property.
return Character
        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;
        }