Example #1
0
 public bool SetItemInformations(PlayerItemData Info)
 {
     ItemIndex                  = Info.ItemIndex;
     ItemTypeID                 = Info.ItemTypeID;
     ItemHourLeft               = Info.ItemHourLeft;
     ItemC0                     = Info.ItemC0;
     ItemC1                     = Info.ItemC1;
     ItemC2                     = Info.ItemC2;
     ItemC3                     = Info.ItemC3;
     ItemC4                     = Info.ItemC4;
     ItemUCCUnique              = Info.ItemUCCUnique;
     ItemUCCStatus              = Info.ItemUCCStatus;
     ItemUCCDrawer              = Info.ItemUCCDrawer;
     ItemUCCDrawerUID           = Info.ItemUCCDrawerUID;
     ItemUCCName                = Info.ItemUCCName;
     ItemUCCCopyCount           = Info.ItemUCCCopyCount;
     ItemClubPoint              = Info.ItemClubPoint;
     ItemClubWorkCount          = Info.ItemClubWorkCount;
     ItemClubPointLog           = Info.ItemClubPointLog;
     ItemClubPangLog            = Info.ItemClubPangLog;
     ItemC0Slot                 = Info.ItemC0Slot;
     ItemC1Slot                 = Info.ItemC1Slot;
     ItemC2Slot                 = Info.ItemC2Slot;
     ItemC3Slot                 = Info.ItemC3Slot;
     ItemC4Slot                 = Info.ItemC4Slot;
     ItemClubSlotCancelledCount = Info.ItemClubSlotCancelledCount;
     ItemGroup                  = (byte)GetItemGroup(Info.ItemTypeID);
     ItemRegDate                = Info.ItemRegDate;
     ItemEndDate                = Info.ItemEndDate;
     ItemIsValid                = Info.ItemIsValid;
     ItemNeedUpdate             = false;
     return(true);
 }
Example #2
0
 public bool Update(PlayerItemData item)
 {
     this.ItemC1                     = item.ItemC1;
     this.ItemC2                     = item.ItemC2;
     this.ItemC3                     = item.ItemC3;
     this.ItemC4                     = item.ItemC4;
     this.ItemUCCName                = item.ItemUCCName;
     this.ItemUCCStatus              = item.ItemUCCStatus;
     this.ItemUCCDrawer              = item.ItemUCCDrawer;
     this.ItemUCCDrawerUID           = item.ItemUCCDrawerUID;
     this.ItemClubPoint              = item.ItemClubPoint;
     this.ItemClubWorkCount          = item.ItemClubWorkCount;
     this.ItemClubPointLog           = item.ItemClubPointLog;
     this.ItemClubPangLog            = item.ItemClubPangLog;
     this.ItemC0Slot                 = item.ItemC0Slot;
     this.ItemC1Slot                 = item.ItemC1Slot;
     this.ItemC2Slot                 = item.ItemC2Slot;
     this.ItemC3Slot                 = item.ItemC3Slot;
     this.ItemC4Slot                 = item.ItemC4Slot;
     this.ItemClubSlotCancelledCount = item.ItemClubSlotCancelledCount;
     return(true);
 }