Example #1
0
 /// <summary>
 /// Create a new CharacterAppearance object.
 /// </summary>
 /// <param name="hairMesh">Initial value of the HairMesh property.</param>
 /// <param name="hairColor">Initial value of the HairColor property.</param>
 /// <param name="headMesh">Initial value of the HeadMesh property.</param>
 public static CharacterAppearance CreateCharacterAppearance(global::System.Int32 hairMesh, global::System.Int32 hairColor, global::System.Int32 headMesh)
 {
     CharacterAppearance characterAppearance = new CharacterAppearance();
     characterAppearance.HairMesh = hairMesh;
     characterAppearance.HairColor = hairColor;
     characterAppearance.HeadMesh = headMesh;
     return characterAppearance;
 }
Example #2
0
 partial void OnAppearanceChanging(CharacterAppearance value);
Example #3
0
 /// <summary>
 /// Create a new Character object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="gender">Initial value of the Gender property.</param>
 /// <param name="job">Initial value of the Job property.</param>
 /// <param name="position">Initial value of the Position property.</param>
 /// <param name="stats">Initial value of the Stats property.</param>
 /// <param name="flyingStats">Initial value of the FlyingStats property.</param>
 /// <param name="appearance">Initial value of the Appearance property.</param>
 /// <param name="blocked">Initial value of the Blocked property.</param>
 /// <param name="slot">Initial value of the Slot property.</param>
 /// <param name="pKInfo">Initial value of the PKInfo property.</param>
 /// <param name="personalInformation">Initial value of the PersonalInformation property.</param>
 public static Character CreateCharacter(global::System.Int32 id, global::System.Int32 userId, global::System.String name, global::System.Byte gender, global::System.Byte job, Position position, Stats stats, FlyingStats flyingStats, CharacterAppearance appearance, global::System.Boolean blocked, global::System.Int32 slot, PKInfo pKInfo, PersonalInformation personalInformation)
 {
     Character character = new Character();
     character.Id = id;
     character.UserId = userId;
     character.Name = name;
     character.Gender = gender;
     character.Job = job;
     character.Position = StructuralObject.VerifyComplexObjectIsNotNull(position, "Position");
     character.Stats = StructuralObject.VerifyComplexObjectIsNotNull(stats, "Stats");
     character.FlyingStats = StructuralObject.VerifyComplexObjectIsNotNull(flyingStats, "FlyingStats");
     character.Appearance = StructuralObject.VerifyComplexObjectIsNotNull(appearance, "Appearance");
     character.Blocked = blocked;
     character.Slot = slot;
     character.PKInfo = StructuralObject.VerifyComplexObjectIsNotNull(pKInfo, "PKInfo");
     character.PersonalInformation = StructuralObject.VerifyComplexObjectIsNotNull(personalInformation, "PersonalInformation");
     return character;
 }