terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ UpdateFrame()

void Terraria.Mount.UpdateFrame ( Player mountedPlayer,
int state,
Vector2 velocity )
inline

Definition at line 1030 of file Mount.cs.

1031 {
1032 int frameState = this._frameState;
1034 int type = this._type;
1035 if (state != 0)
1036 {
1037 return;
1038 }
1039 if (this._data.emitsLight)
1040 {
1041 Vector2 center = mountedPlayer.Center;
1042 Mount.MountData data = this._data;
1043 float x = data.lightColor.X;
1044 float y = data.lightColor.Y;
1045 float z = data.lightColor.Z;
1046 }
1047 int type2 = this._type;
1048 }
class f__AnonymousType0<< Count > j__TPar
Mount.MountData _data
Definition Mount.cs:1845
int _frameState
Definition Mount.cs:1866

References Terraria.Mount._data, Terraria.Mount._frameState, Terraria.Mount._type, j__TPar, Terraria.Mount.MountData.lightColor, System.state, Microsoft.Xna.Framework.Vector3.X, Microsoft.Xna.Framework.Vector3.Y, and Microsoft.Xna.Framework.Vector3.Z.