Peoplemon  0.1.0
Peoplemon 3 game source documentation
Static Public Member Functions | List of all members
core::script::LegacyWarn Struct Reference

Helper struct to warn when legacy scripts are attempted to load. More...

#include <LegacyWarn.hpp>

Static Public Member Functions

static void warn (const std::string &script)
 In debug mode logs a warning if the given script is detected to be legacy. More...
 

Detailed Description

Helper struct to warn when legacy scripts are attempted to load.

Definition at line 17 of file LegacyWarn.hpp.

Member Function Documentation

◆ warn()

void core::script::LegacyWarn::warn ( const std::string &  script)
inlinestatic

In debug mode logs a warning if the given script is detected to be legacy.

Parameters
scriptThe script to check. Only works on files

Definition at line 26 of file LegacyWarn.hpp.


The documentation for this struct was generated from the following file: