/** * Given an entity, finds a nested datamap public offset. * This information is cached for future calls. * * @param entity Entity index. * @param prop public name. * @param type Optional parameter to store the type. * @param num_bits Optional parameter to store the number of bits the field * uses. The bit count will either be 1 (for boolean) or * divisible by 8 (including 0 if unknown). * @param local_offset Optional parameter to store the local offset, as * FindDataMapOffs() would return. * @return An offset, or -1 on failure. */ public static int FindDataMapInfo(int entity, string prop, out PropFieldType type) { throw new NotImplementedException(); }
/** * Given a ServerClass name, finds a networkable send public offset. * This information is cached for future calls. * * @param cls Classname. * @param prop public name. * @param type Optional parameter to store the type. * @param num_bits Optional parameter to store the number of bits the field * uses, if applicable (otherwise 0 is stored). The number * of bits varies for integers and floats, and is always 0 * for strings. * @param local_offset Optional parameter to store the local offset, as * FindSendPropOffs() would return. * @return On success, returns an absolutely computed offset. * If no offset is available, 0 is returned. * If the public is not found, -1 is returned. */ public static int FindSendPropInfo(string cls, string prop, out PropFieldType type) { throw new NotImplementedException(); }
/** * Given an entity, finds a nested datamap public offset. * This information is cached for future calls. * * @param entity Entity index. * @param prop public name. * @param type Optional parameter to store the type. * @param num_bits Optional parameter to store the number of bits the field * uses. The bit count will either be 1 (for boolean) or * divisible by 8 (including 0 if unknown). * @param local_offset Optional parameter to store the local offset, as * FindDataMapOffs() would return. * @return An offset, or -1 on failure. */ public static int FindDataMapInfo(int entity, string prop, out PropFieldType type, out int num_bits, out int local_offset) { throw new NotImplementedException(); }
/** * @endsection */ /** * Given a ServerClass name, finds a networkable send public offset. * This information is cached for future calls. * * @param cls Classname. * @param prop public name. * @param type Optional parameter to store the type. * @param num_bits Optional parameter to store the number of bits the field * uses, if applicable (otherwise 0 is stored). The number * of bits varies for integers and floats, and is always 0 * for strings. * @param local_offset Optional parameter to store the local offset, as * FindSendPropOffs() would return. * @return On success, returns an absolutely computed offset. * If no offset is available, 0 is returned. * If the public is not found, -1 is returned. */ public static int FindSendPropInfo(string cls, string prop, out PropFieldType type, out int num_bits, out int local_offset) { throw new NotImplementedException(); }