Beispiel #1
0
 public void AddGuildStorageLedger(long CID, GuildStorageOperationCode opCode, GuildStorageEventCode eventCode, string itemClassEX, int amount)
 {
     this.AddGuildStorageLedger(CID, opCode, eventCode, itemClassEX, amount, -1, -1, -1, -1, -1);
 }
Beispiel #2
0
 public void AddGuildStorageLedger(long CID, GuildStorageOperationCode opCode, GuildStorageEventCode eventCode, string itemClassEX, int amount, int color1, int color2, int color3, int reduceDurability, int maxDurabilityBonus)
 {
     try
     {
         HeroesLogDataContext heroesLogDataContext = new HeroesLogDataContext();
         heroesLogDataContext.AddGuildStorageLedger(new long?((long)this.Parent.GuildSN), new long?(CID), new short?((short)((byte)opCode)), new short?((short)((byte)eventCode)), itemClassEX, new int?(amount), new int?(color1), new int?(color2), new int?(color3), new int?(reduceDurability), new int?(maxDurabilityBonus));
     }
     catch (Exception ex)
     {
         Log <GuildStorageManager> .Logger.Error(ex);
     }
 }
Beispiel #3
0
 public void AddGuildStorageLedger(long CID, GuildStorageOperationCode opCode, GuildStorageEventCode eventCode)
 {
     this.AddGuildStorageLedger(CID, opCode, eventCode, "", 0, -1, -1, -1, -1, -1);
 }