public Task <LoginCheckInfo> GetLoginCheckInfo(string platformAccount) { return(RedisOpt.GetStringAsync <LoginCheckInfo>(KeyGenTool.GenKey(platformAccount, nameof(LoginCheckInfo)))); }
public Task <GameInfo> GetGameInfo(long id) { return(RedisOpt.GetStringAsync <GameInfo>(KeyGenTool.GenUserKey(id, GameInfo.ClassName))); }
public Task <UserRoomInfo> GetUserRoomInfo(long id) { return(RedisOpt.GetStringAsync <UserRoomInfo>(KeyGenTool.GenUserKey(id, nameof(UserRoomInfo)))); }
public Task <AccountInfo> GetAccountInfo(long id) { return(RedisOpt.GetStringAsync <AccountInfo>(KeyGenTool.GenUserKey(id, nameof(AccountInfo)))); }
public Task <ServiceTemplateInfo> GetServiceTemplateInfo(long id) { return(RedisOpt.GetStringAsync <ServiceTemplateInfo>(KeyGenTool.GenUserKey(id, nameof(ServiceTemplateInfo)))); }
public Task <GameInfo> GetGameInfo(long id) { return(RedisOpt.GetStringAsync <GameInfo>(KeyGenTool.GenUserKey(id, nameof(GameInfo)))); }
public Task <BankruptcyInfo> GetBankruptcyInfo(DateTime date, long id) { return(RedisOpt.GetStringAsync <BankruptcyInfo> (KeyGenTool.GenUserDayKey(date, id, nameof(BankruptcyInfo)))); }
public Task <LoginRewardInfo> GetLoginReward(DateTime date, long id) { return(RedisOpt.GetStringAsync <LoginRewardInfo> (KeyGenTool.GenUserWeekKey(date, id, nameof(LoginRewardInfo)))); }
public Task <RegisterRewardInfo> GetUserRegiserReward(long id) { return(RedisOpt.GetStringAsync <RegisterRewardInfo>(KeyGenTool.GenUserKey(id, nameof(RegisterRewardInfo)))); }