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);
        }
示例#2
0
        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);
        }
示例#3
0
 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);
 }