TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ModifySleepingTargetInfo()

static void Terraria.ModLoader.TileLoader.ModifySleepingTargetInfo ( int i,
int j,
int type,
ref TileRestingInfo info )
inlinestatic

Definition at line 502 of file TileLoader.cs.

503 {
504 //IL_0015: Unknown result type (might be due to invalid IL or missing references)
505 //IL_001a: Unknown result type (might be due to invalid IL or missing references)
506 ModTile modTile = GetTile(type);
507 if (modTile != null)
508 {
509 info.VisualOffset = new Vector2(-9f, 1f);
510 modTile.ModifySleepingTargetInfo(i, j, ref info);
511 }
512 }
static ModTile GetTile(int type)
Gets the ModTile instance with the given type. If no ModTile with the given type exists,...

References Terraria.ModLoader.TileLoader.GetTile().

Referenced by Terraria.GameContent.PlayerSleepingHelper.GetSleepingTargetInfo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: