コード例 #1
0
 public void Read(BinaryReader br)
 {
     ID   = br.ReadUInt32();
     Stop = br.ReadBoolean();
     br.ReadBytes(3);
     Target = TargetStream.Read(br);
 }
コード例 #2
0
 public void Read(BinaryReader br)
 {
     ID      = br.ReadUInt32();
     Period  = br.ReadUInt32();
     Counter = br.ReadUInt32();
     Target  = TargetStream.Read(br);
 }
コード例 #3
0
        public void Read(BinaryReader br)
        {
            int size = br.ReadInt32();

            Text   = br.ReadBytes(size).ToUnicode();
            Target = TargetStream.Read(br);
        }
コード例 #4
0
 public void Read(BinaryReader br)
 {
     ID        = br.ReadUInt32();
     IDType    = br.ReadUInt32();
     Range     = br.ReadInt32();
     PlayerNum = br.ReadInt32();
     Target    = TargetStream.Read(br);
 }
コード例 #5
0
 public void Read(BinaryReader br)
 {
     ActionName = br.ReadBytes(128).ToGBK();
     LoopCount  = br.ReadInt32();
     Interval   = br.ReadInt32();
     PlayTime   = br.ReadInt32();
     Target     = TargetStream.Read(br);
 }
 public void Read(BinaryReader br)
 {
     RadiusValue = br.ReadSingle();
     RadiusType  = br.ReadUInt32();
     TargetID    = br.ReadInt32();
     Target_Type = br.ReadUInt32();
     Target      = TargetStream.Read(br);
 }
コード例 #7
0
 public void Read(BinaryReader br)
 {
     ActionName = br.ReadBytes(128).ToGBK();
     Loop       = br.ReadBoolean();
     br.ReadBytes(3);
     Interval = br.ReadInt32();
     Target   = TargetStream.Read(br);
 }
コード例 #8
0
 public void Read(BinaryReader br)
 {
     ID             = br.ReadInt32();
     Value          = br.ReadInt32();
     IsHistoryValue = br.ReadBoolean();
     br.ReadBytes(3);
     Target = TargetStream.Read(br);
 }
コード例 #9
0
 public void Read(BinaryReader br)
 {
     WorldID    = br.ReadInt32();
     PathID     = br.ReadInt32();
     PatrolType = (MonsterPatrolType)br.ReadInt32();
     SpeedType  = (MonsterPatrolSpeedType)br.ReadInt32();
     Target     = TargetStream.Read(br);
 }
コード例 #10
0
 public void Read(BinaryReader br)
 {
     Skill = new SkillID()
     {
         Value = br.ReadUInt32()
     };
     Level  = br.ReadUInt32();
     Target = TargetStream.Read(br);
 }
コード例 #11
0
 public void Read(BinaryReader br)
 {
     MinX   = br.ReadSingle();
     MinY   = br.ReadSingle();
     MinZ   = br.ReadSingle();
     MaxX   = br.ReadSingle();
     MaxY   = br.ReadSingle();
     MaxZ   = br.ReadSingle();
     Target = TargetStream.Read(br);
 }
コード例 #12
0
 public void Read(BinaryReader br)
 {
     Dst      = br.ReadInt32();
     DstType  = (VarType)br.ReadInt32();
     Src1     = br.ReadInt32();
     Src1Type = (VarType)br.ReadInt32();
     Op       = (OperatorType)br.ReadInt32();
     Src2     = br.ReadInt32();
     Src2Type = (VarType)br.ReadInt32();
     Target   = TargetStream.Read(br);
 }
 public void Read(BinaryReader br)
 {
     MinX        = br.ReadSingle();
     MinY        = br.ReadSingle();
     MinZ        = br.ReadSingle();
     MaxX        = br.ReadSingle();
     MaxY        = br.ReadSingle();
     MaxZ        = br.ReadSingle();
     TargetID    = br.ReadInt32();
     Target_Type = br.ReadUInt32();
     Target      = TargetStream.Read(br);
 }
コード例 #14
0
 public void Read(BinaryReader br)
 {
     MonsterID = new MobID()
     {
         Value = br.ReadUInt32()
     };
     Range            = br.ReadInt32();
     Life             = br.ReadInt32();
     DispearCondition = (SummoneeDisppearType)br.ReadInt32();
     PathID           = br.ReadInt32();
     MonsterNum       = br.ReadInt32();
     Target           = TargetStream.Read(br);
 }
コード例 #15
0
 public void Read(BinaryReader br)
 {
     MonsterID = new MobID()
     {
         Value = br.ReadUInt32()
     };
     Range           = br.ReadInt32();
     Life            = br.ReadInt32();
     Dispear         = br.ReadInt32();
     UsePolicyTarget = br.ReadInt32();
     PathID          = br.ReadInt32();
     MonsterNum      = br.ReadInt32();
     Target          = TargetStream.Read(br);
 }
コード例 #16
0
 public void Read(BinaryReader br)
 {
     LifeType = br.ReadInt32();
     MineID   = new MineID()
     {
         Value = br.ReadUInt32()
     };
     MineIDType  = br.ReadInt32();
     Range       = br.ReadInt32();
     Life        = br.ReadInt32();
     MineNum     = br.ReadInt32();
     MineNumType = br.ReadInt32();
     Target      = TargetStream.Read(br);
 }
コード例 #17
0
 public void Read(BinaryReader br)
 {
     LifeType = br.ReadInt32();
     NPCID    = new NpcID()
     {
         Value = br.ReadUInt32()
     };
     NPCIDType  = br.ReadInt32();
     Range      = br.ReadInt32();
     Life       = br.ReadInt32();
     PathID     = br.ReadInt32();
     PathIDType = br.ReadInt32();
     NPCNum     = br.ReadInt32();
     NPCNumType = br.ReadInt32();
     Target     = TargetStream.Read(br);
 }
コード例 #18
0
        public void Read(BinaryReader br)
        {
            int size = br.ReadInt32();

            Text = br.ReadBytes(size).ToUnicode();
            if (Text.StartsWith("$"))
            {
                string c = Text.Substring(0, 2);
                switch (c)
                {
                case "$S":
                    ChatChannel = ChatChannels2.System;
                    break;

                case "$A":
                    ChatChannel = ChatChannels2.NormalWithoutName;
                    break;

                case "$I":
                    ChatChannel = ChatChannels2.Gm;
                    break;

                case "$X":
                    ChatChannel = ChatChannels2.CenterScreen;
                    break;

                default:
                    ChatChannel = ChatChannels2.Normal;
                    break;
                }
            }
            else
            {
                ChatChannel = ChatChannels2.Normal;
            }
            if (ChatChannel != ChatChannels2.Normal)
            {
                Text = Text.Remove(0, 2);
            }
            AppendDataMask = (TalkTextAppendDataMask)br.ReadUInt32();
            Target         = TargetStream.Read(br);
        }
コード例 #19
0
 public void Read(BinaryReader br)
 {
     Target = TargetStream.Read(br);
 }
コード例 #20
0
 public void Read(BinaryReader br)
 {
     ID     = br.ReadUInt32();
     Target = TargetStream.Read(br);
 }
コード例 #21
0
 public void Read(BinaryReader br)
 {
     Type   = (FactionPVPPointType)br.ReadUInt32();
     Target = TargetStream.Read(br);
 }