Exemplo n.º 1
0
 public static void Notify(string scene, string actor, Item item)
 {
     var cmd = new CmdToClient("Drop", actor, JsonConvert.SerializeObject(item));
     Clients.TellScene(scene, cmd.ToString());
 }
Exemplo n.º 2
0
        public static void Notify(string scene, string actor, string target, Item item)
        {
            var command = new CmdToClient("GiveItem", actor, target, JsonConvert.SerializeObject(item));

            Clients.TellScene(scene, command.ToString());
        }