Пример #1
0
        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);
 }
Пример #4
0
 public void addToStreamEx(Bundle stream, ENTITY_DATA v)
 {
     stream.writeInt32(v.entityid);
     stream.writeUint8(v.cmd_type);
     stream.writeBlob(v.datas);
 }