MCPcopy Create free account
hub / github.com/Tencent/xLua / Alias

Method Alias

Assets/XLua/Src/ObjectTranslator.cs:195–203  ·  view source on GitHub ↗
(Type type, string alias)

Source from the content-addressed store, hash-verified

193 }
194
195 public void Alias(Type type, string alias)
196 {
197 Type alias_type = FindType(alias);
198 if (alias_type == null)
199 {
200 throw new ArgumentException("Can not find " + alias);
201 }
202 aliasCfg[alias_type] = type;
203 }
204
205 public int cacheRef;
206

Callers 2

LuaEnv.csFile · 0.80
AliasFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected