public static string DoRollMessage(LocalPlayer p) { return(JsonConvert.SerializeObject(new { messageType = "doRoll", messageContent = new { guid = p.Guid } })); }
public static string GetBoardMessage(LocalPlayer p) { return(JsonConvert.SerializeObject(new { messageType = "getBoard", messageContent = new { guid = p.Guid } })); }