You can set pixel colors (and text) on a 500x350 canvas, pepega version of r/place You use currency to set pixels. see whole canvas: .nc set pixel: .ncsp <pos> <color> <text?> get pixel: .ncp <pos> zoom: .ncz <pos> or .ncz x y
24 lines
No EOL
511 B
C#
24 lines
No EOL
511 B
C#
using EllieBot.Db.Models;
|
|
|
|
namespace EllieBot.Modules.Games;
|
|
|
|
public interface INCanvasService
|
|
{
|
|
Task<uint[]> GetCanvas();
|
|
Task<NCPixel[]> GetPixelGroup(int position);
|
|
|
|
Task<SetPixelResult> SetPixel(
|
|
int position,
|
|
uint color,
|
|
string text,
|
|
ulong userId,
|
|
long price);
|
|
|
|
Task<bool> SetImage(uint[] img);
|
|
|
|
Task<NCPixel?> GetPixel(int x, int y);
|
|
Task<NCPixel?> GetPixel(int position);
|
|
int GetHeight();
|
|
int GetWidth();
|
|
Task ResetAsync();
|
|
} |