コード例 #1
0
        private void EchoCreateFellow(NetworkMessageEventArgs e)
        {
            try
            {
                _FellowInfo = new FellowInfoClass(e);

                AetherCore.Events.SendFellowChange(e);
            }catch(Exception ex){LogError(ex);}
        }
コード例 #2
0
 private void EchoRemoveFellow(NetworkMessageEventArgs e)
 {
     try
     {
         int FellowId = e.Message.Value<int>("fellow");
         if(FellowId == _CharacterStats.Id)
         {
             _FellowInfo = new FellowInfoClass();
         }
         else
         {
             _FellowInfo.RemoveFellow(e.Message.Value<int>("fellow"));
         }
         AetherCore.Events.SendFellowChange(e);
     }catch(Exception ex){LogError(ex);}
 }