示例#1
0
        public static Prop CreateInstance(string field)
        {
            Prop prop = new Prop();

            prop.ParseField(field);
            return(prop);
        }
    static int ParseField(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        Games.Module.Props.Prop obj = (Games.Module.Props.Prop)LuaScriptMgr.GetNetObjectSelf(L, 1, "Games.Module.Props.Prop");
        string arg0 = LuaScriptMgr.GetLuaString(L, 2);

        obj.ParseField(arg0);
        return(0);
    }