C# Class GameSettingsData, RPGQuest

显示文件 Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
AUDIO_PATH string
ICON_PATH string
acceptAudio string
acceptClip UnityEngine.AudioClip
acceptKey string
acceptVolume float
addInteractionController bool
addSkillLevel bool
areaNamePosition int
areaNameVisibleTime float
autoRemoveLayer bool
battleTextureDelete TextureDelete
cameraControlSettings CameraControlSettings,
cancelAudio string
cancelClip UnityEngine.AudioClip
cancelKey string
cancelVolume float
charMinusKey string
charPlusKey string
clickTimeout float
cursorMoveAudio string
cursorMoveClip UnityEngine.AudioClip
cursorMoveVolume float
cursorTimeout float
defaultScreen Vector2
dialogueOkIcon UnityEngine.Texture2D
dialogueOkIconName string
dialogueOkOffset Vector2[]
dialogueOkPosition ButtonPosition,
dialogueOkSize Vector2[]
dialogueOkText string[]
dropMask int
dropOffsetX Vector2
dropOffsetY Vector2
dropOffsetZ Vector2
dropOnGround bool
encryptData bool
failAudio string
failClip UnityEngine.AudioClip
failVolume float
freezePause bool
gameControl GameControl,
gameOver GameOverSettings,
guiFilterMode FilterMode
guiImageStretch GUIImageStretch
guiScaleMode GUIScaleMode
guiSystemType GUISystemType
horizontalKey string
hudRefreshFrame bool
hudRefreshRate float
inputHandling InputHandling,
interactionControllerChildName string
interactionControllerName string
interactionControllerOffset Vector3
itemCollectionAnimation string
itemCollectionChoice bool
itemCollectionNoText string[]
itemCollectionPosition int
itemCollectionText string[]
itemCollectionYesText string[]
loopSkillLevels bool
maxBattleParty int
maxClickDistance int
maxRandomRange float
menuTextureDelete TextureDelete
minRandomRange float
mipMapBias float
moneyCollectionChoice bool
moneyCollectionNoText string[]
moneyCollectionText string[]
moneyCollectionYesText string[]
moneyIcon UnityEngine.Texture2D
moneyIconName string
moneyPrefab GameObject
moneyPrefabName string
moneyText string[]
noAutoCollapse bool
noScrollbar bool
noScrollbarThumb bool
onlyInBattleArea bool
partyFollow bool
pauseKey string
pauseTime bool
playerComponent string[]
playerControlSettings PlayerControlSettings,
preloadAreaNames bool
preloadBoxes bool
preloadFonts bool
saveDrops bool
saveWindowDrag bool
scrollSpeed float
showAreaNames bool
skillLevelAudio string
skillLevelClip UnityEngine.AudioClip
skillLevelName string[]
skillLevelVolume float
skillMinusKey string
skillPlusKey string
spawnDistance float
spawnOnlyBP bool
spawnParty bool
statistic GameStatistic,
switchOnlyBP bool
switchPlayer bool
timeIcon UnityEngine.Texture2D
timeIconName string
timeText string[]
verticalKey string

Public Methods

Method Description
AddInteractionController ( GameObject player ) : void
AddLanguage ( int lang ) : void
AddPlayerComponent ( ) : void
GameSettingsData ( ) : System.Collections
GetItemCollectionChoice ( int id, int n, ItemDropType t ) : string[]
GetItemCollectionString ( int id, int n, ItemDropType t ) : string
GetMoneyCollectionChoice ( int n ) : string[]
GetMoneyCollectionString ( int n ) : string
GetMoneyContent ( HUDContentType type ) : ChoiceContent,
GetMoneyPrefabInstance ( ) : GameObject
GetMoneyText ( ) : string
GetOkButtonContent ( ) : GUIContent
GetRandom ( ) : float
GetSkillLevelName ( string name, int lvl ) : string
GetTimeContent ( HUDContentType type ) : ChoiceContent,
GetTimeText ( ) : string
IsKeyboardAllowed ( ) : bool
IsMouseAllowed ( ) : bool
LoadData ( ) : void
LoadResources ( ) : void
PlayAcceptAudio ( AudioSource audio ) : void
PlayCancelAudio ( AudioSource audio ) : void
PlayCursorMoveAudio ( AudioSource audio ) : void
PlayFailAudio ( AudioSource audio ) : void
PlaySkillLevelAudio ( AudioSource audio ) : void
RemoveLanguage ( int lang ) : void
RemovePlayerComponent ( int index ) : void
SaveData ( ) : void

