connected-spaces-platform.web 5.7.0 → 5.8.1

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.
@@ -205,7 +205,7 @@ export declare namespace Multiplayer {
205
205
  Vector3 = 5,
206
206
  Vector4 = 6,
207
207
  Vector2 = 7,
208
- Map = 8
208
+ StringMap = 8
209
209
  }
210
210
  }
211
211
  export declare namespace Multiplayer {
@@ -283,7 +283,8 @@ export declare namespace Multiplayer {
283
283
  IsARVisible = 11,
284
284
  ThirdPartyComponentRef = 12,
285
285
  IsShadowCaster = 13,
286
- Num = 14
286
+ MaterialOverrides = 14,
287
+ Num = 15
287
288
  }
288
289
  }
289
290
  export declare namespace Multiplayer {
@@ -782,7 +783,8 @@ export declare namespace Multiplayer {
782
783
  IsARVisible = 7,
783
784
  ThirdPartyComponentRef = 8,
784
785
  IsShadowCaster = 9,
785
- Num = 10
786
+ MaterialOverrides = 10,
787
+ Num = 11
786
788
  }
787
789
  }
788
790
  export declare namespace Multiplayer {
@@ -944,7 +946,8 @@ export declare namespace Systems {
944
946
  HOLOCAP_VIDEO = 6,
945
947
  HOLOCAP_AUDIO = 7,
946
948
  AUDIO = 8,
947
- GAUSSIAN_SPLAT = 9
949
+ GAUSSIAN_SPLAT = 9,
950
+ MATERIAL = 10
948
951
  }
949
952
  }
950
953
  export declare namespace Systems {
@@ -961,6 +964,36 @@ export declare namespace Systems {
961
964
  SPACE_THUMBNAIL = 4
962
965
  }
963
966
  }
967
+ export declare namespace Systems {
968
+ /**
969
+ * @description Defines how to alpha value is interpreted
970
+ * The alpha value is taken from the fourth component of the base color for metallic-roughness material model
971
+ */
972
+ enum EAlphaMode {
973
+ Opaque = 0,
974
+ Mask = 1,
975
+ Blend = 2
976
+ }
977
+ }
978
+ export declare namespace Systems {
979
+ /**
980
+ * @description Enum representing the shader type of a material. Currently not in use.
981
+ */
982
+ enum EShaderType {
983
+ Standard = 0
984
+ }
985
+ }
986
+ export declare namespace Systems {
987
+ /**
988
+ * @description Enum representing the source type of the texture
989
+ * If Component is set, the data of the texture comes from the specified media component
990
+ * If ImageAsset is set, th data of the texture comes from the specified asset
991
+ */
992
+ enum ETextureResourceType {
993
+ Component = 0,
994
+ ImageAsset = 1
995
+ }
996
+ }
964
997
  export declare namespace Systems {
965
998
  /**
966
999
  @ingroup Event Ticketing System
@@ -1223,21 +1256,6 @@ export declare namespace Multiplayer {
1223
1256
  * @param value - The value to write.
1224
1257
  */
1225
1258
  writeString: (value: string) => void;
1226
- /**
1227
- * @description Write a vector2 field of the entity.
1228
- * @param value - The value to write.
1229
- */
1230
- writeVector2: (value: Common.Vector2) => void;
1231
- /**
1232
- * @description Write a vector3 field of the entity.
1233
- * @param value - The value to write.
1234
- */
1235
- writeVector3: (value: Common.Vector3) => void;
1236
- /**
1237
- * @description Write a vector4 field of the entity.
1238
- * @param value - The value to write.
1239
- */
1240
- writeVector4: (value: Common.Vector4) => void;
1241
1259
  /**
1242
1260
  * @description Write a null field of the entity.
1243
1261
  */
@@ -3709,6 +3727,47 @@ export declare namespace Multiplayer {
3709
3727
  setComponentName(value: string): void;
3710
3728
  }
3711
3729
  }
