123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- using CommonAI.Zone;
- using CommonAI.Zone.Instance;
- using CommonLang.IO;
- using CommonLang.IO.Attribute;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using XmdsCommon.Plugin;
- namespace XmdsCommon.Message
- {
-
-
-
- [MessageType(0x0FFF001)]
- public class PlayerDramaEndAction : ObjectAction
- {
- public string dramaId = null;
- public PlayerDramaEndAction() { }
- public PlayerDramaEndAction(uint unit_id, string id)
- : base(unit_id)
- {
- this.dramaId = id;
- }
- override public void WriteExternal(IOutputStream output)
- {
- base.WriteExternal(output);
- output.PutUTF(dramaId);
- }
- override public void ReadExternal(IInputStream input)
- {
- base.ReadExternal(input);
- this.dramaId = input.GetUTF();
- }
- }
-
-
-
- [MessageType(0x0FFF002)]
- public class PlayerTestamentChangeEventAction : ObjectAction
- {
- public byte TestamentID = 0;
- public PlayerTestamentChangeEventAction() { }
- public PlayerTestamentChangeEventAction(uint unit_id, byte testamentID)
- : base(unit_id)
- {
- this.TestamentID = testamentID;
- }
- override public void WriteExternal(IOutputStream output)
- {
- base.WriteExternal(output);
- output.PutU8(TestamentID);
- }
- override public void ReadExternal(IInputStream input)
- {
- base.ReadExternal(input);
- this.TestamentID = input.GetU8();
- }
- }
-
-
-
- [MessageType(0x0FFF003)]
- public class PlayerPutRefineSoulItemAction : ObjectAction
- {
- public PlayerPutRefineSoulItemAction() { }
- public PlayerPutRefineSoulItemAction(uint unit_id)
- : base(unit_id)
- {
- }
- override public void WriteExternal(IOutputStream output)
- {
- base.WriteExternal(output);
- }
- override public void ReadExternal(IInputStream input)
- {
- base.ReadExternal(input);
- }
- }
-
-
-
- [MessageType(0x0FFF004)]
- public class PlayerAutoGuardEventC2B : ObjectAction
- {
- public bool Flag = false;
- public PlayerAutoGuardEventC2B() { }
- public PlayerAutoGuardEventC2B(uint unit_id, bool flag) : base(unit_id)
- {
- this.Flag = flag;
- }
- override public void WriteExternal(IOutputStream output)
- {
- base.WriteExternal(output);
- output.PutBool(this.Flag);
- }
- override public void ReadExternal(IInputStream input)
- {
- base.ReadExternal(input);
- this.Flag = input.GetBool();
- }
- }
-
- [MessageType(0x0FFF005)]
- public class PlayerEnterCrossServerRequestC2B : ObjectAction
- {
- public PlayerEnterCrossServerRequestC2B() { }
- public PlayerEnterCrossServerRequestC2B(uint unit_id) : base(unit_id)
- {
- }
- }
-
-
-
- [MessageType(0x0FFF006)]
- public class GetMonsterSufferDamageInfoC2B : ObjectAction
- {
-
-
-
- public string PlayerUUID;
-
-
-
- public uint MonsterID;
- public GetMonsterSufferDamageInfoC2B() { }
-
-
-
-
-
- public GetMonsterSufferDamageInfoC2B(uint unit_id, uint monsterID) : base(unit_id)
- {
- MonsterID = monsterID;
- }
- override public void WriteExternal(IOutputStream output)
- {
- base.WriteExternal(output);
-
- output.PutU32(MonsterID);
- }
- override public void ReadExternal(IInputStream input)
- {
- base.ReadExternal(input);
-
- this.MonsterID = input.GetU32();
- }
- }
- }
|