This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MelonLoader; | |
using UnityEngine; | |
using System.Collections; | |
using ScheduleOne.Employees; // Employee / EmployeeManager | |
using ScheduleOne.NPCs; // NPCHealth | |
[assembly: MelonInfo(typeof(Dave2Mod), "Employee Targeted Knock-Out Mod (Dave 2.0)", "2.0.0", "YourName")] | |
[assembly: MelonGame("TVGS", "Schedule I")] | |
public class Dave2Mod : MelonMod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ScheduleOne.NPCs | |
{ | |
// Token: 0x02000652 RID: 1618 | |
[RequireComponent(typeof(NPCHealth))] | |
public class NPC : NetworkBehaviour, IGUIDRegisterable, ISaveable, ICombatTargetable, IDamageable, ISightable | |
{ | |
// Token: 0x17000658 RID: 1624 | |
// (get) Token: 0x0600278B RID: 10123 RVA: 0x000AB0FE File Offset: 0x000A92FE | |
public string fullName | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ScheduleOne.PlayerScripts | |
{ | |
// Token: 0x02000543 RID: 1347 | |
public class Player : NetworkBehaviour, ISaveable, ICombatTargetable, IDamageable, ISightable | |
{ | |
// Token: 0x170004D9 RID: 1241 | |
// (get) Token: 0x06001B96 RID: 7062 RVA: 0x00074554 File Offset: 0x00072754 | |
public bool IsLocalPlayer | |
{ | |
get |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ScheduleOne.PlayerTasks | |
{ | |
// Token: 0x0200034D RID: 845 | |
public class DraggableConstraint : MonoBehaviour | |
{ | |
// Token: 0x1700038C RID: 908 | |
// (get) Token: 0x0600129C RID: 4764 RVA: 0x0004F24A File Offset: 0x0004D44A | |
private Vector3 RelativePos | |
{ | |
get |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ScheduleOne.PlayerTasks | |
{ | |
// Token: 0x0200034B RID: 843 | |
public class Draggable : Clickable | |
{ | |
// Token: 0x1700038A RID: 906 | |
// (get) Token: 0x0600128F RID: 4751 RVA: 0x0004EFDE File Offset: 0x0004D1DE | |
// (set) Token: 0x06001290 RID: 4752 RVA: 0x0004EFE6 File Offset: 0x0004D1E6 | |
public Rigidbody Rb { get; protected set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ScheduleOne.NPCs.Behaviour | |
{ | |
// Token: 0x0200071B RID: 1819 | |
public class UnconsciousBehaviour : Behaviour | |
{ | |
// Token: 0x06003079 RID: 12409 RVA: 0x000CA0A4 File Offset: 0x000C82A4 | |
protected override void Begin() | |
{ | |
base.Begin(); | |
base.Npc.Behaviour.RagdollBehaviour.Disable(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ScheduleOne.NPCs.Behaviour | |
{ | |
// Token: 0x02000714 RID: 1812 | |
public class RagdollBehaviour : Behaviour | |
{ | |
// Token: 0x0600301B RID: 12315 RVA: 0x000C8BEA File Offset: 0x000C6DEA | |
private void Start() | |
{ | |
base.InvokeRepeating("InfrequentUpdate", 0f, 0.1f); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ScheduleOne.Dragging | |
{ | |
// Token: 0x020005F5 RID: 1525 | |
public class DragManager : NetworkSingleton<DragManager> | |
{ | |
// Token: 0x1700063A RID: 1594 | |
// (get) Token: 0x060025A9 RID: 9641 RVA: 0x000A4B15 File Offset: 0x000A2D15 | |
// (set) Token: 0x060025AA RID: 9642 RVA: 0x000A4B1D File Offset: 0x000A2D1D | |
public Draggable CurrentDraggable { get; protected set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ScheduleOne.Dragging | |
{ | |
// Token: 0x020005F3 RID: 1523 | |
[RequireComponent(typeof(Rigidbody))] | |
[RequireComponent(typeof(InteractableObject))] | |
public class Draggable : MonoBehaviour, IGUIDRegisterable | |
{ | |
// Token: 0x17000636 RID: 1590 | |
// (get) Token: 0x06002594 RID: 9620 RVA: 0x000A4643 File Offset: 0x000A2843 | |
public bool IsBeingDragged |