3730
+ export declare namespace Multiplayer {
3731
+ /**
3732
+ @ingroup Multiplayer
3733
+ * @description Handling of all network events.
3734
+ */
3735
+ class EventBus extends NativeClassWrapper {
3736
+ /** @internal */
3737
+ constructor(pointer: NativePointer);
3738
+ /**
3739
+ * @description Sends a network event by EventName to all currently connected clients.
3740
+ * @param eventName - The identifying name for the event.
3741
+ * @param args - An array of arguments (ReplicatedValue) to be passed as part of the event payload.
3742
+ * @param callback - A callback with failure state.
3743
+ */
3744
+ sendNetworkEvent(eventName: string, args: Common.Array<Multiplayer.ReplicatedValue>): Promise<Multiplayer.ErrorCode>;
3745
+ /**
3746
+ * @description Sends a network event by EventName, to TargetClientId.
3747
+ * @param eventName - The identifying name for the event.
3748
+ * @param args - An array of arguments (ReplicatedValue) to be passed as part of the event payload.
3749
+ * @param targetClientId - The client ID to send the event to.
3750
+ * @param callback - A callback with failure state.
3751
+ */
3752
+ sendNetworkEventToClient(eventName: string, args: Common.Array<Multiplayer.ReplicatedValue>, targetClientId: bigint): Promise<Multiplayer.ErrorCode>;
3753
+ /**
3754
+ * @description Registers a callback to listen for the named event
3755
+ * @param eventName - The identifying name for the event to listen for.
3756
+ * @param callback - A callback to register for the event which contains the parameter payload data.
3757
+ */
3758
+ listenNetworkEvent(eventName: string, callback: (arg1: boolean, arg2: Common.Array<Multiplayer.ReplicatedValue>) => void): void;
3759
+ /**
3760
+ * @description Stops the event bus from listening for a particular event, for any system or callback
3761
+ * @description that were registered.
3762
+ * @param eventName - The identifying name for the event to stop listening for.
3763
+ */
3764
+ stopListenNetworkEvent(eventName: string): void;
3765
+ /**
3766
+ * @description Instructs the event bus to start listening to messages
3767
+ */
3768
+ startEventMessageListening(): void;
3769
+ }
3770
+ }
3712
3771
  export declare namespace Multiplayer {
3713
3772
  /**
3714
3773
  * @description Describes the changes an asset has undergone when the client application is connected to a space.
@@ -3794,6 +3853,20 @@ export declare namespace Multiplayer {
3794
3853
  set newName(value: string);
3795
3854
  }
3796
3855
  }
3856
+ export declare namespace Multiplayer {
3857
+ class MaterialChangedParams extends NativeClassWrapper implements INativeResource {
3858
+ /** @internal */
3859
+ constructor(pointer: NativePointer);
3860
+ static create(): MaterialChangedParams;
3861
+ delete(): void;
3862
+ get materialCollectionId(): string;
3863
+ set materialCollectionId(value: string);
3864
+ get materialId(): string;
3865
+ set materialId(value: string);
3866
+ get changeType(): Multiplayer.EAssetChangeType;
3867
+ set changeType(value: Multiplayer.EAssetChangeType);
3868
+ }
3869
+ }
3797
3870
  export declare namespace Multiplayer {
3798
3871
  /**
3799
3872
  @ingroup Multiplayer
@@ -3802,21 +3875,6 @@ export declare namespace Multiplayer {
3802
3875
  class MultiplayerConnection extends NativeClassWrapper {
3803
3876
  /** @internal */
3804
3877
  constructor(pointer: NativePointer);
3805
- /**
3806
- * @description Sends a network event by EventName to all currently connected clients.
3807
- * @param eventName - The identifying name for the event.
3808
- * @param args - An array of arguments (ReplicatedValue) to be passed as part of the event payload.
3809
- * @param callback - A callback with failure state.
3810
- */
3811
- sendNetworkEvent(eventName: string, args: Common.Array<Multiplayer.ReplicatedValue>): Promise<Multiplayer.ErrorCode>;
3812
- /**
3813
- * @description Sends a network event by EventName, to TargetClientId.
3814
- * @param eventName - The identifying name for the event.
3815
- * @param args - An array of arguments (ReplicatedValue) to be passed as part of the event payload.
3816
- * @param targetClientId - The client ID to send the event to.
3817
- * @param callback - A callback with failure state.
3818
- */
3819
- sendNetworkEventToClient(eventName: string, args: Common.Array<Multiplayer.ReplicatedValue>, targetClientId: bigint): Promise<Multiplayer.ErrorCode>;
3820
3878
  /**
3821
3879
  * @description Sets a callback for a disconnection event.
3822
3880
  * @param callback - The callback for disconnection, contains a string with a reason for disconnection.
@@ -3833,43 +3891,6 @@ export declare namespace Multiplayer {
3833
3891
  * @param callback - The callback for network interruption, contains a string showing failure.
3834
3892
  */
3835
3893
  setNetworkInterruptionCallback(callback: (arg1: string) => void): void;
3836
- /**
3837
- * @description Sets a callback for an asset changed event.
3838
- * @param callback - Callback to receive data for the asset that has been changed.
3839
- */
3840
- setAssetDetailBlobChangedCallback(callback: (arg1: Multiplayer.AssetDetailBlobParams) => void): void;
3841
- /**
3842
- * @description Sets a callback for a conversation new message event.
3843
- * @param callback - Callback to receive ConversationSystem Data when a message is sent.
3844
- * Callback will have to reset the callback passed to the system to avoid "dangling objects" after use.
3845
- */
3846
- setConversationSystemCallback(callback: (arg1: Multiplayer.ConversationSystemParams) => void): void;
3847
- /**
3848
- * @description Sets a callback for an access control changed event.
3849
- * @param callback - Callback to receive data for the user permissions that has been changed.
3850
- */
3851
- setUserPermissionsChangedCallback(callback: (arg1: Multiplayer.UserPermissionsParams) => void): void;
3852
- /**
3853
- * @description Sets a callback for a sequence changed event.
3854
- * @param callback - Callback to receive data for the sequence that has been changed.
3855
- */
3856
- setSequenceChangedCallback(callback: (arg1: Multiplayer.SequenceChangedParams) => void): void;
3857
- /**
3858
- * @description Sets a callback to be fired when a hotspot sequence is changed.
3859
- * @param callback - Callback to receive data for the hotspot sequence that has been changed.
3860
- */
3861
- setHotspotSequenceChangedCallback(callback: (arg1: Multiplayer.SequenceHotspotChangedParams) => void): void;
3862
- /**
3863
- * @description Registers a callback to listen for the named event.
3864
- * @param eventName - The identifying name for the event to listen for.
3865
- * @param callback - A callback to register for the event which contains the parameter payload data.
3866
- */
3867
- listenNetworkEvent(eventName: string, callback: (arg1: boolean, arg2: Common.Array<Multiplayer.ReplicatedValue>) => void): void;
3868
- /**
3869
- * @description Stops the multiplayer connection from listening for a particular network event.
3870
- * @param eventName - The identifying name for the event to stop listening for.
3871
- */
3872
- stopListenNetworkEvent(eventName: string): void;
3873
3894
  /**
3874
3895
  * @description Requests the ClientID.
3875
3896
  * @return Uint64_t the clientid for this connection.
@@ -3949,10 +3970,10 @@ export declare namespace Multiplayer {
3949
3970
  */
3950
3971
  static create_vector4Value(vector4Value: Common.Vector4): ReplicatedValue;
3951
3972
  /**
3952
- * @description Construct a ReplicatedValue based on an csp::common::Map type.
3973
+ * @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
3953
3974
  * @param inMapValue - Initial value.
3954
3975
  */
3955
- static create_mapValue(mapValue: Common.Map<Multiplayer.ReplicatedValue, Multiplayer.ReplicatedValue>): ReplicatedValue;
3976
+ static create_mapValue(mapValue: Common.Map<string, Multiplayer.ReplicatedValue>): ReplicatedValue;
3956
3977
  /**
3957
3978
  * @description Copy constructor
3958
3979
  * @param other - The value to copy.
@@ -4058,15 +4079,16 @@ export declare namespace Multiplayer {
4058
4079
  */
4059
4080
  getVector4(): Common.Vector4;
4060
4081
  /**
4061
- * @description Get a csp::common::Map value from this replicated value, will assert if not a csp::common::Map type.
4082
+ * @description Get a csp::common::Map value with a string value as the key.
4083
+ * This will assert if not a csp::common::Map type with a string value as the key.
4062
4084
  * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
4063
4085
  * /// @return csp::common::Map
4064
4086
  */
4065
- getMap(): Common.Map<Multiplayer.ReplicatedValue, Multiplayer.ReplicatedValue>;
4087
+ getStringMap(): Common.Map<string, Multiplayer.ReplicatedValue>;
4066
4088
  /**
4067
- * @description Set a Map value for this replicated value from a csp::common::Map, will overwrite and previous value.
4089
+ * @description Set a string Map value for this replicated value from a csp::common::Map, will overwrite any previous value.
4068
4090
  */
4069
- setMap(value: Common.Map<Multiplayer.ReplicatedValue, Multiplayer.ReplicatedValue>): void;
4091
+ setStringMap(value: Common.Map<string, Multiplayer.ReplicatedValue>): void;
4070
4092
  }
4071
4093
  }
