Battle Talent  V11
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CrossLink.DebugPanel Class Reference

Inherits CrossLink.PanelBase.

Public Member Functions

GameObject GetConsole ()
 
override void OnInit ()
 
void OnConfigRecordingSetup ()
 
void OnAddCoin ()
 
void OnClearScene ()
 
void OnSpawnEnemey ()
 
void OpenWaveSelection (UIButton btn)
 
void OnKillAll ()
 
void ClosestKill ()
 
void ToggleAllAI ()
 
bool ClosestToggleAI ()
 
void ClosestBoostHp ()
 
void ClosestOpenAI ()
 
void ClosestAtkDesire ()
 
void ClosestMotionFeature ()
 
void OnEnhanceToggle (bool isOn)
 
void OnModItemToggle (bool isOn)
 
void ShowSelection (bool isShow)
 
void OnFastTravel ()
 
void SummonThirdPersonCam ()
 
void ToggleLivMode ()
 
void OnEndlessToggle (bool isOn)
 
void ToggleEndlessMode ()
 
void ToggleWideAngleLens ()
 
void ShowProfilingPanel ()
 
void GetTools ()
 
void GetBuffGun ()
 
void GetDebugGun ()
 
void OnEnterSceneAgain ()
 
void OnClearMods ()
 
void OnReloadMods ()
 
void ClearDropItems ()
 
void RespawnCharacterInThisTile ()
 
void GoToTestScene ()
 
void GoToScene (string scene)
 
void GoToModifier ()
 
void OpenMRPanel ()
 
void GoToModBrowser (bool newSite=false)
 
void NextPage (int type)
 
void PrevPage (int type)
 
void OnAllyToggle (bool isOn)
 
void OnIdleToggle (bool isOn)
 
void OnMaxHpToggle (bool isOn)
 
void OnNoAIToggle (bool isOn)
 
void OnRoleModToggle (bool isOn)
 
void JumpToRoleMod ()
 
void JumpToWeaponMod ()
 
void OnHitTrackedToggle ()
 
void ToggleGhostMode ()
 
void OpenSceneSelection (UIButton btn)
 
void GoToModScene ()
 
void AddEventToScene ()
 
void RemoveCurSceneEvent ()
 
void OpenEventSelection (UIButton btn)
 
void OpenAvatarSelection (UIButton btn)
 
void ReplacementAvatar ()
 
void ResetAvatar ()
 
void OpenSkinSelection (UIButton btn)
 
void ReSkinCharacter ()
 
void ResetCharacter ()
 
void HideGloveBtn ()
 
void SpawnModRole (string roleToSpawn, string replaceRole)
 
void SetHitRandomValue (UIOption ot)
 
void ShowMusicPlayer ()
 
void OnPlaySong ()
 
void OnPauseSong ()
 
void OnPreviousSong ()
 
void OnNextSong ()
 
void OnVolChange (UIOption io)
 
void BgmSwitch ()
 
void HoverEnter (string icon, string name)
 
void HoverExit (string icon, string name)
 
void RefleshPreview ()
 
void ClearPreview ()
 
void ShowDetail (string title, string desc)
 
void HideDetail ()
 

Static Public Member Functions

static void CheckCheatingFlag ()
 
static void OnAddSoul ()
 
static void CmdOnKillAll ()
 
static void SetKillAllCoolDown ()
 
static void CmdCallSpawnWeapon (string weaponToSpawn, Vector3 pos)
 Network Client cmd call server spawn weapon More...
 
static void SpawnWeapon (string weaponToSpawn, bool localSpawn=false)
 
static bool IsRoleExist (string name)
 
static bool IsFastTraveling ()
 
static void FastTravelTo (int brdgeIndex)
 
static void CmdCallChangeSpawnSetting (bool? enhance, bool? ally, bool? idle, bool? maxHp, bool? noAI)
 
static void CmdCallSpawnRole (string roleToSpawn, bool isReplace, bool force, Vector3 pos, Quaternion rot)
 Network Client cmd call server spawn role More...
 
static void SpawnRole (string roleToSpawn, bool force=true)
 
static string GetSelectedScene ()
 
static bool IsCurScene (string name)
 
static void ClearSelectScene (string scene)
 
static bool IsModScene ()
 
static void ReplacementAvatar (string name)
 
