1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. FuJiCuRa

    FuJiCuRa Plugin Developer

    Code (C#):
    // BaseEntity
    public virtual void OnFlagsChanged(global::BaseEntity.Flags old, global::BaseEntity.Flags next)
    {
        if (this.IsDebugging() && (old & global::BaseEntity.Flags.Debugging) != (next & global::BaseEntity.Flags.Debugging))
        {
            this.OnDebugStart();
        }
        // begin
        Interface.CallHook("OnEntityFlagsChanged", this, old, next);
        // end
    }