コード例 #1
0
        public void Serialize(IByteStream stream)
        {
            stream.SerializeString(ref Name, Encoding.ASCII);
            stream.Serialize(ref Health);
            stream.Serialize(ref Speed);

            Inventory.Serialize(stream);
        }