public static byte[] FindDataSiege(BigInteger serverId, byte[] seigeId) { return(IO.GetStorageWithKeyPath( Const.preServer, Op.BigInt2String(serverId), Const.preSeige, Op.Bytes2String(seigeId) )); }
public static BigInteger NumUserSiegeHistory(User user) { return(Op.Bytes2BigInt( IO.GetStorageWithKeyPath( Const.preUser, user.email, Const.keyTotSiege ) )); }
public static byte[] FindDataCity(BigInteger serverId, BigInteger cityId) { return(IO.GetStorageWithKeyPath( Const.preServer, Op.BigInt2String(serverId), Const.preCity, Op.BigInt2String(cityId) )); }
public static BigInteger NumCitySiegeHistory(BigInteger serverId, BigInteger cityId) { return(Op.Bytes2BigInt( IO.GetStorageWithKeyPath( Const.preServer, Op.BigInt2String(serverId), Const.preCity, Op.BigInt2String(cityId), Const.keyTotSiege ) )); }
public static byte[] FindSiegeDataByCityHistId(BigInteger serverId, BigInteger cityId, BigInteger histId) { byte[] siegeId = IO.GetStorageWithKeyPath( Const.preServer, Op.BigInt2String(serverId), Const.preCity, Op.BigInt2String(cityId), Const.preSeige, Op.BigInt2String(histId) ); return(FindDataSiege(serverId, siegeId)); }
public static byte[] FindDataUser(string email) { return(IO.GetStorageWithKeyPath(Const.preUser, email)); }
public static byte[] FindDataCard(byte[] cardID) { return(IO.GetStorageWithKeyPath(Const.preCard, Op.Bytes2String(cardID))); }