public ENTITY_DATA createFromStreamEx(MemoryStream stream) { ENTITY_DATA datas = new ENTITY_DATA(); datas.entityid = stream.readInt32(); datas.cmd_type = stream.readUint8(); datas.datas = stream.readBlob(); return(datas); }
public void reqFrameChange(ENTITY_DATA arg1) { Bundle pBundle = newCall("reqFrameChange", 0); if (pBundle == null) { return; } ((DATATYPE_ENTITY_DATA)EntityDef.id2datatypes[22]).addToStreamEx(bundle, arg1); sendCall(null); }
public virtual void reqFrameChange(ENTITY_DATA operation) { operation.entityid = id; cellEntityCall.reqFrameChange(operation); //Debug.Log("Avatar::reqFrameChange:" + operation); }
public void addToStreamEx(Bundle stream, ENTITY_DATA v) { stream.writeInt32(v.entityid); stream.writeUint8(v.cmd_type); stream.writeBlob(v.datas); }