public void addToStreamEx(Bundle stream, ENTITYCALL_LIST v) { stream.writeUint32((UInt32)v.Count); for (int i = 0; i < v.Count; ++i) { stream.writeEntitycall(v[i]); } ; }
public ENTITYCALL_LIST createFromStreamEx(MemoryStream stream) { UInt32 size = stream.readUint32(); ENTITYCALL_LIST datas = new ENTITYCALL_LIST(); while (size > 0) { --size; datas.Add(stream.readEntitycall()); } ; return(datas); }