Пример #1
0
 public void OnMotion(Packets.Client.CSMG_CHAT_MOTION p)
 {
     ChatArg arg = new ChatArg();
     arg.motion = p.Motion;
     arg.loop = p.Loop;
     Map.SendEventToAllActorsWhoCanSeeActor(Map.EVENT_TYPE.MOTION, arg, this.Character, true);
 }
Пример #2
0
 public void OnSit(Packets.Client.CSMG_CHAT_SIT p)
 {
     ChatArg arg = new ChatArg();
     arg.motion = MotionType.SIT;
     arg.loop = 1;
     Map.SendEventToAllActorsWhoCanSeeActor(Map.EVENT_TYPE.MOTION, arg, this.Character, true);
 }
Пример #3
0
 public void OnChat(Packets.Client.CSMG_CHAT_PUBLIC p)
 {
     if (!AtCommand.Instance.ProcessCommand(this, p.Content))
     {
         ChatArg arg = new ChatArg();
         arg.content = p.Content;
         Map.SendEventToAllActorsWhoCanSeeActor(Map.EVENT_TYPE.CHAT, arg, this.Character, true);
     }
 }