Skip to content

Commit

Permalink
Merge pull request #94 from ollymonger/chore/add-r-editor-missing-types
Browse files Browse the repository at this point in the history
chore: Add missing R* Editor update typings
  • Loading branch information
shr0x authored Aug 19, 2024
2 parents 5d9e91b + 70dc9bb commit debb0fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/client/game/replay.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ declare interface GameReplay {
activateRockstarEditor(): void;

unk: GameReplayUnk;

continueTransition(): void;

isEditorAvailable(): boolean;
}

declare interface GameReplayMp extends GameReplay {}
3 changes: 2 additions & 1 deletion packages/client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ declare interface KeysMp {
}

declare interface StorageMp {
/** Keeps data saved over resource reloads, but is cleared on reconnect.
/** Keeps data saved over resource reloads, and is persistent between reconnections to the same server during a single session.
*/
sessionData: unknown;

Expand Down Expand Up @@ -1169,6 +1169,7 @@ declare interface IClientEvents {
dummyEntityCreated: (dummyType: number, dummy: DummyEntityMp) => void;
dummyEntityDestroyed: (dummyType: number, dummy: DummyEntityMp) => void;
entityControllerChange: (entity: EntityMp, newController: PlayerMp) => void;
replayEditorRequest: () => void;
incomingDamage: (
sourceEntity: EntityMp,
sourcePlayer: PlayerMp,
Expand Down

0 comments on commit debb0fd

Please sign in to comment.