bancho.js 0.11.3 → 0.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/index.d.ts +9 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://nodei.co/npm/bancho.js/)
|
|
4
4
|
[](https://git.cartooncraft.fr/ThePooN/bancho.js/commits/master)
|
|
5
5
|
|
|
6
|
-
## Current release: 0.11.
|
|
6
|
+
## Current release: 0.11.4
|
|
7
7
|
|
|
8
8
|
# Introduction
|
|
9
9
|
|
package/index.d.ts
CHANGED
|
@@ -904,23 +904,23 @@ declare module "bancho.js" {
|
|
|
904
904
|
}
|
|
905
905
|
|
|
906
906
|
/** Compares the provided object and return true if the object is an instance of BanchoMod. */
|
|
907
|
-
export function isBanchoMod(mod): boolean
|
|
907
|
+
export function isBanchoMod(mod: BanchoMod): boolean
|
|
908
908
|
/** Compares the provided object and return true if the object is an instance of BanchoUser. */
|
|
909
|
-
export function isBanchoUser(user): boolean
|
|
909
|
+
export function isBanchoUser(user: BanchoUser): boolean
|
|
910
910
|
/** Compares the provided object and return true if the object is an instance of BanchoChannel. */
|
|
911
|
-
export function isBanchoChannel(channel): boolean
|
|
911
|
+
export function isBanchoChannel(channel: BanchoChannel): boolean
|
|
912
912
|
/** Compares the provided object and return true if the object is an instance of BanchoMultiplayerChannel. */
|
|
913
|
-
export function isBanchoMultiplayerChannel(channel): boolean
|
|
913
|
+
export function isBanchoMultiplayerChannel(channel: BanchoMultiplayerChannel): boolean
|
|
914
914
|
/** Compares the provided object and return true if the object is an instance of BanchoLobby. */
|
|
915
|
-
export function isBanchoLobby(lobby): boolean
|
|
915
|
+
export function isBanchoLobby(lobby: BanchoLobby): boolean
|
|
916
916
|
/** Compares the provided object and return true if the object is an instance of BanchoChannelMember. */
|
|
917
|
-
export function isBanchoChannelMember(member): boolean
|
|
917
|
+
export function isBanchoChannelMember(member: BanchoChannelMember): boolean
|
|
918
918
|
/** Compares the provided object and return true if the object is an instance of BanchoMessage. */
|
|
919
|
-
export function isBanchoMessage(message): boolean
|
|
919
|
+
export function isBanchoMessage(message: BanchoMessage): boolean
|
|
920
920
|
/** Compares the provided object and return true if the object is an instance of ChannelMessage. */
|
|
921
|
-
export function isChannelMessage(message): boolean
|
|
921
|
+
export function isChannelMessage(message: ChannelMessage): boolean
|
|
922
922
|
/** Compares the provided object and return true if the object is an instance of PrivateMessage. */
|
|
923
|
-
export function isPrivateMessage(message): boolean
|
|
923
|
+
export function isPrivateMessage(message: PrivateMessage): boolean
|
|
924
924
|
|
|
925
925
|
/**
|
|
926
926
|
* Contains the different connect states: Disconnected, Connecting, Reconnecting, Connected.
|