Tanoda
UserManager Class Reference
Inheritance diagram for UserManager:
GILES.pb_MonoBehaviourSingleton< UserManager >

Classes

struct  AddedTrainings
 
struct  CourseModuleType
 
struct  Quiz
 
struct  Training
 
struct  User
 
struct  VRAction
 
struct  WSAction
 
struct  WSActions
 
struct  WSGroup
 
struct  WSLogin
 
struct  WSUser
 
struct  WSUsers
 

Public Types

enum  UserType : int { Admin = 1 , Maintainer , User }
 

Public Member Functions

void DeleteSelectedUsers ()
 
void DeleteSelectedTraining ()
 
void AfterSuccessfulLicenseCheck ()
 
bool CheckLicense (byte[] lic)
 
void OnPwEndEdit ()
 
void Login ()
 
void Logout ()
 
void TryAddUser ()
 
void UpdateUser (User value)
 
void CancelUserInput ()
 
User GetUserByName (string username)
 
void SetTutorial (bool value)
 
void SetEditor (bool value)
 
void SetMode (int value)
 

Public Attributes

bool useLicensing = true
 
bool useNetworkManager = true
 
bool useAutoLogin = true
 
bool useAutoCourseLoad = true
 
InputField inputHwid
 
GameObject licenseWindow
 
GameObject addUserWindow
 
InputField inputUsername
 
InputField inputPW
 
InputField inputPW2
 
Dropdown dropdownUserType
 
GameObject cancelButton
 
InputField loginUsername
 
InputField loginPW
 
GameObject loginWindow
 
InputField qrField
 
Dropdown dropdownCourseType
 
pb_FileDialog fileDialog
 
GameObject mainMenuWindow
 
GameObject accessDenied
 
GameObject newCourseWindow
 
GameObject flags
 
RectTransform scrollViewContent
 
GameObject userListPrefab
 
RectTransform scrollViewContentCurse
 
GameObject curseListPrefab
 
UnityEvent OnLicenseNotFound
 
UnityEvent OnUserDatabaseNotFound
 
UnityEvent OnInvalidLicense
 
UnityEvent OnLoginSuccessful
 
UnityEvent OnLimitedUserLogin
 
UnityEvent OnMainteinerLogin
 
UnityEvent OnNetworkLogin
 
UnityEvent OnLogout
 

Additional Inherited Members

- Protected Member Functions inherited from GILES.pb_MonoBehaviourSingleton< UserManager >
virtual void Initialize ()
 
virtual void Awake ()
 
- Properties inherited from GILES.pb_MonoBehaviourSingleton< UserManager >
virtual bool dontDestroyOnLoad [get]
 Override to maintain an instance of this object across level loads. More...
 
static T instance [get]
 
static T nullableInstance [get]
 

Detailed Description

Definition at line 21 of file UserManager.cs.

Member Enumeration Documentation

◆ UserType

Enumerator
Admin 
Maintainer 
User 

Definition at line 808 of file UserManager.cs.

Member Function Documentation

◆ AfterSuccessfulLicenseCheck()

void UserManager.AfterSuccessfulLicenseCheck ( )

Definition at line 407 of file UserManager.cs.

◆ CancelUserInput()

void UserManager.CancelUserInput ( )

Definition at line 717 of file UserManager.cs.

◆ CheckLicense()

bool UserManager.CheckLicense ( byte[]  lic)

Definition at line 427 of file UserManager.cs.

◆ DeleteSelectedTraining()

void UserManager.DeleteSelectedTraining ( )

Definition at line 388 of file UserManager.cs.

◆ DeleteSelectedUsers()

void UserManager.DeleteSelectedUsers ( )

Definition at line 371 of file UserManager.cs.

◆ GetUserByName()

User UserManager.GetUserByName ( string  username)

Definition at line 777 of file UserManager.cs.

◆ Login()

void UserManager.Login ( )

Definition at line 453 of file UserManager.cs.

◆ Logout()

void UserManager.Logout ( )

Definition at line 592 of file UserManager.cs.

◆ OnPwEndEdit()

void UserManager.OnPwEndEdit ( )

Definition at line 445 of file UserManager.cs.

◆ SetEditor()

void UserManager.SetEditor ( bool  value)

Definition at line 797 of file UserManager.cs.

◆ SetMode()

void UserManager.SetMode ( int  value)

Definition at line 802 of file UserManager.cs.

◆ SetTutorial()