Private Methods

Method Description
GetItemCollectionReplace ( string txt, int id, int n, ItemDropType t ) : string

Method Details

AddInteractionController() public method

public AddInteractionController ( GameObject player ) : void
player GameObject
return void

AddLanguage() public method

public AddLanguage ( int lang ) : void
lang int
return void

AddPlayerComponent() public method

public AddPlayerComponent ( ) : void
return void

GameSettingsData() public method

public GameSettingsData ( ) : System.Collections
return System.Collections

GetItemCollectionChoice() public method

public GetItemCollectionChoice ( int id, int n, ItemDropType t ) : string[]
id int
n int
t ItemDropType
return string[]

GetItemCollectionString() public method

public GetItemCollectionString ( int id, int n, ItemDropType t ) : string
id int
n int
t ItemDropType
return string

GetMoneyCollectionChoice() public method

public GetMoneyCollectionChoice ( int n ) : string[]
n int
return string[]

GetMoneyCollectionString() public method

public GetMoneyCollectionString ( int n ) : string
n int
return string

GetMoneyContent() public method

public GetMoneyContent ( HUDContentType type ) : ChoiceContent,
type HUDContentType
return ChoiceContent,

GetMoneyPrefabInstance() public method

public GetMoneyPrefabInstance ( ) : GameObject
return GameObject

GetMoneyText() public method

public GetMoneyText ( ) : string
return string

GetOkButtonContent() public method

public GetOkButtonContent ( ) : GUIContent
return GUIContent

GetRandom() public method

public GetRandom ( ) : float
return float

GetSkillLevelName() public method

public GetSkillLevelName ( string name, int lvl ) : string
name string
lvl int
return string

GetTimeContent() public method

public GetTimeContent ( HUDContentType type ) : ChoiceContent,
type HUDContentType
return ChoiceContent,

GetTimeText() public method

public GetTimeText ( ) : string
return string

IsKeyboardAllowed() public method

public IsKeyboardAllowed ( ) : bool
return bool

IsMouseAllowed() public method

public IsMouseAllowed ( ) : bool
return bool

LoadData() public method

public LoadData ( ) : void
return void

LoadResources() public method

public LoadResources ( ) : void
return void

PlayAcceptAudio() public method

public PlayAcceptAudio ( AudioSource audio ) : void
audio UnityEngine.AudioSource
return void

PlayCancelAudio() public method

public PlayCancelAudio ( AudioSource audio ) : void
audio UnityEngine.AudioSource
return void

PlayCursorMoveAudio() public method

public PlayCursorMoveAudio ( AudioSource audio ) : void
audio UnityEngine.AudioSource
return void

PlayFailAudio() public method

public PlayFailAudio ( AudioSource audio ) : void
audio UnityEngine.AudioSource
return void

PlaySkillLevelAudio() public method

public PlaySkillLevelAudio ( AudioSource audio ) : void
audio UnityEngine.AudioSource
return void

RemoveLanguage() public method

public RemoveLanguage ( int lang ) : void
lang int
return void

RemovePlayerComponent() public method

public RemovePlayerComponent ( int index ) : void
index int
return void

SaveData() public method

public SaveData ( ) : void
return void

Property Details

AUDIO_PATH public_oe static_oe property

public static string AUDIO_PATH
return string

ICON_PATH public_oe static_oe property

public static string ICON_PATH
return string

acceptAudio public_oe property

public string acceptAudio
return string

acceptClip public_oe property

