예제 #1
0
 protected override void OnLoadStart()
 {
     cash_Table      = TableManager.Instance.GetTableClass <Cash_Table>();
     character_Table = TableManager.Instance.GetTableClass <Character_Table>();
     skin_Table      = TableManager.Instance.GetTableClass <Skin_Table>();
     SetLoadComplete();
 }
예제 #2
0
 protected override void OnLoadStart()
 {
     optionModel          = Model.First <MobileOptionModel>();
     cash_Table           = TableManager.Instance.GetTableClass <Cash_Table>();
     character_Table      = TableManager.Instance.GetTableClass <Character_Table>();
     skin_Table           = TableManager.Instance.GetTableClass <Skin_Table>();
     playerInventoryModel = Model.First <PlayerInventoryModel>();
     playerStatusModel    = Model.First <PlayerStatusModel>();
     SetLoadComplete();
 }
 /// <summary> Datarow matching the provided skin code </summary>
 /// <param name="Skin_Code"> Code for the HTML skin information to retrieve </param>
 /// <returns> Row from a database query with basic information about the skin to build ( codes, override flags, banner link ), or NULL </returns>
 /// <remarks> The datarow for this method is from the datatable passed in during construction of this object.  This datatable was retrieved by calling
 /// the <see cref="Database.SobekCM_Database.Get_All_Web_Skins"/> method during
 /// application startup when the <see cref="SobekCM_Skin_Collection_Builder.Populate_Default_Skins"/> method is called. </remarks>
 public DataRow Skin_Row(string Skin_Code)
 {
     DataRow[] selectedRows = Skin_Table.Select("WebSkinCode = '" + Skin_Code + "'");
     return(selectedRows.Length > 0 ? selectedRows[0] : null);
 }
예제 #4
0
 public SetSkinStoreMsg(Skin_Table skin_Table)
 {
     this.skin_Table = skin_Table;
 }