Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ClientSkinSystem Class Reference

Public Types

using RenderControllerList = ::std::vector<::std::pair<::RenderControllerPtr, ::ExpressionNode>>

Static Public Member Functions

static MCAPI void _setupPersonaLodRenderControllers (bool lodReady, ::std::shared_ptr<::ActorResourceDefinition > const &resourceDef, ::Bedrock::NotNullNonOwnerPtr<::RenderControllerGroup > const &renderControllerGroup)
static MCAPI bool _setupPersonaLodTextureAndGeometry (::ClientSkin const &skin, ::SerializedSkinRef const &serializedSkin, ::std::shared_ptr<::ActorResourceDefinition > const &resourceDef, ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup > const &resourceDefinitions)
static MCAPI void _updateClientSkin (::IClientInstance &client, ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager > resourceLoadManager, ::ClientSkin &clientSkin, ::SerializedSkinRef const &skin, ::mce::Image const *image, ::mce::Image const *capeImage, bool isAsync, ::std::function< void()> geoFinishedCallback)
static MCAPI void addPlayerToFireEvent (::HashedString identifier, ::Player const *player)
static MCAPI void applySkinToPlayer (::IClientInstance &client, ::Player &player, ::SerializedSkinRef const &skin)
static MCAPI void createOrUpdate (::IClientInstance &client, ::AnimationComponent &animationComponent, ::SerializedSkinRef const &skin, ::mce::Image const *image, ::mce::Image const *capeImage, bool isAsync, ::std::function< void()> geoFinishedCallback)
static MCAPI bool doesRenderControllerListHaveRenderer (::std::vector<::std::pair<::RenderControllerPtr, ::ExpressionNode > > const &renderControllerList, ::HashedString renderControllerName)
static MCAPI void fireEventToPlayers (::HashedString const identifier, ::ClientLevel *level)
static MCAPI void frameUpdate (::FrameUpdateContext &frameUpdateContext, ::IClientInstance &client)
static MCAPI bool isAnySkinOfNameInitialized (::IClientInstance &client, ::std::string_view skinName)
static MCAPI void reload (::IClientInstance &client)
static MCAPI void remove (::IClientInstance &client, ::std::string const &skinName)
static MCAPI void shutdown (::IClientInstance &client)
static MCAPI void tick (::IClientInstance &client)
static MCAPI ::std::map<::HashedString, ::std::vector<::WeakEntityRef > > & mSkinIdToPlayersMap ()
static MCAPI int & sPersonaSkinLodDistance ()

The documentation for this class was generated from the following files: