28 lines
651 B
C#
28 lines
651 B
C#
using System;
|
|
namespace Edgegap
|
|
{
|
|
// https://docs.edgegap.com/docs/lobby/functions#creating-a-new-lobby
|
|
[Serializable]
|
|
public struct LobbyCreateRequest
|
|
{
|
|
[Serializable]
|
|
public struct Player
|
|
{
|
|
public string id;
|
|
}
|
|
[Serializable]
|
|
public struct Annotation
|
|
{
|
|
public bool inject;
|
|
public string key;
|
|
public string value;
|
|
}
|
|
public Annotation[] annotations; // todo
|
|
public int capacity;
|
|
public bool is_joinable;
|
|
public string name;
|
|
public Player player;
|
|
public string[] tags;
|
|
}
|
|
}
|