public AudioClip,UnityEngine acceptClip
return UnityEngine.AudioClip

acceptKey public_oe property

public string acceptKey
return string

acceptVolume public_oe property

public float acceptVolume
return float

addInteractionController public_oe property

public bool addInteractionController
return bool

addSkillLevel public_oe property

public bool addSkillLevel
return bool

areaNamePosition public_oe property

public int areaNamePosition
return int

areaNameVisibleTime public_oe property

public float areaNameVisibleTime
return float

autoRemoveLayer public_oe property

public bool autoRemoveLayer
return bool

battleTextureDelete public_oe property

public TextureDelete battleTextureDelete
return TextureDelete

cameraControlSettings public_oe property

public CameraControlSettings, cameraControlSettings
return CameraControlSettings,

cancelAudio public_oe property

public string cancelAudio
return string

cancelClip public_oe property

public AudioClip,UnityEngine cancelClip
return UnityEngine.AudioClip

cancelKey public_oe property

public string cancelKey
return string

cancelVolume public_oe property

public float cancelVolume
return float

charMinusKey public_oe property

public string charMinusKey
return string

charPlusKey public_oe property

public string charPlusKey
return string

clickTimeout public_oe property

public float clickTimeout
return float

cursorMoveAudio public_oe property

public string cursorMoveAudio
return string

cursorMoveClip public_oe property

public AudioClip,UnityEngine cursorMoveClip
return UnityEngine.AudioClip

cursorMoveVolume public_oe property

public float cursorMoveVolume
return float

cursorTimeout public_oe property

public float cursorTimeout
return float

defaultScreen public_oe property

public Vector2 defaultScreen
return Vector2

dialogueOkIcon public_oe property

public Texture2D,UnityEngine dialogueOkIcon
return UnityEngine.Texture2D

dialogueOkIconName public_oe property

public string dialogueOkIconName
return string

dialogueOkOffset public_oe property

public Vector2[] dialogueOkOffset
return Vector2[]

dialogueOkPosition public_oe property

public ButtonPosition, dialogueOkPosition
return ButtonPosition,

dialogueOkSize public_oe property

public Vector2[] dialogueOkSize
return Vector2[]

dialogueOkText public_oe property

public string[] dialogueOkText
return string[]

dropMask public_oe property

public int dropMask
return int

dropOffsetX public_oe property

public Vector2 dropOffsetX
return Vector2

dropOffsetY public_oe property

public Vector2 dropOffsetY
return Vector2

dropOffsetZ public_oe property

public Vector2 dropOffsetZ
return Vector2

dropOnGround public_oe property

public bool dropOnGround
return bool

encryptData public_oe property

public bool encryptData
return bool

failAudio public_oe property

public string failAudio
return string

failClip public_oe property

public AudioClip,UnityEngine failClip
return UnityEngine.AudioClip

failVolume public_oe property

public float failVolume
return float

freezePause public_oe property

public bool freezePause
return bool

gameControl public_oe property

public GameControl, gameControl
return GameControl,

gameOver public_oe property

public GameOverSettings, gameOver
return GameOverSettings,

guiFilterMode public_oe property

public FilterMode guiFilterMode
return FilterMode

guiImageStretch public_oe property

public GUIImageStretch guiImageStretch
return GUIImageStretch

guiScaleMode public_oe property

public GUIScaleMode guiScaleMode
return GUIScaleMode

guiSystemType public_oe property

public GUISystemType guiSystemType
return GUISystemType

horizontalKey public_oe property

public string horizontalKey
return string

hudRefreshFrame public_oe property

public bool hudRefreshFrame
return bool

hudRefreshRate public_oe property

public float hudRefreshRate
return float

inputHandling public_oe property

public InputHandling, inputHandling
return InputHandling,

interactionControllerChildName public_oe property

public string interactionControllerChildName
return string

interactionControllerName public_oe property

public string interactionControllerName
return string

interactionControllerOffset public_oe property

public Vector3 interactionControllerOffset
return Vector3

