mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
18 lines
813 B
C#
18 lines
813 B
C#
#nullable disable
|
|
using Nadeko.Econ.Gambling;
|
|
using Nadeko.Econ.Gambling.Betdraw;
|
|
using Nadeko.Econ.Gambling.Rps;
|
|
using OneOf;
|
|
|
|
namespace NadekoBot.Modules.Gambling;
|
|
|
|
public interface IGamblingService
|
|
{
|
|
Task<OneOf<LuLaResult, GamblingError>> LulaAsync(ulong userId, long amount);
|
|
Task<OneOf<BetrollResult, GamblingError>> BetRollAsync(ulong userId, long amount);
|
|
Task<OneOf<BetflipResult, GamblingError>> BetFlipAsync(ulong userId, long amount, byte guess);
|
|
Task<OneOf<SlotResult, GamblingError>> SlotAsync(ulong userId, long amount);
|
|
Task<FlipResult[]> FlipAsync(int count);
|
|
Task<OneOf<RpsResult, GamblingError>> RpsAsync(ulong userId, long amount, byte pick);
|
|
Task<OneOf<BetdrawResult, GamblingError>> BetDrawAsync(ulong userId, long amount, byte? guessValue, byte? guessColor);
|
|
} |