4072
4094
  export declare namespace Multiplayer {
@@ -4604,7 +4626,7 @@ export declare namespace Multiplayer {
4604
4626
  /**
4605
4627
  * @description Custom constructor for the SpaceTransform.
4606
4628
  * @param position - The position value for the transform.
4607
- * @param rotation - The rotation value for the transform.
4629
+ * @param rotation - The rotation value for the transform, will be normalized during multiplication operations.
4608
4630
  * @param scale - The scale value for the transform.
4609
4631
  */
4610
4632
  static create_position_rotation_scale(position: Common.Vector3, rotation: Common.Vector4, scale: Common.Vector3): SpaceTransform;
@@ -4612,10 +4634,14 @@ export declare namespace Multiplayer {
4612
4634
  * @description Equality operator
4613
4635
  * @param spaceTransform - Transform
4614
4636
  */
4637
+ /**
4638
+ * @description Inequality operator
4639
+ * @param spaceTransform - Transform
4640
+ */
4615
4641
  /**
4616
4642
  * @description Multiplication operator
4617
4643
  * @param spaceTransform - Transform
4618
- * NOTE: This mimics the operations of a matrix transform multiplication, but converts the back into a recognisable form.
4644
+ * NOTE: This performs TRS matrix composition, then decomposes back to Pos, Rot, Scale.
4619
4645
  */
4620
4646
  delete(): void;
4621
4647
  get position(): Common.Vector3;
@@ -4650,98 +4676,6 @@ export declare namespace Multiplayer {
4650
4676
  set edited(value: boolean);
4651
4677
  }
4652
4678
  }
4653
- export declare namespace Multiplayer {
4654
- /**
4655
- @ingroup Conversation System
4656
- * @description Public facing system that can handle conversations taking place between users of a space in the form of thread messages.
4657
- */
4658
- class ConversationSystem extends NativeClassWrapper {
4659
- /** @internal */
4660
- constructor(pointer: NativePointer);
4661
- /**
4662
- * @description Constructs a conversation system instance that uses the given multiplayer connection.
4663
- * @param inMultiPlayerConnection - The connection to be used.
4664
- */
4665
- static create_multiPlayerConnection(multiPlayerConnection: Multiplayer.MultiplayerConnection): ConversationSystem;
4666
- /**
4667
- * @description Creates a new conversation with the initial message and provides the conversation ID to the given callback.
4668
- * @param message - The message to be stored.
4669
- * @param callback - Callback when asynchronous task finishes
4670
- */
4671
- createConversation(message: string): Promise<Systems.StringResult>;
4672
- /**
4673
- * @description Adds a message to a brand new conversation or to an already existing one
4674
- * /// Make sure that the user has entered a space through SpaceSystem::EnterSpace() before calling this.
4675
- * Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:
4676
- * {ConversationSystemParams of type ReplicatedType : ConversationMessageType::NewMessage, ConversationId of type ReplicatedType : String}.
4677
- * /// @param ConversationId csp::common::String : A new message will be linked to the provided conversation id.
4678
- * @param senderDisplayName - The display name of the message sender.
4679
- * @param message - The message to be stored.
4680
- * @param callback - Callback when asynchronous task finishes.
4681
- */
4682
- addMessageToConversation(conversationId: string, senderDisplayName: string, message: string): Promise<Multiplayer.MessageResult>;
4683
- /**
4684
- * @description Retrieves messages that are linked to the provided Conversation ID.
4685
- * @param conversationId - Conversation ID.
4686
- * @param resultsSkipNumber - Optional parameter representing the number of result entries that will be skipped from the result.
4687
- * For no skip pass nullptr.
4688
- * @param resultsMaxNumber - Optional parameter representing the maximum number of result entries to be retrieved. For all
4689
- * available result entries pass nullptr.
4690
- * @param callback - Callback when asynchronous task finishes.
4691
- */
4692
- getMessagesFromConversation(conversationId: string, resultsSkipNumber: number | null, resultsMaxNumber: number | null): Promise<Multiplayer.MessageCollectionResult>;
4693
- /**
4694
- * @description Retrieves the conversation information.
4695
- * @param conversationId - Conversation ID.
4696
- * @param callback - Callback when asynchronous task finishes.
4697
- */
4698
- getConversationInformation(conversationId: string): Promise<Multiplayer.ConversationResult>;
4699
- /**
4700
- * @description Sets the conversation information.
4701
- * @param conversationId - Conversation ID.
4702
- * @param conversationData - Conversation Data.
4703
- * @param callback - Callback when asynchronous task finishes.
4704
- */
4705
- setConversationInformation(conversationId: string, conversationData: Multiplayer.ConversationInfo): Promise<Multiplayer.ConversationResult>;
4706
- /**
4707
- * @description Retrieves one particular message.
4708
- * @param messageId - ID of the message to be retrieved.
4709
- * @param callback - Callback when asynchronous task finishes.
4710
- */
4711
- getMessage(messageId: string): Promise<Multiplayer.MessageResult>;
4712
- /**
4713
- * @description Sets the message information.
4714
- * @param messageId - ID of the message to be retrieved.
4715
- * @param messageData - Message Data.
4716
- * @param callback - Callback when asynchronous task finishes.
4717
- */
4718
- setMessageInformation(messageId: string, messageData: Multiplayer.MessageInfo): Promise<Multiplayer.MessageResult>;
4719
- /**
4720
- * @description Retrieves the message information.
4721
- * @param messageId - Message ID.
4722
- * @param callback - Callback when asynchronous task finishes.
4723
- */
4724
- getMessageInformation(messageId: string): Promise<Multiplayer.MessageResult>;
4725
- /**
4726
- * @description Deletes all the messages that are part of the conversation.
4727
- * /// Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:
4728
- * {ConversationSystemParams of type ReplicatedType : ConversationMessageType::DeleteConversation, ConversationId of type ReplicatedType :
4729
- * String}.
4730
- * /// @param ConversationId csp::common::String : ID of the conversation that will be deleted. After this operation finishes successful this ID will
4731
- * not be valid anymore.
4732
- * @param callback - Callback when asynchronous task finishes.
4733
- */
4734
- deleteConversation(conversationId: string): Promise<Systems.NullResult>;
4735
- /**
4736
- * @description Deletes a particular message.
4737
- * /// Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:
4738
- * { ConversationSystemParams of type ReplicatedType : ConversationMessageType::DeleteMessage, MessageId of type ReplicatedType : String }.
4739
- * /// @param MessageId csp::common::String : ID of the message that will be deleted.
4740
- * @param callback - Callback when asynchronous task finishes.
4741
- */
4742
- deleteMessage(messageId: string): Promise<Systems.NullResult>;
4743
- }
4744
- }
4745
4679
  export declare namespace Multiplayer {
4746
4680
  /**
4747
4681
  * @description Manages the script attached to an Entity.
@@ -4833,11 +4767,28 @@ export declare namespace Multiplayer {
4833
4767
  }
4834
4768
  export declare namespace Systems {
4835
4769
  /**
4836
- * @description Base class for all Connected Spaces Platform Systems, which enforces passing of a WebClient instance in the constructor of each System.
4770
+ * @description Base class for all Connected Spaces Platform Systems, which enforces passing of a WebClient or EventBus instance in the constructor of each
4771
+ * System.
4837
4772
  */
4838
4773
  class SystemBase extends NativeClassWrapper {
4839
4774
  /** @internal */
4840
4775
  constructor(pointer: NativePointer);
4776
+ /**
4777
+ * @description Destructor of the SystemBase base class.
4778
+ */
4779
+ /**
4780
+ * @description Registers the system to listen for the default event.
4781
+ */
4782
+ registerSystemCallback(): void;
4783
+ /**
4784
+ * @description Deregisters the system from listening for the default event.
4785
+ */
4786
+ deregisterSystemCallback(): void;
4787
+ /**
4788
+ * @description Sets a callback for a default event.
4789
+ * @param callback - Callback to receive data for the system that has been changed.
4790
+ */
4791
+ setSystemCallback(callback: (arg1: boolean, arg2: Common.Array<Multiplayer.ReplicatedValue>) => void): void;
4841
4792
  }
4842
4793
  }
4843
4794
  export declare namespace Systems {
@@ -4941,6 +4892,7 @@ export declare namespace Systems {
4941
4892
  getHotspotSequenceSystem(): Systems.HotspotSequenceSystem;
4942
4893
  getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem;
4943
4894
  getMultiplayerConnection(): Multiplayer.MultiplayerConnection;
4895
+ getEventBus(): Multiplayer.EventBus;
4944
4896
  }
4945
4897
  }
4946
4898
  export declare namespace Systems {
@@ -5214,10 +5166,157 @@ export declare namespace Systems {
5214
5166
  constructor(pointer: NativePointer);
5215
5167
  static create(): LODChain;
5216
5168
  delete(): void;
5217
- get assetCollectionId(): string;
5218
- set assetCollectionId(value: string);
5219
- get lODAssets(): Common.Array<Systems.LODAsset>;
5220
- set lODAssets(value: Common.Array<Systems.LODAsset>);
5169
+ get assetCollectionId(): string;
5170
+ set assetCollectionId(value: string);
5171
+ get lODAssets(): Common.Array<Systems.LODAsset>;
5172
+ set lODAssets(value: Common.Array<Systems.LODAsset>);
5173
+ }
5174
+ }
5175
+ export declare namespace Systems {
5176
+ /**
5177
+ @ingroup Asset System
5178
+ * @description Base class for a material.
5179
+ */
5180
+ class Material extends NativeClassWrapper implements INativeResource {
5181
+ /** @internal */
5182
+ constructor(pointer: NativePointer);
5183
+ /**
5184
+ * @description Gets the user-defined name of the material
5185
+ * @return Csp::common::string&
5186
+ */
5187
+ getName(): string;
5188
+ /**
5189
+ * @description Gets the collection id for the material
5190
+ * @return Const csp::common::string&
5191
+ */
5192
+ getMaterialCollectionId(): string;
5193
+ /**
5194
+ * @description Gets the id for the material
5195
+ * @return Const csp::common::string&
5196
+ */
5197
+ getMaterialId(): string;
5198
+ /**
5199
+ * @description Constructor which links the material to an asset
5200
+ * @param name - The name of the material.
5201
+ * @param materialCollectionId - The asset collection where the material info is stored
5202
+ * @param materialId - The asset where the material info is stored
5203
+ */
5204
+ static create_name_materialCollectionId_materialId(name: string, materialCollectionId: string, materialId: string): Material;
5205
+ static create(): Material;
5206
+ delete(): void;
5207
+ }
5208
+ }
5209
+ export declare namespace Systems {
5210
+ /**
5211
+ @ingroup Asset System
5212
+ * @description Data class which represents a texture.
5213
+ */
5214
+ class TextureInfo extends NativeClassWrapper implements INativeResource {
5215
+ /** @internal */
5216
+ constructor(pointer: NativePointer);
5217
+ /**
5218
+ * @description Default constructor with SourceType set to ETextureResourceType::ImageAsset by default
5219
+ */
5220
+ static create(): TextureInfo;
5221
+ /**
5222
+ * @description Constructor which associates a texture with an asset, using ETextureResourceType::ImageAsset as it's source type
5223
+ * @param assetCollectionId - The asset collection where the texture info is stored
5224
+ * @param assetId - The asset where the texture info is stored
5225
+ */
5226
+ static create_assetCollectionId_assetId(assetCollectionId: string, assetId: string): TextureInfo;
5227
+ /**
5228
+ * @description Constructor which associates a texture with a media component, using ETextureResourceType::Component as it's source type
5229
+ * @param componentId - The component id used as the texture data source
5230
+ */
5231
+ static create_componentId(componentId: string): TextureInfo;
5232
+ /**
5233
+ * @description Sets the textures asset collection id and asset id
5234
+ * Uses ETextureResourceType::ImageAsset as it's source type
5235
+ * @param assetCollectionId - The asset collection where the texture info is stored
5236
+ * @param assetId - The asset where the texture info is stored
5237
+ */
5238
+ setCollectionAndAssetId(assetCollectionId: string, assetId: string): void;
5239
+ /**
5240
+ * @description Gets the asset collection id for the texture
5241
+ * @return Csp::common::string&
5242
+ */
5243
+ getAssetCollectionId(): string;
5244
+ /**
5245
+ * @description Gets the asset id for the texture
5246
+ * @return Csp::common::string&
5247
+ */
5248
+ getAssetId(): string;
5249
+ /**
5250
+ * @description Sets the textures entity component id
5251
+ * Format: {entity.id}-{component.id}
5252
+ * This can be obtained from ComponentBase::GetUniqueComponentId
5253
+ * @param componentId - Const csp::common::string&
5254
+ */
5255
+ setEntityComponentId(componentId: string): void;
5256
+ /**
5257
+ * @description Gets the entity component id
5258
+ * @return Csp::common::string&
5259
+ */
5260
+ getEntityComponentId(): string;
5261
+ /**
5262
+ * @description Gets the source type of this texture
5263
+ * This is set internally by constructors and SetCollectionAndAssetId/SetEntityComponentId
5264
+ * @return ETextureResourceType
5265
+ */
5266
+ getSourceType(): Systems.ETextureResourceType;
5267
+ /**
5268
+ * @description Sets the uv offset of the texture
5269
+ * @param offset - Csp::common::vector2
5270
+ */
5271
+ setUVOffset(offset: Common.Vector2): void;
5272
+ /**
5273
+ * @description Gets the uv offset of the texture
5274
+ * @return Csp::common::vector2
5275
+ */
5276
+ getUVOffset(): Common.Vector2;
5277
+ /**
5278
+ * @description Gets the uv rotation of the texture
5279
+ * @param rotation - Float
5280
+ */
5281
+ setUVRotation(rotation: number): void;
5282
+ /**
5283
+ * @description Gets the uv rotation of the texture
5284
+ * @return Float
5285
+ */
5286
+ getUVRotation(): number;
5287
+ /**
5288
+ * @description Sets the uv scale of the texture
5289
+ * @param scale - Csp::common::vector2
5290
+ */
5291
+ setUVScale(scale: Common.Vector2): void;
5292
+ /**
5293
+ * @description Gets the uv scale of the texture
5294
+ * @return Csp::common::vector2
5295
+ */
5296
+ getUVScale(): Common.Vector2;
5297
+ /**
5298
+ * @description Sets The set index of texture's TEXCOORD attribute
5299
+ * used for texture coordinate mapping.
5300
+ * @param coord - Int
5301
+ */
5302
+ setTexCoord(coord: number): void;
5303
+ /**
5304
+ * @description Gets the index of texture's TEXCOORD attribute
5305
+ * @return Int
5306
+ */
5307
+ getTexCoord(): number;
5308
+ /**
5309
+ * @description True if this texture has been set for the current material
5310
+ * @return Bool
5311
+ */
5312
+ isSet(): boolean;
5313
+ /**
5314
+ * @description Sets if this texture is active for the current material
5315
+ * This is true by default when a new texture is created
5316
+ * @param value - Bool
5317
+ */
5318
+ setTexture(value: boolean): void;
5319
+ delete(): void;
5221
5320
  }
5222
5321
  }
5223
5322
  export declare namespace Systems {
@@ -5507,7 +5606,7 @@ export declare namespace Systems {
5507
5606
  setLogCallback(callback: (arg1: string) => void): void;
5508
5607
  /**
5509
5608
  * @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
5510
- * @param inEventCallback - The callback to execute when an evvent log occurs.
5609
+ * @param inEventCallback - The callback to execute when an event log occurs.
5511
5610
  */
5512
5611
  setEventCallback(callback: (arg1: string) => void): void;
5513
5612
  /**
@@ -6293,6 +6392,25 @@ export declare namespace Multiplayer {
6293
6392
  * @return The index of the currently active animation.
6294
6393
  */
6295
6394
  setAnimationIndex(value: bigint): void;
6395
+ /**
6396
+ * @description Gets the material overrides of this component.
6397
+ * Should be in the format:
6398
+ * Key = Path to the model
6399
+ * Value = The material id
6400
+ * @return The material overrides on this component.
6401
+ */
6402
+ getMaterialOverrides(): Common.Map<string, string>;
6403
+ /**
6404
+ * @description Adds a new material override to this component.
6405
+ * @param the - Path to the models material to override.
6406
+ * @param the - Id of the material to override with.
6407
+ */
6408
+ addMaterialOverride(modelPath: string, materialAssetId: string): void;
6409
+ /**
6410
+ * @description Removes a material override from this component.
6411
+ * @param the - Path to the models material to override to be removed.
6412
+ */
6413
+ removeMaterialOverride(modelPath: string): void;
6296
6414
  /**
6297
6415
  * \addtogroup IVisibleComponent
6298
6416
  @{
@@ -8577,6 +8695,25 @@ export declare namespace Multiplayer {
8577
8695
  * @param value - The ID of the asset collection associated with this component.
8578
8696
  */
8579
8697
  setExternalResourceAssetCollectionId(value: string): void;
8698
+ /**
8699
+ * @description Gets the material overrides of this component.
8700
+ * Should be in the format:
8701
+ * Key = Path to the model
8702
+ * Value = The material id
8703
+ * @return The material overrides on this component.
8704
+ */
8705
+ getMaterialOverrides(): Common.Map<string, string>;
8706
+ /**
8707
+ * @description Adds a new material override to this component.
8708
+ * @param the - Path to the models material to override.
8709
+ * @param the - Id of the material to override with.
8710
+ */
8711
+ addMaterialOverride(modelPath: string, materialAssetId: string): void;
8712
+ /**
8713
+ * @description Removes a material override from this component.
8714
+ * @param the - Path to the models material to override to be removed.
8715
+ */
8716
+ removeMaterialOverride(modelPath: string): void;
8580
8717
  /**
8581
8718
  * \addtogroup ITransformComponent
8582
8719
  @{
@@ -9119,6 +9256,113 @@ export declare namespace Multiplayer {
9119
9256
  delete(): void;
9120
9257
  }
9121
9258
  }
9259
+ export declare namespace Multiplayer {
9260
+ /**
9261
+ @ingroup Conversation System
9262
+ * @description Public facing system that can handle conversations taking place between users of a space in the form of thread messages.
9263
+ */
9264
+ class ConversationSystem extends Systems.SystemBase {
9265
+ /** @internal */
9266
+ constructor(pointer: NativePointer);
9267
+ static fromSystemBase(baseInstance: Systems.SystemBase): Multiplayer.ConversationSystem;
9268
+ /**
9269
+ * @description Constructs a conversation system instance that uses the given multiplayer connection.
9270
+ * @param inMultiPlayerConnection - The connection to be used.
9271
+ */
9272
+ static create_multiPlayerConnection(multiPlayerConnection: Multiplayer.MultiplayerConnection): ConversationSystem;
9273
+ /**
9274
+ * @description Creates a new conversation with the initial message and provides the conversation ID to the given callback.
9275
+ * @param message - The message to be stored.
9276
+ * @param callback - Callback when asynchronous task finishes
9277
+ */
9278
+ createConversation(message: string): Promise<Systems.StringResult>;
9279
+ /**
9280
+ * @description Adds a message to a brand new conversation or to an already existing one
9281
+ * /// Make sure that the user has entered a space through SpaceSystem::EnterSpace() before calling this.
9282
+ * Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:
9283
+ * {ConversationSystemParams of type ReplicatedType : ConversationMessageType::NewMessage, ConversationId of type ReplicatedType : String}.
9284
+ * /// @param ConversationId csp::common::String : A new message will be linked to the provided conversation id.
9285
+ * @param senderDisplayName - The display name of the message sender.
9286
+ * @param message - The message to be stored.
9287
+ * @param callback - Callback when asynchronous task finishes.
9288
+ */
9289
+ addMessageToConversation(conversationId: string, senderDisplayName: string, message: string): Promise<Multiplayer.MessageResult>;
9290
+ /**
9291
+ * @description Retrieves messages that are linked to the provided Conversation ID.
9292
+ * @param conversationId - Conversation ID.
9293
+ * @param resultsSkipNumber - Optional parameter representing the number of result entries that will be skipped from the result.
9294
+ * For no skip pass nullptr.
9295
+ * @param resultsMaxNumber - Optional parameter representing the maximum number of result entries to be retrieved. For all
9296
+ * available result entries pass nullptr.
9297
+ * @param callback - Callback when asynchronous task finishes.
9298
+ */
9299
+ getMessagesFromConversation(conversationId: string, resultsSkipNumber: number | null, resultsMaxNumber: number | null): Promise<Multiplayer.MessageCollectionResult>;
9300
+ /**
9301
+ * @description Retrieves the conversation information.
9302
+ * @param conversationId - Conversation ID.
9303
+ * @param callback - Callback when asynchronous task finishes.
9304
+ */
9305
+ getConversationInformation(conversationId: string): Promise<Multiplayer.ConversationResult>;
9306
+ /**
9307
+ * @description Sets the conversation information.
9308
+ * @param conversationId - Conversation ID.
9309
+ * @param conversationData - Conversation Data.
9310
+ * @param callback - Callback when asynchronous task finishes.
9311
+ */
9312
+ setConversationInformation(conversationId: string, conversationData: Multiplayer.ConversationInfo): Promise<Multiplayer.ConversationResult>;
9313
+ /**
9314
+ * @description Retrieves one particular message.
9315
+ * @param messageId - ID of the message to be retrieved.
9316
+ * @param callback - Callback when asynchronous task finishes.
9317
+ */
9318
+ getMessage(messageId: string): Promise<Multiplayer.MessageResult>;
9319
+ /**
9320
+ * @description Sets the message information.
9321
+ * @param messageId - ID of the message to be retrieved.
9322
+ * @param messageData - Message Data.
9323
+ * @param callback - Callback when asynchronous task finishes.
9324
+ */
9325
+ setMessageInformation(messageId: string, messageData: Multiplayer.MessageInfo): Promise<Multiplayer.MessageResult>;
9326
+ /**
9327
+ * @description Retrieves the message information.
9328
+ * @param messageId - Message ID.
9329
+ * @param callback - Callback when asynchronous task finishes.
9330
+ */
9331
+ getMessageInformation(messageId: string): Promise<Multiplayer.MessageResult>;
9332
+ /**
9333
+ * @description Deletes all the messages that are part of the conversation.
9334
+ * /// Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:
9335
+ * {ConversationSystemParams of type ReplicatedType : ConversationMessageType::DeleteConversation, ConversationId of type ReplicatedType :
9336
+ * String}.
9337
+ * /// @param ConversationId csp::common::String : ID of the conversation that will be deleted. After this operation finishes successful this ID will
9338
+ * not be valid anymore.
9339
+ * @param callback - Callback when asynchronous task finishes.
9340
+ */
9341
+ deleteConversation(conversationId: string): Promise<Systems.NullResult>;
9342
+ /**
9343
+ * @description Deletes a particular message.
9344
+ * /// Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:
9345
+ * { ConversationSystemParams of type ReplicatedType : ConversationMessageType::DeleteMessage, MessageId of type ReplicatedType : String }.
9346
+ * /// @param MessageId csp::common::String : ID of the message that will be deleted.
9347
+ * @param callback - Callback when asynchronous task finishes.
9348
+ */
9349
+ deleteMessage(messageId: string): Promise<Systems.NullResult>;
9350
+ /**
9351
+ * @description Sets a callback for a conversation new message event.
9352
+ * @param callback - Callback to receive ConversationSystem Data when a message is sent.
9353
+ * Callback will have to reset the callback passed to the system to avoid "dangling objects" after use.
9354
+ */
9355
+ setConversationSystemCallback(callback: (arg1: Multiplayer.ConversationSystemParams) => void): void;
9356
+ /**
9357
+ * @description Registers the system to listen for the named event.
9358
+ */
9359
+ registerSystemCallback(): void;
9360
+ /**
9361
+ * @description Deregisters the system from listening for the named event.
9362
+ */
9363
+ deregisterSystemCallback(): void;
9364
+ }
9365
+ }
9122
9366
  export declare namespace Systems {
9123
9367
  /**
9124
9368
  * @description A result handler that is used to notify a user of an error.
@@ -9496,6 +9740,263 @@ export declare namespace Systems {
9496
9740
  * @param callback - Callback when asynchronous task finishes
9497
9741
  */
9498
9742
  registerAssetToLODChain(assetCollection: Systems.AssetCollection, asset: Systems.Asset, lODLevel: number, progressCallback: (requestProgress: number, responseProgress: number) => void): Promise<Systems.AssetResult>;
9743
+ /**
9744
+ * @description Creates a new material backed by an AssetCollection/Asset.
9745
+ * @param name - The name of the new material.
9746
+ * @param spaceId - The space id this material is associated with.
9747
+ * @param callback - Callback when asynchronous task finishes.
9748
+ */
9749
+ createMaterial(name: string, spaceId: string): Promise<Systems.GLTFMaterialResult>;
9750
+ /**
9751
+ * @description Updates an existing material's properties.
9752
+ * The material should be retrieved through GetMaterials or GetMaterial.
9753
+ * If the material doesn't exist, EResultCode::Failed will be returned.
9754
+ * If the material hasn't changed, EResultCode::Success will still be returned.
9755
+ * @param material - The material to update
9756
+ * @param callback - Callback when asynchronous task finishes.
9757
+ */
9758
+ updateMaterial(material: Systems.GLTFMaterial): Promise<Systems.NullResult>;
9759
+ /**
9760
+ * @description Deletes a given material.
9761
+ * The material should be retrieved through GetMaterials or GetMaterial.
9762
+ * @param material - The material to delete
9763
+ * @param callback - Callback when asynchronous task finishes.
9764
+ */
9765
+ deleteMaterial(material: Systems.GLTFMaterial): Promise<Systems.NullResult>;
9766
+ /**
9767
+ * @description Gets all materials associated with the given space.
9768
+ * @param spaceId - The space id the material is associated with.
9769
+ * @param callback - Callback when asynchronous task finishes.
9770
+ */
9771
+ getMaterials(spaceId: string): Promise<Systems.GLTFMaterialsResult>;
9772
+ /**
9773
+ * @description Gets a material using its AssetCollection and Asset Id.
9774
+ * @param assetCollectionId - The asset collection id this material is associated with.
9775
+ * @param assetId - The asset id this material is associated with.
9776
+ * @param callback - Callback when asynchronous task finishes.
9777
+ */
9778
+ getMaterial(assetCollectionId: string, assetId: string): Promise<Systems.GLTFMaterialResult>;
9779
+ /**
9780
+ * @description Sets a callback for an asset changed event.
9781
+ * @param callback - Callback to receive data for the asset that has been changed.
9782
+ */
9783
+ setAssetDetailBlobChangedCallback(callback: (arg1: Multiplayer.AssetDetailBlobParams) => void): void;
9784
+ /**
9785
+ * @description Sets a callback for a material changed event.
9786
+ * @param callback - Callback to receive data for the material that has been changed.
9787
+ */
9788
+ setMaterialChangedCallback(callback: (arg1: Multiplayer.MaterialChangedParams) => void): void;
9789
+ /**
9790
+ * @description Registers the system to listen for the named event.
9791
+ */
9792
+ registerSystemCallback(): void;
9793
+ /**
9794
+ * @description Deregisters the system from listening for the named event.
9795
+ */
9796
+ deregisterSystemCallback(): void;
9797
+ }
9798
+ }
9799
+ export declare namespace Systems {
9800
+ /**
9801
+ @ingroup Asset System
9802
+ * @description Data class which represents a GLTF material.
9803
+ */
9804
+ class GLTFMaterial extends Systems.Material implements INativeResource {
9805
+ /** @internal */
9806
+ constructor(pointer: NativePointer);
9807
+ static fromMaterial(baseInstance: Systems.Material): Systems.GLTFMaterial;
9808
+ /**
9809
+ * Sets how to alpha value is interpreted
9810
+ * @param mode - EAlphaMode
9811
+ */
9812
+ setAlphaMode(mode: Systems.EAlphaMode): void;
9813
+ /**
9814
+ * Gets how to alpha value is interpreted
9815
+ * @return EAlphaMode
9816
+ */
9817
+ getAlphaMode(): Systems.EAlphaMode;
9818
+ /**
9819
+ * @description Sets the alpha cutoff value
9820
+ * When alphaMode is set to MASK the alphaCutoff property specifies the cutoff threshold.
9821
+ * If the alpha value is greater than or equal to the alphaCutoff value then it is rendered as fully opaque,
9822
+ * otherwise, it is rendered as fully transparent. alphaCutoff value is ignored for other modes.
9823
+ * @param cutoff - Float
9824
+ */
9825
+ setAlphaCutoff(cutoff: number): void;
9826
+ /**
9827
+ * Gets the alpha cutoff value
9828
+ * @return Float
9829
+ */
9830
+ getAlphaCutoff(): number;
9831
+ /**
9832
+ * @description Sets the doubleSided property which specifies whether the material is double sided.
9833
+ * When this value is false, back - face culling is enabled, i.e., only front-facing triangles are rendered.
9834
+ * When this value is true, back - face culling is disabled and double sided lighting is enabled.
9835
+ * @param doubleSided - Bool
9836
+ */
9837
+ setDoubleSided(doubleSided: boolean): void;
9838
+ /**
9839
+ * @description Gets the double sided value
9840
+ * @return Bool
9841
+ */
9842
+ getDoubleSided(): boolean;
9843
+ /**
9844
+ * @description Sets the factors for the base color of the material.
9845
+ * This value defines linear multipliers for the sampled texels of the base color texture.
9846
+ * @param factor - Const csp::common::vector4&
9847
+ */
9848
+ setBaseColorFactor(factor: Common.Vector4): void;
9849
+ /**
9850
+ * @description Gets the factor of the base color texture
9851
+ * @return Csp::common::vector4&
9852
+ */
9853
+ getBaseColorFactor(): Common.Vector4;
9854
+ /**
9855
+ * @description Sets the factor for the metalness of the material.
9856
+ * This value defines a linear multiplier for the sampled metalness values of the metallic-roughness texture.
9857
+ * @param factor - Float
9858
+ */
9859
+ setMetallicFactor(factor: number): void;
9860
+ /**
9861
+ * @description Gets the factor of the metallic texture
9862
+ * @return Float
9863
+ */
9864
+ getMetallicFactor(): number;
9865
+ /**
9866
+ * @description Sets the factor for the roughness of the material.
9867
+ * This value defines a linear multiplier for the sampled roughness values of the metallic-roughness texture.
9868
+ * @param factor - Float
9869
+ */
9870
+ setRoughnessFactor(factor: number): void;
9871
+ /**
9872
+ * @description Gets the factor of the roughness texture
9873
+ * @return Float
9874
+ */
9875
+ getRoughnessFactor(): number;
9876
+ /**
9877
+ * @description Sets factors for the emissive color of the material.
9878
+ * This value defines linear multipliers for the sampled texels of the emissive texture.
9879
+ * @param factor - Const csp::common::vector3&
9880
+ */
9881
+ setEmissiveFactor(factor: Common.Vector3): void;
9882
+ /**
9883
+ * @description Gets the factor of the emissive color texture
9884
+ * @return Csp::common::vector3&
9885
+ */
9886
+ getEmissiveFactor(): Common.Vector3;
9887
+ /**
9888
+ * @description Sets the base color texture. The first three components (RGB) MUST be encoded with the sRGB transfer function.
9889
+ * They specify the base color of the material.
9890
+ * If the fourth component (A) is present, it represents the linear alpha coverage of the material.
9891
+ * Otherwise, the alpha coverage is equal to 1.0. The material.alphaMode property specifies how alpha is interpreted.
9892
+ * The stored texels MUST NOT be premultiplied.
9893
+ * When undefined, the texture MUST be sampled as having 1.0 in all components.
9894
+ * @param texture - Const textureinfo&
9895
+ */
9896
+ setBaseColorTexture(texture: Systems.TextureInfo): void;
9897
+ /**
9898
+ * @description Gets the base color texture
9899
+ * @return Const textureinfo&
9900
+ */
9901
+ getBaseColorTexture(): Systems.TextureInfo;
9902
+ /**
9903
+ * @description Sets the metallic-roughness texture.
9904
+ * The metalness values are sampled from the B channel.
9905
+ * The roughness values are sampled from the G channel.
9906
+ * These values MUST be encoded with a linear transfer function.
9907
+ * If other channels are present (R or A), they MUST be ignored for metallic-roughness calculations.
9908
+ * When undefined, the texture MUST be sampled as having 1.0 in G and B components.
9909
+ * @param texture - Const textureinfo&
9910
+ */
9911
+ setMetallicRoughnessTexture(texture: Systems.TextureInfo): void;
9912
+ /**
9913
+ * @description Gets the metallic-roughness texture
9914
+ * @return Const textureinfo&
9915
+ */
9916
+ getMetallicRoughnessTexture(): Systems.TextureInfo;
9917
+ /**
9918
+ * @description Sets the tangent space normal texture.
9919
+ * The texture encodes RGB components with linear transfer function.
9920
+ * Each texel represents the XYZ components of a normal vector in tangent space.
9921
+ * The normal vectors use the convention +X is right and +Y is up. +Z points toward the viewer.
9922
+ * If a fourth component (A) is present, it MUST be ignored. When undefined, the material does not have a tangent space normal texture.
9923
+ * @param texture - Const textureinfo&
9924
+ */
9925
+ setNormalTexture(texture: Systems.TextureInfo): void;
9926
+ /**
9927
+ * @description Gets the tangent space normal texture.
9928
+ * @return Const textureinfo&
9929
+ */
9930
+ getNormalTexture(): Systems.TextureInfo;
9931
+ /**
9932
+ * @description Sets the occlusion texture.
9933
+ * The occlusion values are linearly sampled from the R channel.
9934
+ * Higher values indicate areas that receive full indirect lighting and lower values indicate no indirect lighting.
9935
+ * If other channels are present (GBA), they MUST be ignored for occlusion calculations.
9936
+ * When undefined, the material does not have an occlusion texture.
9937
+ * @param texture - Const textureinfo&
9938
+ */
9939
+ setOcclusionTexture(texture: Systems.TextureInfo): void;
9940
+ /**
9941
+ * @description Gets the occlusion texture
9942
+ * @return Const textureinfo&
9943
+ */
9944
+ getOcclusionTexture(): Systems.TextureInfo;
9945
+ /**
9946
+ * @description Sets the emissive texture.
9947
+ * It controls the color and intensity of the light being emitted by the material.
9948
+ * This texture contains RGB components encoded with the sRGB transfer function.
9949
+ * If a fourth component (A) is present, it MUST be ignored.
9950
+ * When undefined, the texture MUST be sampled as having 1.0 in RGB components.
9951
+ * @param texture - Const textureinfo&
9952
+ */
9953
+ setEmissiveTexture(texture: Systems.TextureInfo): void;
9954
+ /**
9955
+ * @description Gets the emissive texture
9956
+ * @return Const textureinfo&
9957
+ */
9958
+ getEmissiveTexture(): Systems.TextureInfo;
9959
+ /**
9960
+ * @description Constructor which links the material to an asset
9961
+ * @param name - The name of the material.
9962
+ * @param assetCollectionId - The asset collection where the material info is stored
9963
+ * @param assetId - The asset where the material info is stored
9964
+ */
9965
+ static create_name_assetCollectionId_assetId(name: string, assetCollectionId: string, assetId: string): GLTFMaterial;
9966
+ static create(): GLTFMaterial;
9967
+ delete(): void;
9968
+ }
9969
+ }
9970
+ export declare namespace Systems {
9971
+ /**
9972
+ @ingroup Asset System
9973
+ * @description Data class used to contain information when attempting to download material data.
9974
+ */
9975
+ class GLTFMaterialResult extends Systems.ResultBase implements INativeResource {
9976
+ /** @internal */
9977
+ constructor(pointer: NativePointer);
9978
+ static fromResultBase(baseInstance: Systems.ResultBase): Systems.GLTFMaterialResult;
9979
+ /**
9980
+ * @description Retreives the GLTFMaterial from the result.
9981
+ */
9982
+ getGLTFMaterial(): Systems.GLTFMaterial;
9983
+ delete(): void;
9984
+ }
9985
+ }
9986
+ export declare namespace Systems {
9987
+ /**
9988
+ @ingroup Asset System
9989
+ * @description Data class used to contain information when attempting to download a collection of material data.
9990
+ */
9991
+ class GLTFMaterialsResult extends Systems.ResultBase implements INativeResource {
9992
+ /** @internal */
9993
+ constructor(pointer: NativePointer);
9994
+ static fromResultBase(baseInstance: Systems.ResultBase): Systems.GLTFMaterialsResult;
9995
+ /**
9996
+ * @description Retreives the GLTFMaterial from the result.
9997
+ */
9998
+ getGLTFMaterials(): Common.Array<Systems.GLTFMaterial>;
9999
+ delete(): void;
9499
10000
  }
9500
10001
  }
9501
10002
  export declare namespace Systems {
@@ -9924,7 +10425,7 @@ export declare namespace Systems {
9924
10425
  /** @internal */
9925
10426
  constructor(pointer: NativePointer);
9926
10427
  static fromSystemBase(baseInstance: Systems.SystemBase): Systems.HotspotSequenceSystem;
9927
- static create_sequenceSystem_spaceSystem(sequenceSystem: Systems.SequenceSystem, spaceSystem: Systems.SpaceSystem): HotspotSequenceSystem;
10428
+ static create_sequenceSystem_spaceSystem_eventBus(sequenceSystem: Systems.SequenceSystem, spaceSystem: Systems.SpaceSystem, eventBus: Multiplayer.EventBus): HotspotSequenceSystem;
9928
10429
  /**
9929
10430
  * @description Create a Hotspot group
9930
10431
  * @param groupName - The unique grouping name
@@ -9971,6 +10472,19 @@ export declare namespace Systems {
9971
10472
  * @param callback - Callback to call when a response is received
9972
10473
  */
9973
10474
  removeItemFromGroups(itemName: string): Promise<Systems.NullResult>;
10475
+ /**
10476
+ * @description Sets a callback to be fired when a hotspot sequence is changed.
10477
+ * @param callback - Callback to receive data for the hotspot sequence that has been changed.
10478
+ */
10479
+ setHotspotSequenceChangedCallback(callback: (arg1: Multiplayer.SequenceHotspotChangedParams) => void): void;
10480
+ /**
10481
+ * @description Registers the system to listen for the named event.
10482
+ */
10483
+ registerSystemCallback(): void;
10484
+ /**
10485
+ * @description Deregisters the system from listening for the named event.
10486
+ */
10487
+ deregisterSystemCallback(): void;
9974
10488
  }
9975
10489
  }
9976
10490
  export declare namespace Systems {
@@ -10408,6 +10922,19 @@ export declare namespace Systems {
10408
10922
  * @param callback - Callback to call when a response is received
10409
10923
  */
10410
10924
  deleteSequences(sequenceKeys: Common.Array<string>): Promise<Systems.NullResult>;
10925
+ /**
10926
+ * @description Sets a callback for a sequence changed event.
10927
+ * @param callback - Callback to receive data for the sequence that has been changed.
10928
+ */
10929
+ setSequenceChangedCallback(callback: (arg1: Multiplayer.SequenceChangedParams) => void): void;
10930
+ /**
10931
+ * @description Registers the system to listen for the named event.
10932
+ */
10933
+ registerSystemCallback(): void;
10934
+ /**
10935
+ * @description Deregisters the system from listening for the named event.
10936
+ */
10937
+ deregisterSystemCallback(): void;
10411
10938
  }
10412
10939
  }
10413
10940
  export declare namespace Systems {
@@ -11259,7 +11786,8 @@ export declare namespace Systems {
11259
11786
  * @description Retrieves an array with all the Points of Interest that are located inside the circular area defined by the parameters..
11260
11787
  * @param originLocation - The latitude and longitude coordinates of origin of the search location.
11261
11788
  * @param areaRadius - The Radius of the circular area to search around the provided origin.
11262
- * @param type - The type of POI to search for. If none is specified, all types will be included in the returned set.
11789
+ * @param type - The type of POI to search for. If none is specified, all types will be included in
11790
+ * the returned set.
11263
11791
  * @param callback - Callback when asynchronous task finishes.
11264
11792
  */
11265
11793
  getPOIsInArea(originLocation: Systems.GeoLocation, areaRadius: number, type: Systems.EPointOfInterestType | null): Promise<Systems.POICollectionResult>;
@@ -11539,6 +12067,19 @@ export declare namespace Systems {
11539
12067
  * @param callback - Callback that contains the checkout session url of the tier
11540
12068
  */
11541
12069
  getCheckoutSessionUrl(tier: Systems.TierNames): Promise<Systems.StringResult>;
12070
+ /**
12071
+ * @description Sets a callback for an access control changed event.
12072
+ * @param callback - Callback to receive data for the user permissions that has been changed.
12073
+ */
12074
+ setUserPermissionsChangedCallback(callback: (arg1: Multiplayer.UserPermissionsParams) => void): void;
12075
+ /**
12076
+ * @description Registers the system to listen for the named event.
12077
+ */
12078
+ registerSystemCallback(): void;
12079
+ /**
12080
+ * @description Deregisters the system from listening for the named event.
12081
+ */
12082
+ deregisterSystemCallback(): void;
11542
12083
  }
11543
12084
  }
11544
12085
  export declare namespace Common {
@@ -11557,6 +12098,7 @@ export declare namespace Common {
11557
12098
  static ofcsp_systems_AssetCollection(): Array<Systems.AssetCollection>;
11558
12099
  static ofcsp_systems_EAssetCollectionType(): Array<Systems.EAssetCollectionType>;
11559
12100
  static ofcsp_systems_EAssetType(): Array<Systems.EAssetType>;
12101
+ static ofcsp_systems_GLTFMaterial(): Array<Systems.GLTFMaterial>;
11560
12102
  static ofcsp_systems_LODAsset(): Array<Systems.LODAsset>;
11561
12103
  static ofcsp_systems_VariantOptionInfo(): Array<Systems.VariantOptionInfo>;
11562
12104
  static ofcsp_systems_ProductVariantInfo(): Array<Systems.ProductVariantInfo>;
@@ -11600,6 +12142,7 @@ export declare namespace Common {
11600
12142
  static ofcsp_systems_AssetCollection_number(size: number): Array<Systems.AssetCollection>;
11601
12143
  static ofcsp_systems_EAssetCollectionType_number(size: number): Array<Systems.EAssetCollectionType>;
11602
12144
  static ofcsp_systems_EAssetType_number(size: number): Array<Systems.EAssetType>;
12145
+ static ofcsp_systems_GLTFMaterial_number(size: number): Array<Systems.GLTFMaterial>;
11603
12146
  static ofcsp_systems_LODAsset_number(size: number): Array<Systems.LODAsset>;
11604
12147
  static ofcsp_systems_VariantOptionInfo_number(size: number): Array<Systems.VariantOptionInfo>;
11605
12148
  static ofcsp_systems_ProductVariantInfo_number(size: number): Array<Systems.ProductVariantInfo>;
@@ -11676,13 +12219,13 @@ export declare namespace Common {
11676
12219
  private TValueTypeFactory;
11677
12220
  private TValueTypeName;
11678
12221
  static ofUInt32Andcsp_multiplayer_ReplicatedValue(): Map<number, Multiplayer.ReplicatedValue>;
11679
- static ofcsp_multiplayer_ReplicatedValueAndcsp_multiplayer_ReplicatedValue(): Map<Multiplayer.ReplicatedValue, Multiplayer.ReplicatedValue>;
12222
+ static ofStringAndcsp_multiplayer_ReplicatedValue(): Map<string, Multiplayer.ReplicatedValue>;
11680
12223
  static ofUInt16Andcsp_multiplayer_ComponentBase(): Map<number, Multiplayer.ComponentBase>;
11681
12224
  static ofStringAndString(): Map<string, string>;
11682
12225
  static ofStringAndcsp_common_Map_String_String(): Map<string, Common.Map<string, string>>;
11683
12226
  static ofStringAndcsp_common_Array_String(): Map<string, Common.Array<string>>;
11684
12227
  static ofUInt32Andcsp_multiplayer_ReplicatedValue_Map(other: Common.Map<number, Multiplayer.ReplicatedValue>): Map<number, Multiplayer.ReplicatedValue>;
11685
- static ofcsp_multiplayer_ReplicatedValueAndcsp_multiplayer_ReplicatedValue_Map(other: Common.Map<Multiplayer.ReplicatedValue, Multiplayer.ReplicatedValue>): Map<Multiplayer.ReplicatedValue, Multiplayer.ReplicatedValue>;
12228
+ static ofStringAndcsp_multiplayer_ReplicatedValue_Map(other: Common.Map<string, Multiplayer.ReplicatedValue>): Map<string, Multiplayer.ReplicatedValue>;
11686
12229
  static ofUInt16Andcsp_multiplayer_ComponentBase_Map(other: Common.Map<number, Multiplayer.ComponentBase>): Map<number, Multiplayer.ComponentBase>;
11687
12230
  static ofStringAndString_Map(other: Common.Map<string, string>): Map<string, string>;
11688
12231
  static ofStringAndcsp_common_Map_String_String_Map(other: Common.Map<string, Common.Map<string, string>>): Map<string, Common.Map<string, string>>;