# Sandbox.Npcs.Factions

The built-in faction names -- an NPC's faction is its identity to others.
These are plain strings so games can reuse them or invent their own;
this list is just the common set so content interoperates.

An NPC that does not declare its own relationships takes these defaults from its faction. Allies like players
and attack enemies and monsters. Enemies attack players, allies and citizens. Citizens flee enemies and
monsters, and monsters attack everyone else. Anything not named here, and any other faction, is ignored.

- Kind: class
- Namespace: `Sandbox.Npcs`
- Assembly: `Sandbox.Engine`
- Modifiers: static, abstract, sealed

## Fields

- [`Ally`](/api/Sandbox.Npcs.Factions/Ally)
- [`Citizen`](/api/Sandbox.Npcs.Factions/Citizen)
- [`Enemy`](/api/Sandbox.Npcs.Factions/Enemy)
- [`Monster`](/api/Sandbox.Npcs.Factions/Monster)
- [`Player`](/api/Sandbox.Npcs.Factions/Player)
