Pathfinder  v3.0
The definitive Hacknet programmable modding system
Pathfinder.Util.File.ModContent Class Reference

Public Member Functions

 ModContent (string modId, string textureDirName, string soundDirName, string musicDirName)
 
Texture2D GetTexture (string texName)
 
SoundEffect GetSound (string soundName)
 
string GetSongPath (string songName)
 
bool PlaySound (string soundName, float volume=1, float pitch=0, float pan=0)
 
void LoadAsCurrentSong (string songName)
 
void TransitionToSong (string songName)
 
void PlaySongImmediately (string songName)
 
void LoadTextures ()
 
void LoadSounds ()
 
void LoadMusicList ()
 

Constructor & Destructor Documentation

◆ ModContent()

Pathfinder.Util.File.ModContent.ModContent ( string  modId,
string  textureDirName,
string  soundDirName,
string  musicDirName 
)

Member Function Documentation

◆ GetSongPath()

string Pathfinder.Util.File.ModContent.GetSongPath ( string  songName)

◆ GetSound()

SoundEffect Pathfinder.Util.File.ModContent.GetSound ( string  soundName)

◆ GetTexture()

Texture2D Pathfinder.Util.File.ModContent.GetTexture ( string  texName)

◆ LoadAsCurrentSong()

void Pathfinder.Util.File.ModContent.LoadAsCurrentSong ( string  songName)

◆ LoadMusicList()

void Pathfinder.Util.File.ModContent.LoadMusicList ( )

◆ LoadSounds()

void Pathfinder.Util.File.ModContent.LoadSounds ( )

◆ LoadTextures()

void Pathfinder.Util.File.ModContent.LoadTextures ( )

◆ PlaySongImmediately()

void Pathfinder.Util.File.ModContent.PlaySongImmediately ( string  songName)

◆ PlaySound()

bool Pathfinder.Util.File.ModContent.PlaySound ( string  soundName,
float  volume = 1,
float  pitch = 0,
float  pan = 0 
)

◆ TransitionToSong()

void Pathfinder.Util.File.ModContent.TransitionToSong ( string  songName)

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