Skip to content

FirstPersonGame

namespace Griff.Modules.FirstPerson;
public static class FirstPersonGame

What a script can ask of a first-person game, as members of Game (Game.FirstPersonViewer, Game.Equip(shotgun)): the view, the player looked through, and the weapon in hand.

public static bool Equip(Game game, Weapon weapon)
public static void Fire(Game game, Weapon weapon)
public static Weapon? get_CurrentWeapon(Game game)
public static FirstPersonView? get_FirstPersonView(Game game)
public static Entity? get_FirstPersonViewer(Game game)