|
| | PlayerData (Project project) |
| void | Dispose () |
| void | RandomizeCharacterSkin () |
| void | ResetName () |
| virtual void | Update () |
| void | Load (ValuesDictionary valuesDictionary) |
| void | Save (ValuesDictionary valuesDictionary) |
| void | OnEntityAdded (Entity entity) |
| void | OnEntityRemoved (Entity entity) |
| Vector3 | FindIntroSpawnPosition (Vector2 desiredSpawnPosition) |
| Vector3 | FindNoIntroSpawnPosition (Vector3 desiredSpawnPosition, bool respawn) |
| float | ScoreIntroSpawnPosition (Vector2 desiredSpawnPosition, int x, int z) |
| float | ScoreNoIntroSpawnPosition (Vector3 desiredSpawnPosition, int x, int y, int z) |
| bool | CheckIsPointInWater (Point3 p) |
| void | SpawnPlayer (Vector3 position, SpawnMode spawnMode) |
| string | GetEntityTemplateName () |
| virtual void | UpdateSpawnDialog (string largeMessage, string smallMessage, float progress, bool resetProgress) |
| void | HideSpawnDialog () |
|
| static string | fName = "PlayerData" |
|
| double | TerrainMaxWaitTime = 15 [get, set] |
| int | PlayerIndex [get, set] |
| SubsystemGameWidgets | SubsystemGameWidgets [get, set] |
| SubsystemPlayers | SubsystemPlayers [get, set] |
| ComponentPlayer | ComponentPlayer [get, set] |
| Entity | LastDeadPlayer [get, set] |
| GameWidget | GameWidget [get] |
| Vector3 | SpawnPosition [get, set] |
| double | FirstSpawnTime [get, set] |
| double | LastSpawnTime [get, set] |
| int | SpawnsCount [get, set] |
| string | Name [get, set] |
| bool | IsDefaultName [get, set] |
| PlayerClass | PlayerClass [get, set] |
| float | Level [get, set] |
| string | CharacterSkinName [get, set] |
| WidgetInputDevice | InputDevice [get, set] |
| bool | IsReadyForPlaying [get] |
| bool | IsTimeReadyToSpawn [get] |
◆ SpawnMode
◆ PlayerData()
| Game.PlayerData.PlayerData |
( |
Project | project | ) |
|
◆ CheckIsPointInWater()
| bool Game.PlayerData.CheckIsPointInWater |
( |
Point3 | p | ) |
|
◆ Dispose()
| void Game.PlayerData.Dispose |
( |
| ) |
|
◆ FindIntroSpawnPosition()
| Vector3 Game.PlayerData.FindIntroSpawnPosition |
( |
Vector2 | desiredSpawnPosition | ) |
|
◆ FindNoIntroSpawnPosition()
| Vector3 Game.PlayerData.FindNoIntroSpawnPosition |
( |
Vector3 | desiredSpawnPosition, |
|
|
bool | respawn ) |
◆ GetEntityTemplateName()
| string Game.PlayerData.GetEntityTemplateName |
( |
| ) |
|
◆ HideSpawnDialog()
| void Game.PlayerData.HideSpawnDialog |
( |
| ) |
|
◆ Load()
◆ MakeClothingValue()
| string Game.PlayerData.MakeClothingValue |
( |
int | index, |
|
|
int | color ) |
|
static |
◆ OnEntityAdded()
| void Game.PlayerData.OnEntityAdded |
( |
Entity | entity | ) |
|
◆ OnEntityRemoved()
| void Game.PlayerData.OnEntityRemoved |
( |
Entity | entity | ) |
|
◆ RandomizeCharacterSkin()
| void Game.PlayerData.RandomizeCharacterSkin |
( |
| ) |
|
◆ ResetName()
| void Game.PlayerData.ResetName |
( |
| ) |
|
◆ Save()
◆ ScoreIntroSpawnPosition()
| float Game.PlayerData.ScoreIntroSpawnPosition |
( |
Vector2 | desiredSpawnPosition, |
|
|
int | x, |
|
|
int | z ) |
◆ ScoreNoIntroSpawnPosition()
| float Game.PlayerData.ScoreNoIntroSpawnPosition |
( |
Vector3 | desiredSpawnPosition, |
|
|
int | x, |
|
|
int | y, |
|
|
int | z ) |
◆ SpawnPlayer()
◆ Update()
| virtual void Game.PlayerData.Update |
( |
| ) |
|
|
virtual |
◆ UpdateSpawnDialog()
| virtual void Game.PlayerData.UpdateSpawnDialog |
( |
string | largeMessage, |
|
|
string | smallMessage, |
|
|
float | progress, |
|
|
bool | resetProgress ) |
|
virtual |
◆ VerifyName()
| bool Game.PlayerData.VerifyName |
( |
string | name | ) |
|
|
static |
◆ fName
| string Game.PlayerData.fName = "PlayerData" |
|
static |
◆ m_gameWidget
◆ m_initialSpawnWaitTime
| double Game.PlayerData.m_initialSpawnWaitTime = 0 |
◆ m_name
| string Game.PlayerData.m_name |
◆ m_playerClass
◆ m_playerDeathTime
| double? Game.PlayerData.m_playerDeathTime |
◆ m_progress
| float Game.PlayerData.m_progress |
◆ m_project
◆ m_respawnWaitTime
| double Game.PlayerData.m_respawnWaitTime = 2.0 |
◆ m_spawnDialog
◆ m_spawnMode
◆ m_stateMachine
◆ m_subsystemGameInfo
◆ m_subsystemSky
◆ m_subsystemTerrain
◆ m_terrainWaitStartTime
| double Game.PlayerData.m_terrainWaitStartTime |
◆ ReduceLevelUponDeath
| bool Game.PlayerData.ReduceLevelUponDeath = true |
◆ CharacterSkinName
| string Game.PlayerData.CharacterSkinName |
|
getset |
◆ ComponentPlayer
| ComponentPlayer Game.PlayerData.ComponentPlayer |
|
getset |
◆ FirstSpawnTime
| double Game.PlayerData.FirstSpawnTime |
|
getset |
◆ GameWidget
◆ InputDevice
◆ IsDefaultName
| bool Game.PlayerData.IsDefaultName |
|
getset |
◆ IsReadyForPlaying
| bool Game.PlayerData.IsReadyForPlaying |
|
get |
◆ IsTimeReadyToSpawn
| bool Game.PlayerData.IsTimeReadyToSpawn |
|
get |
◆ LastDeadPlayer
| Entity Game.PlayerData.LastDeadPlayer |
|
getset |
◆ LastSpawnTime
| double Game.PlayerData.LastSpawnTime |
|
getset |
◆ Level
| float Game.PlayerData.Level |
|
getset |
◆ Name
| string Game.PlayerData.Name |
|
getset |
◆ PlayerClass
◆ PlayerIndex
| int Game.PlayerData.PlayerIndex |
|
getset |
◆ SpawnPosition
| Vector3 Game.PlayerData.SpawnPosition |
|
getset |
◆ SpawnsCount
| int Game.PlayerData.SpawnsCount |
|
getset |
◆ SubsystemGameWidgets
| SubsystemGameWidgets Game.PlayerData.SubsystemGameWidgets |
|
getset |
◆ SubsystemPlayers
| SubsystemPlayers Game.PlayerData.SubsystemPlayers |
|
getset |
◆ TerrainMaxWaitTime
| double Game.PlayerData.TerrainMaxWaitTime = 15 |
|
getset |
该类的文档由以下文件生成:
- E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Game/PlayerData.cs