void UserManager.SetTutorial ( bool  value)

Definition at line 791 of file UserManager.cs.

◆ TryAddUser()

void UserManager.TryAddUser ( )

Definition at line 652 of file UserManager.cs.

◆ UpdateUser()

void UserManager.UpdateUser ( User  value)

Definition at line 702 of file UserManager.cs.

Member Data Documentation

◆ accessDenied

GameObject UserManager.accessDenied

Definition at line 57 of file UserManager.cs.

◆ addUserWindow

GameObject UserManager.addUserWindow

Definition at line 38 of file UserManager.cs.

◆ cancelButton

GameObject UserManager.cancelButton

Definition at line 43 of file UserManager.cs.

◆ curseListPrefab

GameObject UserManager.curseListPrefab

Definition at line 68 of file UserManager.cs.

◆ dropdownCourseType

Dropdown UserManager.dropdownCourseType

Definition at line 50 of file UserManager.cs.

◆ dropdownUserType

Dropdown UserManager.dropdownUserType

Definition at line 42 of file UserManager.cs.

◆ fileDialog

pb_FileDialog UserManager.fileDialog

Definition at line 53 of file UserManager.cs.

◆ flags

GameObject UserManager.flags

Definition at line 59 of file UserManager.cs.

◆ inputHwid

InputField UserManager.inputHwid

Definition at line 34 of file UserManager.cs.

◆ inputPW

InputField UserManager.inputPW

Definition at line 40 of file UserManager.cs.

◆ inputPW2

InputField UserManager.inputPW2

Definition at line 41 of file UserManager.cs.

◆ inputUsername

InputField UserManager.inputUsername

Definition at line 39 of file UserManager.cs.

◆ licenseWindow

GameObject UserManager.licenseWindow

Definition at line 35 of file UserManager.cs.

◆ loginPW

InputField UserManager.loginPW

Definition at line 47 of file UserManager.cs.

◆ loginUsername

InputField UserManager.loginUsername

Definition at line 46 of file UserManager.cs.

◆ loginWindow

GameObject UserManager.loginWindow

Definition at line 48 of file UserManager.cs.

◆ mainMenuWindow

GameObject UserManager.mainMenuWindow

Definition at line 56 of file UserManager.cs.

◆ newCourseWindow

GameObject UserManager.newCourseWindow

Definition at line 58 of file UserManager.cs.

◆ OnInvalidLicense

UnityEvent UserManager.OnInvalidLicense

Definition at line 72 of file UserManager.cs.

◆ OnLicenseNotFound

UnityEvent UserManager.OnLicenseNotFound

Definition at line 71 of file UserManager.cs.

◆ OnLimitedUserLogin

UnityEvent UserManager.OnLimitedUserLogin

Definition at line 72 of file UserManager.cs.

◆ OnLoginSuccessful

UnityEvent UserManager.OnLoginSuccessful

Definition at line 72 of file UserManager.cs.

◆ OnLogout

UnityEvent UserManager.OnLogout

Definition at line 72 of file UserManager.cs.

◆ OnMainteinerLogin

UnityEvent UserManager.OnMainteinerLogin

Definition at line 72 of file UserManager.cs.

◆ OnNetworkLogin

UnityEvent UserManager.OnNetworkLogin

Definition at line 72 of file UserManager.cs.

◆ OnUserDatabaseNotFound

UnityEvent UserManager.OnUserDatabaseNotFound

Definition at line 72 of file UserManager.cs.

◆ qrField

InputField UserManager.qrField

Definition at line 49 of file UserManager.cs.

◆ scrollViewContent

RectTransform UserManager.scrollViewContent

Definition at line 63 of file UserManager.cs.

◆ scrollViewContentCurse

RectTransform UserManager.scrollViewContentCurse

Definition at line 67 of file UserManager.cs.

◆ useAutoCourseLoad

bool UserManager.useAutoCourseLoad = true

Definition at line 31 of file UserManager.cs.

◆ useAutoLogin

bool UserManager.useAutoLogin = true

Definition at line 30 of file UserManager.cs.

◆ useLicensing

bool UserManager.useLicensing = true

Definition at line 26 of file UserManager.cs.

◆ useNetworkManager

bool UserManager.useNetworkManager = true

Definition at line 27 of file UserManager.cs.

◆ userListPrefab

GameObject UserManager.userListPrefab

Definition at line 64 of file UserManager.cs.


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