Example #1
0
/// <summary>
/// Initializes a new instance of the <see cref="AccountIpsTable"/> class.
/// </summary>
/// <param name="accountID">The initial value for the corresponding property.</param>
/// <param name="iD">The initial value for the corresponding property.</param>
/// <param name="ip">The initial value for the corresponding property.</param>
/// <param name="time">The initial value for the corresponding property.</param>
        public AccountIpsTable(DemoGame.AccountID @accountID, System.UInt32 @iD, System.UInt32 @ip, System.DateTime @time)
        {
            this.AccountID = (DemoGame.AccountID)@accountID;
            this.ID        = (System.UInt32)@iD;
            this.Ip        = (System.UInt32)@ip;
            this.Time      = (System.DateTime)@time;
        }
Example #2
0
/// <summary>
/// Initializes a new instance of the <see cref="AccountBanTable"/> class.
/// </summary>
/// <param name="accountID">The initial value for the corresponding property.</param>
/// <param name="endTime">The initial value for the corresponding property.</param>
/// <param name="expired">The initial value for the corresponding property.</param>
/// <param name="iD">The initial value for the corresponding property.</param>
/// <param name="issuedBy">The initial value for the corresponding property.</param>
/// <param name="reason">The initial value for the corresponding property.</param>
/// <param name="startTime">The initial value for the corresponding property.</param>
        public AccountBanTable(DemoGame.AccountID @accountID, System.DateTime @endTime, System.Boolean @expired, System.Int32 @iD, System.String @issuedBy, System.String @reason, System.DateTime @startTime)
        {
            this.AccountID = (DemoGame.AccountID)@accountID;
            this.EndTime   = (System.DateTime)@endTime;
            this.Expired   = (System.Boolean)@expired;
            this.ID        = (System.Int32)@iD;
            this.IssuedBy  = (System.String)@issuedBy;
            this.Reason    = (System.String)@reason;
            this.StartTime = (System.DateTime)@startTime;
        }
/// <summary>
/// Initializes a new instance of the <see cref="AccountCharacterTable"/> class.
/// </summary>
/// <param name="accountID">The initial value for the corresponding property.</param>
/// <param name="characterID">The initial value for the corresponding property.</param>
/// <param name="timeDeleted">The initial value for the corresponding property.</param>
        public AccountCharacterTable(DemoGame.AccountID @accountID, DemoGame.CharacterID @characterID, System.Nullable <System.DateTime> @timeDeleted)
        {
            this.AccountID   = (DemoGame.AccountID)@accountID;
            this.CharacterID = (DemoGame.CharacterID)@characterID;
            this.TimeDeleted = (System.Nullable <System.DateTime>)@timeDeleted;
        }
Example #4
0
/// <summary>
/// Initializes a new instance of the <see cref="AccountTable"/> class.
/// </summary>
/// <param name="creatorIp">The initial value for the corresponding property.</param>
/// <param name="currentIp">The initial value for the corresponding property.</param>
/// <param name="email">The initial value for the corresponding property.</param>
/// <param name="friends">The initial value for the corresponding property.</param>
/// <param name="iD">The initial value for the corresponding property.</param>
/// <param name="name">The initial value for the corresponding property.</param>
/// <param name="password">The initial value for the corresponding property.</param>
/// <param name="permissions">The initial value for the corresponding property.</param>
/// <param name="timeCreated">The initial value for the corresponding property.</param>
/// <param name="timeLastLogin">The initial value for the corresponding property.</param>
        public AccountTable(System.UInt32 @creatorIp, System.Nullable <System.UInt32> @currentIp, System.String @email, System.String @friends, DemoGame.AccountID @iD, System.String @name, System.String @password, DemoGame.UserPermissions @permissions, System.DateTime @timeCreated, System.DateTime @timeLastLogin)
        {
            this.CreatorIp     = (System.UInt32)@creatorIp;
            this.CurrentIp     = (System.Nullable <System.UInt32>)@currentIp;
            this.Email         = (System.String)@email;
            this.Friends       = (System.String)@friends;
            this.ID            = (DemoGame.AccountID)@iD;
            this.Name          = (System.String)@name;
            this.Password      = (System.String)@password;
            this.Permissions   = (DemoGame.UserPermissions)@permissions;
            this.TimeCreated   = (System.DateTime)@timeCreated;
            this.TimeLastLogin = (System.DateTime)@timeLastLogin;
        }