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); }
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); }
public EntityScriptNotice(EntityControlArray controls, EntitySkillSystemArray skills) { this.controls = controls; this.skills = skills; }
public EntityScriptNotice() { controls = new EntityControlArray(); skills = new EntitySkillSystemArray(); }