Пример #1
0
        public void HandleRequest(IRequest request)
        {
            var character = request.Session.Character;
            var result    = _standingHandler.GetStandingForDefaultCorporations(character) ?? new Dictionary <string, object>();

            Message.Builder.FromRequest(request).WithData(result).WithEmpty().Send();
        }
Пример #2
0
 public static void SendStandingToDefaultCorps(this IStandingHandler standingHandler, Character character)
 {
     //refresh standings
     Message.Builder.SetCommand(Commands.GetStandingForDefaultCorporations)
     .WithData(standingHandler.GetStandingForDefaultCorporations(character))
     .ToCharacter(character)
     .Send();
 }