Exemplo n.º 1
0
        public static void SendMessageToPlayers(this IZone zone, MessageBuilder builder)
        {
            if (zone == null)
            {
                return;
            }

            builder.ToCharacters(zone.GetCharacters()).Send();
        }
 public void SpreadDecorChanges(DecorDescription decorDescription)
 {
     Message.Builder.SetCommand(Commands.DecorUpdate).WithData(new Dictionary <string, object> {
         { k.description, decorDescription.ToDictionary() }
     }).ToCharacters(_zone.GetCharacters()).Send();
 }