static void CacheEvents< TComponent, THandler > (TComponent source, string eventName)
 
static void CacheEvents< TComponent > (TComponent source, string eventName)
 
static void CacheEvents< TComponent > (TComponent source)
 
static void RestoreEvents< TComponent > (TComponent target)
 
static void RestoreEvents< TComponent, TEvent > (TComponent target, string eventName)
 
static string GetCurAvatarName ()
 
static void RemoveCacheAvatar ()
 
static void RestoreToDefaultAvatar ()
 
static void ClearSelectAvatar (string avatar)
 
static void OnPlayerLoaded ()
 
static void ReSkinCharacter (string name)
 
static string GetCurSkinName ()
 
static void ResetSkin ()
 
static void ClearSelectSkin (string skin)
 
static void SpawnRoleAsync (string name, string replaceRole, System.Action< GameObject > cb)
 
static void SetupCharacterTemplate (Object obj, string name, string replaceRole, string templateName)
 
static GameObject SpawnRole (string name, string replaceRole)
 
static void ClearRoleTemplate (string role)
 
static void RefleshReplaceRole ()
 
static bool IsExistReplaceRole ()
 
static void RemoveReplaceRole (string roleName)
 
static List< string > GetRoleByCharecterName (string name)
 

Public Attributes

bool networkInit = false
 
readonly string debugPanel_prefix = "UI_DebugPanel_"
 
List< GameObject > networkDisabedItems = new List<GameObject>()
 
GameObject waveItem
 
RectTransform modNetworkNode
 
List< GameObject > mrDisabedItems = new List<GameObject>()
 
UIButton[] taps
 
GameObject[] items
 
List< UIButtoncheatBtns = new List<UIButton>()
 
UIOptionText cheatHP
 
UIOptionText cheatMP
 
UIOptionText cheatSlowMo
 
UIOptionText cheatDura
 
UIOptionText cheatAtkDesire
 
UIOptionText cheatHurtStun
 
UIOptionText hitRandom
 
GameObject[] pages
 
UIButton[] pageBtn
 
Object consolePrefab
 
HUDAnchor anchor
 
Text eventDesc
 
UICheckBox enhanceToggle
 
UICheckBox modItemToggle
 
ContentWeaponNode weaponNode
 
VerticalRoleContainer roleNode
 
UICheckBox modRoleToggle
 
UICheckBox allyToggle
 
UICheckBox idleToggle
 
UICheckBox hpMaxToggle
 
UICheckBox noAIToggle
 
Toggle endlessToggle
 
UIButton btnScene
 
UIButton btnSkin
 
UIButton btnAvatar
 
GameObject[] additionalPages
 
UIButton[] additionalPageBtn
 
GameObject[] hideOnMobile
 
ModifierPanel modifier
 
SelectionPanel selection
 
GameObject buttonMod
 
GameObject buttonReloadMod
 
UICheckBox eventCheckBox
 
GameObject editorSaveNode
 
UIOptionText volSelect
 
GameObject bgmOn
 
GameObject bgmOff
 
Text songText
 
MusicPlayer musicPlayer
 
GameObject detailContent
 
Text detailTitleTex
 
Text detailDescTex
 
GameObject playSong
 
GameObject pauseSong
 
PreviewItem[] previews
 

Static Public Attributes

static bool cheatingFlag = false
 
static float fastTravelTime
 
const string characterPath = "Character"
 
const string avatarDefault = "[VRTK_Scripts]"
 
const string avatarTemplate = "[VRTK_Scripts]ModTemplate"
 
const string avatarHandPoseLibrary = "HandPoseLibrary_Mod"
 
static bool ignoreAvatarChangeOnce = false
 
static Transform defaultHandPoseLibrary
 
const string PlaySkinTag = "Player"
 

Additional Inherited Members

Member Function Documentation

◆ CmdCallSpawnRole()

static void CrossLink.DebugPanel.CmdCallSpawnRole ( string  roleToSpawn,
bool  isReplace,
bool  force,
Vector3  pos,
Quaternion  rot 
)
static

Network Client cmd call server spawn role

◆ CmdCallSpawnWeapon()

static void CrossLink.DebugPanel.CmdCallSpawnWeapon ( string  weaponToSpawn,
Vector3  pos 
)
static

Network Client cmd call server spawn weapon