This repository has been archived on 2025-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
Files
skolavdf/phr/StickGame/Assets/FishNet/CodeGenerating/Helpers/TransportHelper.cs
2024-03-24 22:21:16 +01:00

36 lines
847 B
C#

using FishNet.Transporting;
using MonoFN.Cecil;
namespace FishNet.CodeGenerating.Helping
{
internal class TransportHelper : CodegenBase
{
#region Reflection references.
internal TypeReference Channel_TypeRef;
#endregion
/// <summary>
/// Resets cached values.
/// </summary>
private void ResetValues()
{
Channel_TypeRef = null;
}
/// <summary>
/// Imports references needed by this helper.
/// </summary>
/// <param name="moduleDef"></param>
/// <returns></returns>
public override bool ImportReferences()
{
ResetValues();
Channel_TypeRef = base.ImportReference(typeof(Channel));
return true;
}
}
}