示例#1
0
 partial void OnPKInfoChanging(PKInfo value);
示例#2
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;
 }