public DeleteCharactersJob(BaseDatabase database, string userId, string id, Action onFinished = null) : base(database, onFinished)
 {
     this.userId = userId;
     this.id     = id;
 }
Exemple #2
0
 public IncreaseGuildGoldJob(BaseDatabase database, int guildId, int amount, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.guildId = guildId;
     this.amount  = amount;
 }
Exemple #3
0
 public ValidateAccessTokenJob(BaseDatabase database, string userId, string accessToken, Action <bool> onFinished = null) : base(database, onFinished)
 {
     this.userId      = userId;
     this.accessToken = accessToken;
 }
Exemple #4
0
 public UpdateGuildMemberRoleJob(BaseDatabase database, string characterId, byte guildRole, Action onFinished = null) : base(database, onFinished)
 {
     this.characterId = characterId;
     this.guildRole   = guildRole;
 }
Exemple #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;
 }
Exemple #6
0
 public ReadGuildJob(BaseDatabase database, int id, GuildRoleData[] defaultGuildRoles, Action <GuildData> onFinished = null) : base(database, onFinished)
 {
     this.id = id;
     this.defaultGuildRoles = defaultGuildRoles;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #17
0
 public CreateGuildJob(BaseDatabase database, string guildName, string leaderId, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.guildName = guildName;
     this.leaderId  = leaderId;
 }
Exemple #18
0
 public CreateUserLoginJob(BaseDatabase database, string username, string password, Action onFinished = null) : base(database, onFinished)
 {
     this.username = username;
     this.password = password;
 }
Exemple #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;
 }
Exemple #20
0
 public GooglePlayLoginJob(BaseDatabase database, string id, string email, Action <string> onFinished = null) : base(database, onFinished)
 {
     this.id    = id;
     this.email = email;
 }
Exemple #21
0
 public UpdateGuildMessageJob(BaseDatabase database, int id, string message, Action onFinished = null) : base(database, onFinished)
 {
     this.id      = id;
     this.message = message;
 }
Exemple #22
0
 public GetUserLevelJob(BaseDatabase database, string userId, Action <byte> onFinished = null) : base(database, onFinished)
 {
     this.userId = userId;
 }
Exemple #23
0
 public DeleteGuildJob(BaseDatabase database, int id, Action onFinished = null) : base(database, onFinished)
 {
     this.id = id;
 }
Exemple #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;
 }
Exemple #25
0
 public GetGuildGoldJob(BaseDatabase database, int guildId, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.guildId = guildId;
 }
Exemple #26
0
 public ReadPartyJob(BaseDatabase database, int id, Action <PartyData> onFinished = null) : base(database, onFinished)
 {
     this.id = id;
 }
Exemple #27
0
 public GetGoldJob(BaseDatabase database, string userId, Action <int> onFinished = null) : base(database, onFinished)
 {
     this.userId = userId;
 }
Exemple #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;
 }
Exemple #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;
 }