diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/Attribute.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/Attribute.cs | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/Attribute.cs b/Client/Assets/Scripts/XMainClient/KKSG/Attribute.cs new file mode 100644 index 00000000..a2150d21 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/Attribute.cs @@ -0,0 +1,51 @@ +using System;
+using System.Collections.Generic;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "Attribute")]
+ [Serializable]
+ public class Attribute : IExtensible
+ {
+ [ProtoMember(1, Name = "basicAttribute", DataFormat = DataFormat.TwosComplement)]
+ public List<double> basicAttribute
+ {
+ get
+ {
+ return this._basicAttribute;
+ }
+ }
+
+ [ProtoMember(2, Name = "percentAttribute", DataFormat = DataFormat.TwosComplement)]
+ public List<double> percentAttribute
+ {
+ get
+ {
+ return this._percentAttribute;
+ }
+ }
+
+ [ProtoMember(3, Name = "attrID", DataFormat = DataFormat.TwosComplement)]
+ public List<uint> attrID
+ {
+ get
+ {
+ return this._attrID;
+ }
+ }
+
+ private readonly List<double> _basicAttribute = new List<double>();
+
+ private readonly List<double> _percentAttribute = new List<double>();
+
+ private readonly List<uint> _attrID = new List<uint>();
+
+ private IExtension extensionObject;
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|