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