示例#1
0
        public override void ExecuteRefreshEvent(RefreshEventCommand command)
        {
            base.ExecuteRefreshEvent(command);

            Dictionary <byte, object> eventContent = command.EventContent;

            string room_property_json = JsonConvert.SerializeObject(eventContent);

            Debug.LogFormat("Event: {0}, {1}", command.EventCode, room_property_json);
            RoomPanel.EventParamsJson = room_property_json;
        }
示例#2
0
 public virtual void Execute(RefreshEventCommand argument)
 {
     this.RefreshEvent.OnNext(argument);
 }
示例#3
0
 public virtual void ExecuteRefreshEvent(RefreshEventCommand command)
 {
     command.Sender = RoomPanel;
     RoomPanel.RefreshEvent.OnNext(command);
 }
示例#4
0
 public virtual void RefreshEventExecuted(RefreshEventCommand command)
 {
 }
示例#5
0
 public virtual void RefreshEvent(RoomPanelViewModel viewModel, RefreshEventCommand arg)
 {
 }
示例#6
0
 public virtual void RefreshEventHandler(RefreshEventCommand command)
 {
     this.RefreshEvent(command.Sender as RoomPanelViewModel, command);
 }