@@ -163,8 +163,25 @@ declare interface GameStreaming extends GameStreamingLegacy {
163
163
removeModelFromCreatorBudget ( modelHash : number ) : void ;
164
164
getUsedCreatorModelMemoryPercentage ( ) : number ;
165
165
setIslandHopperEnabled ( name : string , toggle : boolean ) : void ;
166
-
166
+ /**
167
+ * Gets all model hashes given by p1
168
+ * @param p1 p1 seems to be entity type (unsure tho, use 5 to get all vehicle hashes as array)
169
+ */
170
+ getAllModelHashes ( p1 : number ) : number [ ] ;
171
+ streamvolCreateSphere ( x : number , y : number , z : number , flag : number , lodFlag : number ) : Handle ;
172
+ streamvolCreateFrustum ( x : number , y : number , z : number , dirx : number , diry : number , dirz : number , flag : number , lodflag : number ) : Handle ;
173
+ streamvolCreateLine ( x1 : number , y1 : number , z1 : number , x2 : number , y2 : number , z2 : number , flag : number ) : void ;
174
+ streamvolDelete ( handle : Handle ) : void ;
175
+ streamvolHasLoaded ( handle : Handle ) : boolean ;
176
+ streamvolIsValid ( handle : Handle ) : boolean ;
177
+ isStreamvolActive ( ) : boolean ;
178
+ getPlayerSwitchInterpOutCurrentTime ( ) : number ;
179
+ /**
180
+ * Set the game to only render hd models
181
+ * @param enable true = enable, false = disable
182
+ */
183
+ setRenderHdOnly ( enable : boolean ) : void ;
167
184
unk : GameStreamingUnk ;
168
185
}
169
186
170
- declare interface GameStreamingMp extends GameStreaming { }
187
+ declare interface GameStreamingMp extends GameStreaming { }
0 commit comments