Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.Localization.LocalizedWorldContent Class Reference

Detailed Description

Proxy container that provides you with a localized game object content.

Inheritance diagram for Doloro.Localization.LocalizedWorldContent:
Collaboration diagram for Doloro.Localization.LocalizedWorldContent:

Public Member Functions

 LocalizedWorldContent (GameObject content)
 
delegate void UpdateHandler (AProxyContentProvider info)
 Handle UI member update. More...
 
delegate LocalizatorType LocalizationHandler (LocalizatorType origin)
 Handler that should return localized text related to the origin one in current localization policy. More...
 

Static Public Member Functions

static void SetLocalzationHandler (LocalizationHandler localizator)
 Defines localization handler for text content. More...
 

Protected Member Functions

virtual void OnUpdated ()
 Occurs when some GUI element has been changed.
 

Properties

override GameObject content [get, set]
 Game object that will be spawned when item will be dropped.
 
static LocalizationHandler localizator [get]
 

Events

UpdateHandler Updated
 Occurs when content has been updated.
 

Member Function Documentation

◆ LocalizationHandler()

delegate LocalizatorType Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.LocalizationHandler ( LocalizatorType  origin)
inherited

Handler that should return localized text related to the origin one in current localization policy.

Parameters
originOrigin text or key code to localization system access.
Returns
Localized text in case if found. Origin text otherwise.

◆ SetLocalzationHandler()

static void Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.SetLocalzationHandler ( LocalizationHandler  localizator)
staticinherited

Defines localization handler for text content.

Parameters
localizatorhandler that will be called to localize a content.

◆ UpdateHandler()

delegate void Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.UpdateHandler ( AProxyContentProvider  info)
inherited

Handle UI member update.

Parameters
infoUpdated info.

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