Class PlayerGraphics
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class PlayerGraphics : GraphicsModule, IDrawable
- Inheritance
-
PlayerGraphics
- Implements
-
- Inherited Members
-
Constructors
PlayerGraphics(PhysicalObject)
public PlayerGraphics(PhysicalObject ow)
Parameters
ow PhysicalObject
Fields
airborneCounter
public float airborneCounter
Field Value
- float
balanceCounter
public float balanceCounter
Field Value
- float
blink
Field Value
- int
bodyPearl
public PlayerGraphics.CosmeticPearl bodyPearl
Field Value
- PlayerGraphics.CosmeticPearl
breath
Field Value
- float
customColors
public static List<Color> customColors
Field Value
- List<Color>
darkenFactor
public float darkenFactor
Field Value
- float
disbalanceAmount
public float disbalanceAmount
Field Value
- float
drawPositions
public Vector2[,] drawPositions
Field Value
- Vector2[,]
flail
Field Value
- float
gills
public PlayerGraphics.AxolotlGills gills
Field Value
- PlayerGraphics.AxolotlGills
gown
public PlayerGraphics.Gown gown
Field Value
- PlayerGraphics.Gown
gownIndex
Field Value
- int
handEngagedInThrowing
public int handEngagedInThrowing
Field Value
- int
hands
public SlugcatHand[] hands
Field Value
- SlugcatHand[]
head
public GenericBodyPart head
Field Value
- GenericBodyPart
jollyColors
public static Color?[][] jollyColors
Field Value
- Color?[][]
lanternLight
public LightSource lanternLight
Field Value
- LightSource
lastBreath
Field Value
- float
lastLookDir
public Vector2 lastLookDir
Field Value
- Vector2
lastMarkAlpha
public float lastMarkAlpha
Field Value
- float
lastStretch
Field Value
- float
legs
public GenericBodyPart legs
Field Value
- GenericBodyPart
legsDirection
public Vector2 legsDirection
Field Value
- Vector2
lightSource
public LightSource lightSource
Field Value
- LightSource
lookDirection
public Vector2 lookDirection
Field Value
- Vector2
malnourished
public float malnourished
Field Value
- float
markAlpha
Field Value
- float
markBaseAlpha
public float markBaseAlpha
Field Value
- float
numGodPips
Field Value
- int
objectLooker
public PlayerGraphics.PlayerObjectLooker objectLooker
Field Value
- PlayerGraphics.PlayerObjectLooker
player
Field Value
- Player
ropeSegments
public PlayerGraphics.RopeSegment[] ropeSegments
Field Value
- RopeSegment[]
rubberAlphaEmblem
public float rubberAlphaEmblem
Field Value
- float
rubberAlphaPips
public float rubberAlphaPips
Field Value
- float
rubberMarkX
Field Value
- float
rubberMarkY
Field Value
- float
rubberMouseX
public float rubberMouseX
Field Value
- float
rubberMouseY
public float rubberMouseY
Field Value
- float
rubberRadius
public float rubberRadius
Field Value
- float
spearDir
Field Value
- float
stretch
Field Value
- float
swallowing
Field Value
- int
tail
public TailSegment[] tail
Field Value
- TailSegment[]
tailSpecks
public PlayerGraphics.TailSpeckles tailSpecks
Field Value
- PlayerGraphics.TailSpeckles
tentacles
public PlayerGraphics.Tentacle[] tentacles
Field Value
- Tentacle[]
tentaclesVisible
public int tentaclesVisible
Field Value
- int
throwCounter
Field Value
- int
thrownObject
public PhysicalObject thrownObject
Field Value
- PhysicalObject
Properties
CharacterForColor
public SlugcatStats.Name CharacterForColor { get; }
Property Value
- SlugcatStats.Name
RenderAsPup
public bool RenderAsPup { get; }
Property Value
- bool
RopeStretchFac
public float RopeStretchFac { get; }
Property Value
- float
ShouldBeCulled
public override bool ShouldBeCulled { get; }
Property Value
- bool
useJollyColor
public bool useJollyColor { get; }
Property Value
- bool
Methods
AddToContainer(SpriteLeaser, RoomCamera, FContainer)
public override void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer
AlignRope(float, Vector2)
public void AlignRope(float f, Vector2 alignPos)
Parameters
f float
alignPos Vector2
ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)
public override void ApplyPalette(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette
BiteFly(int)
public void BiteFly(int hand)
Parameters
hand int
BiteStruggle(int)
public void BiteStruggle(int hand)
Parameters
hand int
ColoredBodyPartList(Name)
public static List<string> ColoredBodyPartList(SlugcatStats.Name slugcatID)
Parameters
slugcatID SlugcatStats.Name
Returns
- List<string>
ConnectRopeSegments(int, int)
public void ConnectRopeSegments(int A, int B)
Parameters
A int
B int
CustomColorSafety(int)
public static Color CustomColorSafety(int staticColorIndex)
Parameters
staticColorIndex int
Returns
- Color
CustomColorsEnabled()
public static bool CustomColorsEnabled()
Returns
- bool
DefaultBodyPartColorHex(Name)
public static List<string> DefaultBodyPartColorHex(SlugcatStats.Name slugcatID)
Parameters
slugcatID SlugcatStats.Name
Returns
- List<string>
DefaultFaceSprite(float)
public string DefaultFaceSprite(float eyeScale)
Parameters
eyeScale float
Returns
- string
DefaultSlugcatColor(Name)
public static Color DefaultSlugcatColor(SlugcatStats.Name i)
Parameters
i SlugcatStats.Name
Returns
- Color
DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)
public override void DrawSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2
EchoSkin(SpriteLeaser, RoomCamera)
public void EchoSkin(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
InitiateSprites(SpriteLeaser, RoomCamera)
public override void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
JollyBodyColorMenu(Name, Name)
public static Color JollyBodyColorMenu(SlugcatStats.Name slugName, SlugcatStats.Name reference)
Parameters
slugName SlugcatStats.Name
reference SlugcatStats.Name
Returns
- Color
JollyColor(int, int)
public static Color JollyColor(int playerNumber, int bodyPartIndex)
Parameters
playerNumber int
bodyPartIndex int
Returns
- Color
public static Color JollyFaceColorMenu(SlugcatStats.Name slugName, SlugcatStats.Name reference, int playerNumber)
Parameters
slugName SlugcatStats.Name
reference SlugcatStats.Name
playerNumber int
Returns
- Color
public static Color JollyUniqueColorMenu(SlugcatStats.Name slugName, SlugcatStats.Name reference, int playerNumber)
Parameters
slugName SlugcatStats.Name
reference SlugcatStats.Name
playerNumber int
Returns
- Color
LoadJollyColorsFromOptions(int)
public static void LoadJollyColorsFromOptions(int playerNumber)
Parameters
playerNumber int
LookAtNothing()
public void LookAtNothing()
LookAtObject(PhysicalObject)
public void LookAtObject(PhysicalObject obj)
Parameters
obj PhysicalObject
LookAtPoint(Vector2, float)
public void LookAtPoint(Vector2 point, float interest)
Parameters
point Vector2
interest float
MSCUpdate()
NudgeDrawPosition(int, Vector2)
public void NudgeDrawPosition(int drawPos, Vector2 nudge)
Parameters
drawPos int
nudge Vector2
PlayerBlink()
public void PlayerBlink()
PopulateJollyColorArray(Name)
public static void PopulateJollyColorArray(SlugcatStats.Name reference)
Parameters
reference SlugcatStats.Name
Reset()
public override void Reset()
SaintFaceCondition()
public bool SaintFaceCondition()
Returns
- bool
SlugcatColor(Name)
public static Color SlugcatColor(SlugcatStats.Name i)
Parameters
i SlugcatStats.Name
Returns
- Color
SpinePosition(float, float)
public PlayerGraphics.PlayerSpineData SpinePosition(float s, float timeStacker)
Parameters
s float
timeStacker float
Returns
- PlayerGraphics.PlayerSpineData
SuckedIntoShortCut(Vector2)
public override void SuckedIntoShortCut(Vector2 shortCutPosition)
Parameters
shortCutPosition Vector2
ThrowObject(int, PhysicalObject)
public void ThrowObject(int hand, PhysicalObject obj)
Parameters
hand int
obj PhysicalObject
UndoEchoSkin(SpriteLeaser, RoomCamera)
public void UndoEchoSkin(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
Update()
public override void Update()