public DeleteCharactersJob(BaseDatabase database, string userId, string id, Action onFinished = null) : base(database, onFinished)
 {
     this.userId = userId;
     this.id     = id;
 }
Example #2
0
 public IncreaseGuildGoldJob(BaseDatabase database, int guildId, int amount, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.guildId = guildId;
     this.amount  = amount;
 }
Example #3
0
 public ValidateAccessTokenJob(BaseDatabase database, string userId, string accessToken, Action <bool> onFinished = null) : base(database, onFinished)
 {
     this.userId      = userId;
     this.accessToken = accessToken;
 }
Example #4
0
 public UpdateGuildMemberRoleJob(BaseDatabase database, string characterId, byte guildRole, Action onFinished = null) : base(database, onFinished)
 {
     this.characterId = characterId;
     this.guildRole   = guildRole;
 }
Example #5
0
 public SetCharacterGuildJob(BaseDatabase database, string characterId, int id, byte guildRole, Action onFinished = null) : base(database, onFinished)
 {
     this.characterId = characterId;
     this.id          = id;
     this.guildRole   = guildRole;
 }
Example #6
0
 public ReadGuildJob(BaseDatabase database, int id, GuildRoleData[] defaultGuildRoles, Action <GuildData> onFinished = null) : base(database, onFinished)
 {
     this.id = id;
     this.defaultGuildRoles = defaultGuildRoles;
 }
Example #7
0
 public UpdateGuildLeaderJob(BaseDatabase database, int id, string characterId, Action onFinished = null) : base(database, onFinished)
 {
     this.id          = id;
     this.characterId = characterId;
 }
 public UpdateStorageItemsJob(BaseDatabase database, StorageType storageType, string storageOwnerId, IList <CharacterItem> characterItems, Action onFinished = null) : base(database, onFinished)
 {
     this.storageType    = storageType;
     this.storageOwnerId = storageOwnerId;
     this.characterItems = characterItems;
 }
 public DatabaseJob(BaseDatabase database, Action onFinished)
 {
     this.database   = database;
     this.onFinished = onFinished;
 }
 public ReadFriendsJob(BaseDatabase database, string id1, Action <List <SocialCharacterData> > onFinished = null) : base(database, onFinished)
 {
     this.id1 = id1;
 }
 public ReadStorageItemsJob(BaseDatabase database, StorageType storageType, string storageOwnerId, Action <List <CharacterItem> > onFinished = null) : base(database, onFinished)
 {
     this.storageType    = storageType;
     this.storageOwnerId = storageOwnerId;
 }
 public DeleteFriendJob(BaseDatabase database, string id1, string id2, Action onFinished = null) : base(database, onFinished)
 {
     this.id1 = id1;
     this.id2 = id2;
 }
 public FindCharactersJob(BaseDatabase database, string characterName, Action <List <SocialCharacterData> > onFinished = null) : base(database, onFinished)
 {
     this.characterName = characterName;
 }
 public FindCharacterNameJob(BaseDatabase database, string characterName, Action <long> onFinished = null) : base(database, onFinished)
 {
     this.characterName = characterName;
 }
Example #15
0
 public SetCharacterPartyJob(BaseDatabase database, string characterId, int id, Action onFinished = null) : base(database, onFinished)
 {
     this.characterId = characterId;
     this.id          = id;
 }
 public FindUsernameJob(BaseDatabase database, string username, Action <long> onFinished = null) : base(database, onFinished)
 {
     this.username = username;
 }
Example #17
0
 public CreateGuildJob(BaseDatabase database, string guildName, string leaderId, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.guildName = guildName;
     this.leaderId  = leaderId;
 }
Example #18
0
 public CreateUserLoginJob(BaseDatabase database, string username, string password, Action onFinished = null) : base(database, onFinished)
 {
     this.username = username;
     this.password = password;
 }
Example #19
0
 public IncreaseGuildExpJob(BaseDatabase database, int id, int increaseExp, int[] expTree, Action <bool> onFinished = null) : base(database, onFinished)
 {
     this.id          = id;
     this.increaseExp = increaseExp;
     this.expTree     = expTree;
 }
Example #20
0
 public GooglePlayLoginJob(BaseDatabase database, string id, string email, Action <string> onFinished = null) : base(database, onFinished)
 {
     this.id    = id;
     this.email = email;
 }
Example #21
0
 public UpdateGuildMessageJob(BaseDatabase database, int id, string message, Action onFinished = null) : base(database, onFinished)
 {
     this.id      = id;
     this.message = message;
 }
Example #22
0
 public GetUserLevelJob(BaseDatabase database, string userId, Action <byte> onFinished = null) : base(database, onFinished)
 {
     this.userId = userId;
 }
Example #23
0
 public DeleteGuildJob(BaseDatabase database, int id, Action onFinished = null) : base(database, onFinished)
 {
     this.id = id;
 }
Example #24
0
 public CreatePartyJob(BaseDatabase database, bool shareExp, bool shareItem, string leaderId, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.shareExp  = shareExp;
     this.shareItem = shareItem;
     this.leaderId  = leaderId;
 }
Example #25
0
 public GetGuildGoldJob(BaseDatabase database, int guildId, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.guildId = guildId;
 }
Example #26
0
 public ReadPartyJob(BaseDatabase database, int id, Action <PartyData> onFinished = null) : base(database, onFinished)
 {
     this.id = id;
 }
Example #27
0
 public GetGoldJob(BaseDatabase database, string userId, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.userId = userId;
 }
Example #28
0
 public UpdatePartyJob(BaseDatabase database, int id, bool shareExp, bool shareItem, Action onFinished = null) : base(database, onFinished)
 {
     this.id        = id;
     this.shareExp  = shareExp;
     this.shareItem = shareItem;
 }
Example #29
0
 public DecreaseGoldJob(BaseDatabase database, string userId, int amount, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.userId = userId;
     this.amount = amount;
 }
 public UpdateCharacterJob(BaseDatabase database, IPlayerCharacterData playerCharacterData, Action onFinished = null) : base(database, onFinished)
 {
     this.playerCharacterData = playerCharacterData;
 }