示例#1
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            var version = writer.SetVersion(3);

            switch (version)
            {
            case 3:
            case 2:
            {
                writer.WriteFlag(_Level);

                Aspects.Serialize(writer);
            }
                goto case 1;

            case 1:
                _EnrageStatBuff.Serialize(writer);
                goto case 0;

            case 0:
                break;
            }
        }