itemCollectionAnimation public_oe property

public string itemCollectionAnimation
return string

itemCollectionChoice public_oe property

public bool itemCollectionChoice
return bool

itemCollectionNoText public_oe property

public string[] itemCollectionNoText
return string[]

itemCollectionPosition public_oe property

public int itemCollectionPosition
return int

itemCollectionText public_oe property

public string[] itemCollectionText
return string[]

itemCollectionYesText public_oe property

public string[] itemCollectionYesText
return string[]

loopSkillLevels public_oe property

public bool loopSkillLevels
return bool

maxBattleParty public_oe property

public int maxBattleParty
return int

maxClickDistance public_oe property

public int maxClickDistance
return int

maxRandomRange public_oe property

public float maxRandomRange
return float

menuTextureDelete public_oe property

public TextureDelete menuTextureDelete
return TextureDelete

minRandomRange public_oe property

public float minRandomRange
return float

mipMapBias public_oe property

public float mipMapBias
return float

moneyCollectionChoice public_oe property

public bool moneyCollectionChoice
return bool

moneyCollectionNoText public_oe property

public string[] moneyCollectionNoText
return string[]

moneyCollectionText public_oe property

public string[] moneyCollectionText
return string[]

moneyCollectionYesText public_oe property

public string[] moneyCollectionYesText
return string[]

moneyIcon public_oe property

public Texture2D,UnityEngine moneyIcon
return UnityEngine.Texture2D

moneyIconName public_oe property

public string moneyIconName
return string

moneyPrefab public_oe property

public GameObject moneyPrefab
return GameObject

moneyPrefabName public_oe property

public string moneyPrefabName
return string

moneyText public_oe property

public string[] moneyText
return string[]

noAutoCollapse public_oe property

public bool noAutoCollapse
return bool

noScrollbar public_oe property

public bool noScrollbar
return bool

noScrollbarThumb public_oe property

public bool noScrollbarThumb
return bool

onlyInBattleArea public_oe property

public bool onlyInBattleArea
return bool

partyFollow public_oe property

public bool partyFollow
return bool

pauseKey public_oe property

public string pauseKey
return string

pauseTime public_oe property

public bool pauseTime
return bool

playerComponent public_oe property

public string[] playerComponent
return string[]

playerControlSettings public_oe property

public PlayerControlSettings, playerControlSettings
return PlayerControlSettings,

preloadAreaNames public_oe property

public bool preloadAreaNames
return bool

preloadBoxes public_oe property

public bool preloadBoxes
return bool

preloadFonts public_oe property

public bool preloadFonts
return bool

saveDrops public_oe property

public bool saveDrops
return bool

saveWindowDrag public_oe property

public bool saveWindowDrag
return bool

scrollSpeed public_oe property

public float scrollSpeed
return float

showAreaNames public_oe property

public bool showAreaNames
return bool

skillLevelAudio public_oe property

public string skillLevelAudio
return string

skillLevelClip public_oe property

public AudioClip,UnityEngine skillLevelClip
return UnityEngine.AudioClip

skillLevelName public_oe property

public string[] skillLevelName
return string[]

skillLevelVolume public_oe property

public float skillLevelVolume
return float

skillMinusKey public_oe property

public string skillMinusKey
return string

skillPlusKey public_oe property

public string skillPlusKey
return string

spawnDistance public_oe property

public float spawnDistance
return float

spawnOnlyBP public_oe property

public bool spawnOnlyBP
return bool

spawnParty public_oe property

public bool spawnParty
return bool

statistic public_oe property

public GameStatistic, statistic
return GameStatistic,

switchOnlyBP public_oe property

public bool switchOnlyBP
return bool

switchPlayer public_oe property

public bool switchPlayer
return bool

timeIcon public_oe property

public Texture2D,UnityEngine timeIcon
return UnityEngine.Texture2D

timeIconName public_oe property

public string timeIconName
return string

timeText public_oe property

public string[] timeText
return string[]

verticalKey public_oe property

public string verticalKey
return string