Beispiel #1
0
 public int __decode(byte[] binData, ref int pos)
 {
     this.controls = new EntityControlArray();
     this.controls.__decode(binData, ref pos);
     this.skills = new EntitySkillSystemArray();
     this.skills.__decode(binData, ref pos);
     return(pos);
 }
Beispiel #2
0
        public System.Collections.Generic.List <byte> __encode()
        {
            var data = new System.Collections.Generic.List <byte>();

            if (this.controls == null)
            {
                this.controls = new EntityControlArray();
            }
            data.AddRange(this.controls.__encode());
            if (this.skills == null)
            {
                this.skills = new EntitySkillSystemArray();
            }
            data.AddRange(this.skills.__encode());
            return(data);
        }
Beispiel #3
0
 public EntityScriptNotice(EntityControlArray controls, EntitySkillSystemArray skills)
 {
     this.controls = controls;
     this.skills   = skills;
 }
Beispiel #4
0
 public EntityScriptNotice()
 {
     controls = new EntityControlArray();
     skills   = new EntitySkillSystemArray();
 }