Example #1
0
 static string GetDefineName(string fullName, bool isDynamic = true)
 {
     if (Setting.RawTypes.Contains(fullName))
     {
         return(Util.FirstCharUpper(fullName));
     }
     else if (EnumWrap.IsEnum(fullName))
     {
         return("Int");
     }
     else if (ClassWrap.IsClass(fullName))
     {
         var cls = ClassWrap.Classes[fullName];
         if (isDynamic)
         {
             return(GetDynamicName(cls));
         }
         else
         {
             return(Setting.ModuleName + GetFormatFullName(cls.FullName));
         }
     }
     else
     {
         return("unknow:" + fullName);
     }
 }
Example #2
0
        /// <summary>
        /// 仅用于静态语言
        /// </summary>
        public static string CorrectConst(string type, string value)
        {
            switch (type)
            {
            case Setting.BOOL:
                value = value.ToLower();
                break;

            case Setting.FLOAT:
                value = string.Format("{0}f", value);
                break;

            case Setting.STRING:
                value = string.Format("@\"{0}\"", value);
                break;

            default:
                if (EnumWrap.IsEnum(type))
                {
                    string fullType = CorrectFullType(type);
                    string enumName = EnumWrap.Enums[type].GetEnumName(value);
                    enumName = enumName.IsEmpty() ? value : enumName;
                    value    = string.Format("{0}.{1}", fullType, enumName);
                }
                break;
            }
            return(value);
        }
Example #3
0
        public FEnum(FClass host, FieldWrap define, ImportExcel excel) : base(host, define)
        {
            EnumWrap info = EnumWrap.Enums[define.OriginalType];
            string   name = excel.GetEnum();

            EnumName = info.GetEnumName(name);
            EnumName = EnumName.IsEmpty() ? name : EnumName;
            Value    = info.GetEnumValue(EnumName);

            if (!info.ContainItem(name))
            {
                excel.Error($"未定义枚举(名称/别名){define.FullName}.{name}   !");
            }
        }
Example #4
0
 static void GenEnum(StringBuilder builder, EnumWrap enm)
 {
     builder.AppendLine($"/** {enm.Desc} */")
     .AppendLine($"export enum {CorrectNamespace(enm.Name)}{{");
     foreach (var item in enm.Values)
     {
         var alias = enm.Items[item.Key].Alias;
         if (!alias.IsEmpty())
         {
             builder.Space().AppendLine($"/**{alias}*/");
         }
         builder.Space().AppendLine($"{item.Key} = {item.Value},");
     }
     builder.AppendLine("}");
 }
Example #5
0
        static List <string> LinkModules(ClassWrap cls)
        {
            var list = new List <string>();

            list.AddRange(cls.Consts.Where(c => EnumWrap.IsEnum(c.FullName))
                          .Where(c => c.FullName.IndexOf(cls.Namespace) != 0)
                          .Select(c => EnumWrap.Enums[c.FullName].Namespace));
            list.AddRange(cls.Fields.Where(f => f.IsEnum)
                          .Where(f => f.FullName.IndexOf(cls.Namespace) != 0)
                          .Select(c => EnumWrap.Enums[c.FullName].Namespace));
            list.AddRange(cls.Fields.Where(f => f.IsClass)
                          .Where(f => f.FullName.IndexOf(cls.Namespace) != 0)
                          .Select(c => ClassWrap.Classes[c.FullName].Namespace));
            return(list);
        }
Example #6
0
        static void GenEnum()
        {
            List <EnumWrap> enms = EnumWrap.GetExports();

            for (int i = 0; i < enms.Count; i++)
            {
                EnumWrap en = enms[i];

                //命名空间
                builder.AppendLine(string.Join("\r\n", namespaces));
                builder.AppendLine($"namespace {Setting.ModuleName}.{en.Namespace}");
                Start(0);
                {
                    //枚举
                    Comment(en.Desc, TYPE_LEVEL);
                    if (en.IsFlags)
                    {
                        builder.Space(TYPE_LEVEL).AppendLine($"[System.Flags]");
                    }
                    builder.Space(TYPE_LEVEL).AppendLine($"public enum {en.Name}");
                    Start(TYPE_LEVEL);
                    {
                        foreach (var item in en.Values)
                        {
                            var alias = en.Items[item.Key].Alias;
                            if (!alias.IsEmpty())
                            {
                                Comment(alias, MEM_LEVEL);
                            }
                            builder.Space(MEM_LEVEL);
                            builder.AppendLine($"{item.Key} = {item.Value},");
                        }
                    }
                    End(TYPE_LEVEL);
                }
                End(0);
                string path = Path.Combine(Setting.CSDir, en.Namespace.Replace(Setting.DotSplit[0], '/'), $"{en.Name}.cs");
                Util.SaveFile(path, builder.ToString());
                builder.Clear();
            }
        }
Example #7
0
        /// <summary>
        /// 数据结构
        /// </summary>
        static void GenDataStruct(StringBuilder builder, ClassWrap cls)
        {
            string extends = cls.Inherit.IsEmpty() ? " " : $" extends {CorrectNamespace(cls.Inherit)} ";

            builder.AppendLine($"/** {cls.Desc} */")
            .AppendLine($"export class {cls.Name}{extends}{{");
            for (int j = 0; j < cls.Consts.Count; j++)
            {
                ConstWrap cst = cls.Consts[j];
                if (!Util.MatchGroups(cst.Group))
                {
                    continue;
                }
                string value = cst.Value;
                switch (cst.FullName)
                {
                case Setting.BOOL:
                    value = value.ToLower();
                    break;

                case Setting.STRING:
                    value = string.Format("'{0}'", value);
                    break;

                default:
                    if (EnumWrap.IsEnum(cst.FullName))
                    {
                        string enumName = EnumWrap.Enums[cst.FullName].GetEnumName(value);
                        enumName = enumName.IsEmpty() ? value : enumName;
                        value    = string.Format("{0}.{1}", CorrectNamespace(cst.FullName), enumName);
                    }
                    break;
                }
                builder.Space().AppendLine($"/** {cst.Desc} */")
                .Space().AppendLine($"static readonly {cst.Name} = {value};");
            }
            foreach (var item in cls.Fields)
            {
                builder.Space().AppendLine($"/** {item.Desc} */")
                .Space().AppendLine($"readonly {item.Name}: {GetType(item)};");
            }
            builder.Space().AppendLine("constructor(o: any) {");
            if (!cls.Inherit.IsEmpty())
            {
                builder.Space(2).AppendLine("super(o);");
            }
            foreach (var item in cls.Fields)
            {
                builder.Space(2).AppendLine($"this.{item.Name} = {GetDefineName(item)};");
            }
            builder.Space().AppendLine("}")
            .AppendLine("}");

            if (cls.IsDynamic())
            {
                builder.AppendLine($"Object.defineProperty(Stream.prototype, 'Get{GetDefineName(cls.FullName)}', {{")
                .Space().AppendLine("value: function (this: any) { return this[`Get${this.GetString().replace(/[\\.]+/g, '')}`](); },")
                .Space().AppendLine("writable: false,")
                .AppendLine("});");
            }
            builder.AppendLine($"Object.defineProperty(Stream.prototype, 'Get{GetDefineName(cls.FullName, false)}', {{")
            .Space().AppendLine($"value: function(this: any) {{ return new {cls.Name}(this); }},")
            .Space().AppendLine("writable: false,")
            .AppendLine("});");
        }
Example #8
0
 public static void Bind(IntPtr L)
 {
     objectWrap.Register(L);
     ObjectWrap.Register(L);
     TypeWrap.Register(L);
     DelegateWrap.Register(L);
     IEnumeratorWrap.Register(L);
     EnumWrap.Register(L);
     StringWrap.Register(L);
     MsgPacketWrap.Register(L);
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     GameObjectWrap.Register(L);
     GTLibWrap.Register(L);
     IAssetManagerWrap.Register(L);
     IGameManagerWrap.Register(L);
     INetManagerWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     LoggerWrap.Register(L);
     LuaHelperWrap.Register(L);
     LuaMessageTransmitterWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MessageTransmitterWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     MPObjectWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     PhysicsWrap.Register(L);
     PlaneWrap.Register(L);
     PlayModeWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ScreenWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     UIEventListenerWrap.Register(L);
     UIGridWrap.Register(L);
     UILabelWrap.Register(L);
     UIPanelWrap.Register(L);
     UtilWrap.Register(L);
 }
Example #9
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break;

        case "AnimationClipWrap": AnimationClipWrap.Register(L); break;

        case "AnimationStateWrap": AnimationStateWrap.Register(L); break;

        case "AnimationWrap": AnimationWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "AssetBundleWrap": AssetBundleWrap.Register(L); break;

        case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break;

        case "AudioClipWrap": AudioClipWrap.Register(L); break;

        case "AudioSourceWrap": AudioSourceWrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "DebuggerWrap": DebuggerWrap.Register(L); break;

        case "DelegateFactoryWrap": DelegateFactoryWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "EventDelegateWrap": EventDelegateWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "KeyCodeWrap": KeyCodeWrap.Register(L); break;

        case "LightTypeWrap": LightTypeWrap.Register(L); break;

        case "LightWrap": LightWrap.Register(L); break;

        case "LuaEnumTypeWrap": LuaEnumTypeWrap.Register(L); break;

        case "MaterialWrap": MaterialWrap.Register(L); break;

        case "MeshColliderWrap": MeshColliderWrap.Register(L); break;

        case "MeshRendererWrap": MeshRendererWrap.Register(L); break;

        case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break;

        case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break;

        case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break;

        case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break;

        case "PhysicsWrap": PhysicsWrap.Register(L); break;

        case "PlayModeWrap": PlayModeWrap.Register(L); break;

        case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.Register(L); break;

        case "RendererWrap": RendererWrap.Register(L); break;

        case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break;

        case "RenderTextureWrap": RenderTextureWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "SimpleFramework_AppConstWrap": SimpleFramework_AppConstWrap.Register(L); break;

        case "SimpleFramework_ByteBufferWrap": SimpleFramework_ByteBufferWrap.Register(L); break;

        case "SimpleFramework_LuaBehaviourWrap": SimpleFramework_LuaBehaviourWrap.Register(L); break;

        case "SimpleFramework_LuaHelperWrap": SimpleFramework_LuaHelperWrap.Register(L); break;

        case "SimpleFramework_Manager_MusicManagerWrap": SimpleFramework_Manager_MusicManagerWrap.Register(L); break;

        case "SimpleFramework_Manager_NetworkManagerWrap": SimpleFramework_Manager_NetworkManagerWrap.Register(L); break;

        case "SimpleFramework_Manager_PanelManagerWrap": SimpleFramework_Manager_PanelManagerWrap.Register(L); break;

        case "SimpleFramework_Manager_ResourceManagerWrap": SimpleFramework_Manager_ResourceManagerWrap.Register(L); break;

        case "SimpleFramework_Manager_TimerManagerWrap": SimpleFramework_Manager_TimerManagerWrap.Register(L); break;

        case "SimpleFramework_UtilWrap": SimpleFramework_UtilWrap.Register(L); break;

        case "SimpleFramework_WrapGridWrap": SimpleFramework_WrapGridWrap.Register(L); break;

        case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break;

        case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break;

        case "SpaceWrap": SpaceWrap.Register(L); break;

        case "SphereColliderWrap": SphereColliderWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "TestDelegateListenerWrap": TestDelegateListenerWrap.Register(L); break;

        case "TestEventListenerWrap": TestEventListenerWrap.Register(L); break;

        case "TestLuaDelegateWrap": TestLuaDelegateWrap.Register(L); break;

        case "TextureWrap": TextureWrap.Register(L); break;

        case "TimeWrap": TimeWrap.Register(L); break;

        case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break;

        case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UIButtonWrap": UIButtonWrap.Register(L); break;

        case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break;

        case "UIGridWrap": UIGridWrap.Register(L); break;

        case "UILabelWrap": UILabelWrap.Register(L); break;

        case "UIPanelWrap": UIPanelWrap.Register(L); break;

        case "UIRectWrap": UIRectWrap.Register(L); break;

        case "UITweener_StyleWrap": UITweener_StyleWrap.Register(L); break;

        case "UIWidgetContainerWrap": UIWidgetContainerWrap.Register(L); break;

        case "UIWidgetWrap": UIWidgetWrap.Register(L); break;

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
Example #10
0
    public static void Bind(IntPtr L)
    {
        objectWrap.Register(L);
        ObjectWrap.Register(L);
        TypeWrap.Register(L);
        DelegateWrap.Register(L);
        IEnumeratorWrap.Register(L);
        EnumWrap.Register(L);
        StringWrap.Register(L);
        MsgPacketWrap.Register(L);

        DebuggerWrap.Register(L);

        float time = Time.realtimeSinceStartup;

        //u3d
        ComponentWrap.Register(L);
        BehaviourWrap.Register(L);
        MonoBehaviourWrap.Register(L);
        GameObjectWrap.Register(L);
        TransformWrap.Register(L);
        SpaceWrap.Register(L);

        CameraWrap.Register(L);
        CameraClearFlagsWrap.Register(L);
        MaterialWrap.Register(L);
        RendererWrap.Register(L);
        MeshRendererWrap.Register(L);
        SkinnedMeshRendererWrap.Register(L);
        LightTypeWrap.Register(L);
        LightWrap.Register(L);
        ParticleAnimatorWrap.Register(L);
        ParticleEmitterWrap.Register(L);
        ParticleRendererWrap.Register(L);

        PhysicsWrap.Register(L);
        ColliderWrap.Register(L);
        BoxColliderWrap.Register(L);
        MeshColliderWrap.Register(L);
        SphereColliderWrap.Register(L);
        CharacterControllerWrap.Register(L);

        AnimationWrap.Register(L);
        AnimationClipWrap.Register(L);
        TrackedReferenceWrap.Register(L);
        AnimationStateWrap.Register(L);
        QueueModeWrap.Register(L);                                  //for animation
        PlayModeWrap.Register(L);
        AnimationBlendModeWrap.Register(L);

        AudioSourceWrap.Register(L);
        AudioClipWrap.Register(L);

        ApplicationWrap.Register(L);
        InputWrap.Register(L);
        KeyCodeWrap.Register(L);
        TouchPhaseWrap.Register(L);
        TimeWrap.Register(L);
        ScreenWrap.Register(L);
        RenderSettingsWrap.Register(L);
        SleepTimeoutWrap.Register(L);

        AsyncOperationWrap.Register(L);
        AssetBundleWrap.Register(L);

        QualitySettingsWrap.Register(L);
        BlendWeightsWrap.Register(L);
        RenderTextureWrap.Register(L);

        Debugger.Log("bind u3d to lua cost:" + (Time.realtimeSinceStartup - time).ToString());
    }
Example #11
0
        /// <summary>
        /// 数据结构定义
        /// </summary>
        private static void GenDataStruct()
        {
            StringBuilder builder = new StringBuilder();

            builder.AppendLine("local Stream = require(\"Common.DataStream\")");
            builder.AppendLine("local GetOrCreate = Util.GetOrCreate");
            builder.AppendLine();
            builder.AppendLine("local meta");

            var cit = ClassWrap.Classes.GetEnumerator();

            while (cit.MoveNext())
            {
                var cls      = cit.Current.Value;
                var fullType = Util.CorrectFullType(cls.FullName);
                builder.AppendLine("meta= {}");
                builder.AppendLine("meta.__index = meta");
                builder.AppendFormat("meta.__cname = '{0}'\n", fullType);

                //--常量字段
                for (int j = 0; j < cls.Consts.Count; j++)
                {
                    ConstWrap constant = cls.Consts[j];
                    if (!Util.MatchGroups(constant.Group))
                    {
                        continue;
                    }

                    string value = constant.Value;
                    switch (constant.FullName)
                    {
                    case Setting.BOOL:
                        value = value.ToLower();
                        break;

                    case Setting.STRING:
                        value = string.Format("'{0}'", value);
                        break;

                    default:
                        if (EnumWrap.IsEnum(constant.FullName))
                        {
                            value = EnumWrap.Enums[constant.FullName].GetValue(constant.Value);
                        }
                        break;
                    }
                    builder.AppendFormat("meta.{0} = {1}\n", constant.Name, value);
                }

                builder.AppendFormat("GetOrCreate('{0}.{1}')['{2}'] = meta\n", Setting.ModuleName, cls.Namespace, cls.Name);
                string funcName = fullType.Replace(".", "");
                if (cls.IsDynamic())
                {
                    builder.AppendFormat("function Stream:Get{0}Maker()\n", funcName);
                    builder.Space().AppendFormat("return self['Get' .. self:GetString():gsub('%.', '')](self)\n");
                    builder.AppendFormat("end\n");
                }
                builder.AppendFormat("function Stream:Get{0}()\n", funcName);
                if (!cls.Inherit.IsEmpty())
                {
                    builder.Space().AppendFormat("local o = self:Get{0}()\n", Util.CorrectFullType(cls.Inherit).Replace(".", ""));
                }
                else
                {
                    builder.Space().AppendFormat("local o = {{}}\n");
                }
                builder.Space().AppendFormat("setmetatable(o, {0})\n", fullType);

                //--普通字段
                for (int j = 0; j < cls.Fields.Count; j++)
                {
                    FieldWrap field = cls.Fields[j];
                    if (!Util.MatchGroups(field.Group))
                    {
                        continue;
                    }

                    if (field.IsRaw)
                    {
                        builder.Space().AppendFormat("o.{0} = self:Get{1}()\n", field.Name, field.OriginalType.FirstCharUpper());
                    }
                    else if (field.IsEnum)
                    {
                        builder.Space().AppendFormat("o.{0} = self:GetInt()\n", field.Name);
                    }
                    else if (field.IsClass)
                    {
                        if (field.IsDynamic)
                        {
                            builder.Space().AppendFormat("o.{0} = self:Get{1}Maker()\n", field.Name, Util.CorrectFullType(field.OriginalType).Replace(".", ""));
                        }
                        else
                        {
                            builder.Space().AppendFormat("o.{0} = self:Get{1}()\n", field.Name, Util.CorrectFullType(field.OriginalType).Replace(".", ""));
                        }
                    }
                    else if (field.IsContainer)
                    {
                        if (field.OriginalType == Setting.LIST)
                        {
                            var    item  = field.GetItemDefine();
                            string index = Util.CorrectFullType(item.OriginalType).Replace(".", "").FirstCharUpper();
                            if (item.IsClass && item.IsDynamic)
                            {
                                index += "Maker";
                            }
                            builder.Space().AppendFormat("o.{0} = self:GetList('{1}')\n", field.Name, index);
                        }
                        else if (field.OriginalType == Setting.DICT)
                        {
                            var    k   = field.GetKeyDefine();
                            string key = k.OriginalType.FirstCharUpper();
                            if (k.IsEnum)
                            {
                                key = "Int";
                            }
                            var    v     = field.GetValueDefine();
                            string value = Util.CorrectFullType(v.OriginalType).Replace(".", "").FirstCharUpper();
                            if (v.IsClass && v.IsDynamic)
                            {
                                value += "Maker";
                            }
                            else if (v.IsEnum)
                            {
                                value = "Int";
                            }
                            builder.Space().AppendFormat("o.{0} = self:GetDict('{1}', '{2}')\n", field.Name, key, value);
                        }
                    }
                }
                builder.Space().AppendFormat("return o\n");
                builder.AppendFormat("end\n");
            }

            var eit = EnumWrap.Enums.GetEnumerator();

            while (eit.MoveNext())
            {
                EnumWrap en = eit.Current.Value;
                builder.AppendFormat("GetOrCreate('{0}.{1}')['{2}'] = {{\n", Setting.ModuleName, en.Namespace, en.Name);
                foreach (var item in en.Values)
                {
                    builder.Space().AppendFormat("{0} = {1},\n", item.Key, item.Value);
                }
                builder.AppendLine("}");
            }
            builder.AppendLine("return Stream");
            string path = Path.Combine(Setting.LuaDir, DATA_STRUCT + ".lua");

            Util.SaveFile(path, builder.ToString());
        }
Example #12
0
 public static void Bind(IntPtr L, string type = null)
 {
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     AppConstWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateFactoryWrap.Register(L);
     DelegateWrap.Register(L);
     EnumWrap.Register(L);
     GameObjectWrap.Register(L);
     IEnumeratorWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     LuaEnumTypeWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     ObjectWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayModeWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ScreenWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     stringWrap.Register(L);
     System_ObjectWrap.Register(L);
     TestDelegateListenerWrap.Register(L);
     TestEventListenerWrap.Register(L);
     TestLuaDelegateWrap.Register(L);
     TextureWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     TypeWrap.Register(L);
     UtilWrap.Register(L);
     WWWWrap.Register(L);
 }
Example #13
0
 public static void Bind(IntPtr L, string type = null)
 {
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     AppConstWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AssetInfoWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     AutomicIntWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     ButtonWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraMgrWrap.Register(L);
     CameraWrap.Register(L);
     CanvasWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     Constans_SkillTargetWrap.Register(L);
     Constans_SkillTypeWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateFactoryWrap.Register(L);
     DelegateWrap.Register(L);
     DropdownWrap.Register(L);
     EnumWrap.Register(L);
     ErrorManagerWrap.Register(L);
     ErrorModelWrap.Register(L);
     EventDefWrap.Register(L);
     FightUnitMgrWrap.Register(L);
     GameDataWrap.Register(L);
     GameObjectWrap.Register(L);
     IEnumeratorWrap.Register(L);
     ImageWrap.Register(L);
     InputFieldWrap.Register(L);
     InputManagerWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     LuaEnumTypeWrap.Register(L);
     MapUtilsWrap.Register(L);
     MaskWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     MultipleTimeLengthButtonTriggerWrap.Register(L);
     MusicManagerWrap.Register(L);
     NetWorkScriptWrap.Register(L);
     ObjectWrap.Register(L);
     OneByOne_AccountDTOWrap.Register(L);
     OneByOne_AttackDTOWrap.Register(L);
     OneByOne_DamageDTOWrap.Register(L);
     OneByOne_FightBuildModelWrap.Register(L);
     OneByOne_FightPlayerModelWrap.Register(L);
     OneByOne_FightProtocolWrap.Register(L);
     OneByOne_FightRoomModelWrap.Register(L);
     OneByOne_FightSkillWrap.Register(L);
     OneByOne_FightSoldierModelWrap.Register(L);
     OneByOne_LoginProtocolWrap.Register(L);
     OneByOne_MatchProtocolWrap.Register(L);
     OneByOne_MoveDTOWrap.Register(L);
     OneByOne_ProtocolWrap.Register(L);
     OneByOne_SelectModelWrap.Register(L);
     OneByOne_SelectProtocolWrap.Register(L);
     OneByOne_SelectRoomDTOWrap.Register(L);
     OneByOne_UserDTOWrap.Register(L);
     OneByOne_UserProtocolWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayerBehaviourFacadeWrap.Register(L);
     PlayerControllerWrap.Register(L);
     PlayerPrefsWrap.Register(L);
     PlayModeWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RawImageWrap.Register(L);
     RectMask2DWrap.Register(L);
     RectTransformWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ResourceLoaderWrap.Register(L);
     SceneLoaderWrap.Register(L);
     ScreenWrap.Register(L);
     ScrollbarWrap.Register(L);
     ScrollRectWrap.Register(L);
     SelectableWrap.Register(L);
     SkillButtonWrap.Register(L);
     SkillTipSingletonWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SliderWrap.Register(L);
     SocketModelWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     SpriteWrap.Register(L);
     stringWrap.Register(L);
     System_ObjectWrap.Register(L);
     TestDelegateListenerWrap.Register(L);
     TestEventListenerWrap.Register(L);
     TestLuaDelegateWrap.Register(L);
     TextureWrap.Register(L);
     TextWrap.Register(L);
     TimeWrap.Register(L);
     ToggleGroupWrap.Register(L);
     ToggleWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformFinderWrap.Register(L);
     TransformWrap.Register(L);
     TransUtilsWrap.Register(L);
     TypeWrap.Register(L);
     UIutilsWrap.Register(L);
     UnityEngine_SceneManagement_SceneManagerWrap.Register(L);
     UtilWrap.Register(L);
     WWWWrap.Register(L);
 }
Example #14
0
 public static void Bind(IntPtr L)
 {
     objectWrap.Register(L);
     ObjectWrap.Register(L);
     TypeWrap.Register(L);
     DelegateWrap.Register(L);
     IEnumeratorWrap.Register(L);
     EnumWrap.Register(L);
     StringWrap.Register(L);
     MsgPacketWrap.Register(L);
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     AnimatorWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioListenerWrap.Register(L);
     AudioManagerWrap.Register(L);
     AudioSourceWrap.Register(L);
     BaseLuaWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     ButtonWrap.Register(L);
     ByteBufferWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CanvasWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     DebuggerWrap.Register(L);
     DictionaryStr2StrWrap.Register(L);
     GameAudioWrap.Register(L);
     GameLogicWrap.Register(L);
     GameObjectWrap.Register(L);
     GraphicWrap.Register(L);
     ImageWrap.Register(L);
     InputFieldWrap.Register(L);
     InputWrap.Register(L);
     iooWrap.Register(L);
     KeyCodeWrap.Register(L);
     LayerMaskWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     ListStringWrap.Register(L);
     LoadSceneMgrWrap.Register(L);
     LuaHelperWrap.Register(L);
     MaskableGraphicWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     NavMeshAgentWrap.Register(L);
     NavMeshHitWrap.Register(L);
     NavMeshPathStatusWrap.Register(L);
     NavMeshPathWrap.Register(L);
     NavMeshWrap.Register(L);
     NetworkManagerWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PhysicsWrap.Register(L);
     PlaneWrap.Register(L);
     PlayModeWrap.Register(L);
     PointerEventDataWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RaycastHitWrap.Register(L);
     RectTransformWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ResourceManagerWrap.Register(L);
     ScreenWrap.Register(L);
     ScrollRectWrap.Register(L);
     SelectableWrap.Register(L);
     SimplePoolWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     SpriteWrap.Register(L);
     Texture2DWrap.Register(L);
     TextureWrap.Register(L);
     TextWrap.Register(L);
     TimerManagerWrap.Register(L);
     TimeWrap.Register(L);
     ToggleWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     UIAnimCtrlWrap.Register(L);
     UIBehaviourWrap.Register(L);
     UIEventListenerWrap.Register(L);
     UIFollowTargetWrap.Register(L);
     UILayerContainerTypeWrap.Register(L);
     UIProgressWrap.Register(L);
     UISpriteChangeWrap.Register(L);
     UISpriteStateWrap.Register(L);
     UITabsControlWrap.Register(L);
     UITimeDestoryWrap.Register(L);
     UtilCommonWrap.Register(L);
     UtilMathWrap.Register(L);
     UtilWrap.Register(L);
     WWWWrap.Register(L);
 }
Example #15
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || LuaBinder.wrapList.Contains(type))
        {
            return;
        }
        LuaBinder.wrapList.Add(type);
        type += "Wrap";
        string text = type;

        switch (text)
        {
        case "AnimationBlendModeWrap":
            AnimationBlendModeWrap.Register(L);
            break;

        case "AnimationClipWrap":
            AnimationClipWrap.Register(L);
            break;

        case "AnimationStateWrap":
            AnimationStateWrap.Register(L);
            break;

        case "AnimationWrap":
            AnimationWrap.Register(L);
            break;

        case "AppConstWrap":
            AppConstWrap.Register(L);
            break;

        case "ApplicationWrap":
            ApplicationWrap.Register(L);
            break;

        case "AssetBundleWrap":
            AssetBundleWrap.Register(L);
            break;

        case "AsyncOperationWrap":
            AsyncOperationWrap.Register(L);
            break;

        case "BehaviourWrap":
            BehaviourWrap.Register(L);
            break;

        case "BlendWeightsWrap":
            BlendWeightsWrap.Register(L);
            break;

        case "BoxColliderWrap":
            BoxColliderWrap.Register(L);
            break;

        case "CameraWrap":
            CameraWrap.Register(L);
            break;

        case "CharacterControllerWrap":
            CharacterControllerWrap.Register(L);
            break;

        case "ColliderWrap":
            ColliderWrap.Register(L);
            break;

        case "ComponentWrap":
            ComponentWrap.Register(L);
            break;

        case "DebuggerWrap":
            DebuggerWrap.Register(L);
            break;

        case "DelegateFactoryWrap":
            DelegateFactoryWrap.Register(L);
            break;

        case "DelegateWrap":
            DelegateWrap.Register(L);
            break;

        case "DelManagerWrap":
            DelManagerWrap.Register(L);
            break;

        case "EnumWrap":
            EnumWrap.Register(L);
            break;

        case "EventDelegateWrap":
            EventDelegateWrap.Register(L);
            break;

        case "GameObjectWrap":
            GameObjectWrap.Register(L);
            break;

        case "HotfixManagerWrap":
            HotfixManagerWrap.Register(L);
            break;

        case "HotfixWrap":
            HotfixWrap.Register(L);
            break;

        case "IEnumeratorWrap":
            IEnumeratorWrap.Register(L);
            break;

        case "InputWrap":
            InputWrap.Register(L);
            break;

        case "KeyCodeWrap":
            KeyCodeWrap.Register(L);
            break;

        case "LocalizationWrap":
            LocalizationWrap.Register(L);
            break;

        case "LuaDlgWrap":
            LuaDlgWrap.Register(L);
            break;

        case "LuaEngineWrap":
            LuaEngineWrap.Register(L);
            break;

        case "LuaEnumTypeWrap":
            LuaEnumTypeWrap.Register(L);
            break;

        case "LuaGameInfoWrap":
            LuaGameInfoWrap.Register(L);
            break;

        case "LuaStringBufferWrap":
            LuaStringBufferWrap.Register(L);
            break;

        case "LuaUIManagerWrap":
            LuaUIManagerWrap.Register(L);
            break;

        case "MaterialWrap":
            MaterialWrap.Register(L);
            break;

        case "MeshColliderWrap":
            MeshColliderWrap.Register(L);
            break;

        case "MeshRendererWrap":
            MeshRendererWrap.Register(L);
            break;

        case "MonoBehaviourWrap":
            MonoBehaviourWrap.Register(L);
            break;

        case "NGUIToolsWrap":
            NGUIToolsWrap.Register(L);
            break;

        case "ObjectWrap":
            ObjectWrap.Register(L);
            break;

        case "ParticleSystemWrap":
            ParticleSystemWrap.Register(L);
            break;

        case "PhysicsWrap":
            PhysicsWrap.Register(L);
            break;

        case "PrivateExtensionsWrap":
            PrivateExtensionsWrap.Register(L);
            break;

        case "PublicExtensionsWrap":
            PublicExtensionsWrap.Register(L);
            break;

        case "RendererWrap":
            RendererWrap.Register(L);
            break;

        case "RenderSettingsWrap":
            RenderSettingsWrap.Register(L);
            break;

        case "RenderTextureWrap":
            RenderTextureWrap.Register(L);
            break;

        case "ScreenWrap":
            ScreenWrap.Register(L);
            break;

        case "SkinnedMeshRendererWrap":
            SkinnedMeshRendererWrap.Register(L);
            break;

        case "SleepTimeoutWrap":
            SleepTimeoutWrap.Register(L);
            break;

        case "SphereColliderWrap":
            SphereColliderWrap.Register(L);
            break;

        case "stringWrap":
            stringWrap.Register(L);
            break;

        case "System_IO_BinaryReaderWrap":
            System_IO_BinaryReaderWrap.Register(L);
            break;

        case "System_ObjectWrap":
            System_ObjectWrap.Register(L);
            break;

        case "TestProtolWrap":
            TestProtolWrap.Register(L);
            break;

        case "TextureWrap":
            TextureWrap.Register(L);
            break;

        case "TimeWrap":
            TimeWrap.Register(L);
            break;

        case "TouchPhaseWrap":
            TouchPhaseWrap.Register(L);
            break;

        case "TransformWrap":
            TransformWrap.Register(L);
            break;

        case "TweenPositionWrap":
            TweenPositionWrap.Register(L);
            break;

        case "TweenRotationWrap":
            TweenRotationWrap.Register(L);
            break;

        case "TweenScaleWrap":
            TweenScaleWrap.Register(L);
            break;

        case "TweenWidthWrap":
            TweenWidthWrap.Register(L);
            break;

        case "TypeWrap":
            TypeWrap.Register(L);
            break;

        case "UIAtlasWrap":
            UIAtlasWrap.Register(L);
            break;

        case "UIButtonColorWrap":
            UIButtonColorWrap.Register(L);
            break;

        case "UIButtonWrap":
            UIButtonWrap.Register(L);
            break;

        case "UICameraWrap":
            UICameraWrap.Register(L);
            break;

        case "UICenterOnChildWrap":
            UICenterOnChildWrap.Register(L);
            break;

        case "UIDummyWrap":
            UIDummyWrap.Register(L);
            break;

        case "UIEventListenerWrap":
            UIEventListenerWrap.Register(L);
            break;

        case "UIGridWrap":
            UIGridWrap.Register(L);
            break;

        case "UIInputWrap":
            UIInputWrap.Register(L);
            break;

        case "UILabelWrap":
            UILabelWrap.Register(L);
            break;

        case "UIPlayTweenWrap":
            UIPlayTweenWrap.Register(L);
            break;

        case "UIProgressBarWrap":
            UIProgressBarWrap.Register(L);
            break;

        case "UIRectWrap":
            UIRectWrap.Register(L);
            break;

        case "UIScrollViewWrap":
            UIScrollViewWrap.Register(L);
            break;

        case "UISliderWrap":
            UISliderWrap.Register(L);
            break;

        case "UISpriteWrap":
            UISpriteWrap.Register(L);
            break;

        case "UITableWrap":
            UITableWrap.Register(L);
            break;

        case "UITextureWrap":
            UITextureWrap.Register(L);
            break;

        case "UIToggleWrap":
            UIToggleWrap.Register(L);
            break;

        case "UITweenerWrap":
            UITweenerWrap.Register(L);
            break;

        case "UIWidgetContainerWrap":
            UIWidgetContainerWrap.Register(L);
            break;

        case "UIWidgetWrap":
            UIWidgetWrap.Register(L);
            break;

        case "UtilWrap":
            UtilWrap.Register(L);
            break;

        case "WWWWrap":
            WWWWrap.Register(L);
            break;

        case "XUtliPoolLib_XLuaLongWrap":
            XUtliPoolLib_XLuaLongWrap.Register(L);
            break;
        }
    }
        public static void Bind(IntPtr L, string type = null)
        {
            if (type == null || LuaBinder.wrapList.Contains(type))
            {
                return;
            }
            LuaBinder.wrapList.Add(type);
            type += "Wrap";
            string text  = type;
            string text2 = text;

            if (text2 != null)
            {
                if (LuaBinder.< > f__switch$map4 == null)
                {
                    Dictionary <string, int> dictionary = new Dictionary <string, int>(22);
                    dictionary.Add("BehaviourWrap", 0);
                    dictionary.Add("ComponentWrap", 1);
                    dictionary.Add("com_tencent_pandora_CSharpInterfaceWrap", 2);
                    dictionary.Add("com_tencent_pandora_DelegateFactoryWrap", 3);
                    dictionary.Add("com_tencent_pandora_LoggerWrap", 4);
                    dictionary.Add("com_tencent_pandora_UserDataWrap", 5);
                    dictionary.Add("EnumWrap", 6);
                    dictionary.Add("GameObjectWrap", 7);
                    dictionary.Add("IEnumeratorWrap", 8);
                    dictionary.Add("ImageWrap", 9);
                    dictionary.Add("MonoBehaviourWrap", 10);
                    dictionary.Add("ObjectWrap", 11);
                    dictionary.Add("RectWrap", 12);
                    dictionary.Add("stringWrap", 13);
                    dictionary.Add("System_ObjectWrap", 14);
                    dictionary.Add("TextureWrap", 15);
                    dictionary.Add("TimeWrap", 16);
                    dictionary.Add("TransformWrap", 17);
                    dictionary.Add("TypeWrap", 18);
                    dictionary.Add("Vector2Wrap", 19);
                    dictionary.Add("Vector3Wrap", 20);
                    dictionary.Add("WWWWrap", 21);
                    LuaBinder.< > f__switch$map4 = dictionary;
                }
                int num;
                if (LuaBinder.< > f__switch$map4.TryGetValue(text2, ref num))
                {
                    switch (num)
                    {
                    case 0:
                        BehaviourWrap.Register(L);
                        break;

                    case 1:
                        ComponentWrap.Register(L);
                        break;

                    case 2:
                        com_tencent_pandora_CSharpInterfaceWrap.Register(L);
                        break;

                    case 3:
                        com_tencent_pandora_DelegateFactoryWrap.Register(L);
                        break;

                    case 4:
                        com_tencent_pandora_LoggerWrap.Register(L);
                        break;

                    case 5:
                        com_tencent_pandora_UserDataWrap.Register(L);
                        break;

                    case 6:
                        EnumWrap.Register(L);
                        break;

                    case 7:
                        GameObjectWrap.Register(L);
                        break;

                    case 8:
                        IEnumeratorWrap.Register(L);
                        break;

                    case 9:
                        ImageWrap.Register(L);
                        break;

                    case 10:
                        MonoBehaviourWrap.Register(L);
                        break;

                    case 11:
                        ObjectWrap.Register(L);
                        break;

                    case 12:
                        RectWrap.Register(L);
                        break;

                    case 13:
                        stringWrap.Register(L);
                        break;

                    case 14:
                        System_ObjectWrap.Register(L);
                        break;

                    case 15:
                        TextureWrap.Register(L);
                        break;

                    case 16:
                        TimeWrap.Register(L);
                        break;

                    case 17:
                        TransformWrap.Register(L);
                        break;

                    case 18:
                        TypeWrap.Register(L);
                        break;

                    case 19:
                        Vector2Wrap.Register(L);
                        break;

                    case 20:
                        Vector3Wrap.Register(L);
                        break;

                    case 21:
                        WWWWrap.Register(L);
                        break;
                    }
                }
            }
        }
Example #17
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break;

        case "AnimationClipWrap": AnimationClipWrap.Register(L); break;

        case "AnimationStateWrap": AnimationStateWrap.Register(L); break;

        case "AnimatorWrap": AnimatorWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "AssetBundleWrap": AssetBundleWrap.Register(L); break;

        case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break;

        case "AudioClipWrap": AudioClipWrap.Register(L); break;

        case "AudioSourceWrap": AudioSourceWrap.Register(L); break;

        case "BaseLuaWrap": BaseLuaWrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "ButtonWrap": ButtonWrap.Register(L); break;

        case "Button_ButtonClickedEventWrap": Button_ButtonClickedEventWrap.Register(L); break;

        case "ByteBufferWrap": ByteBufferWrap.Register(L); break;

        case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "DebuggerWrap": DebuggerWrap.Register(L); break;

        case "DelegateFactoryWrap": DelegateFactoryWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "DG_Tweening_DOTweenWrap": DG_Tweening_DOTweenWrap.Register(L); break;

        case "DG_Tweening_LoopTypeWrap": DG_Tweening_LoopTypeWrap.Register(L); break;

        case "DG_Tweening_RotateModeWrap": DG_Tweening_RotateModeWrap.Register(L); break;

        case "DG_Tweening_SequenceWrap": DG_Tweening_SequenceWrap.Register(L); break;

        case "DG_Tweening_TweenerWrap": DG_Tweening_TweenerWrap.Register(L); break;

        case "DG_Tweening_TweenWrap": DG_Tweening_TweenWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "GraphicWrap": GraphicWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "ImageWrap": ImageWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "IOLuaHelperWrap": IOLuaHelperWrap.Register(L); break;

        case "iooWrap": iooWrap.Register(L); break;

        case "KeyCodeWrap": KeyCodeWrap.Register(L); break;

        case "LightTypeWrap": LightTypeWrap.Register(L); break;

        case "LightWrap": LightWrap.Register(L); break;

        case "LuaHelperWrap": LuaHelperWrap.Register(L); break;

        case "MaskableGraphicWrap": MaskableGraphicWrap.Register(L); break;

        case "MaterialWrap": MaterialWrap.Register(L); break;

        case "MeshColliderWrap": MeshColliderWrap.Register(L); break;

        case "MeshRendererWrap": MeshRendererWrap.Register(L); break;

        case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break;

        case "NetworkManagerWrap": NetworkManagerWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break;

        case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break;

        case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break;

        case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break;

        case "PhysicsWrap": PhysicsWrap.Register(L); break;

        case "PlayModeWrap": PlayModeWrap.Register(L); break;

        case "PoolManagerWrap": PoolManagerWrap.Register(L); break;

        case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.Register(L); break;

        case "RectTransformUtilityWrap": RectTransformUtilityWrap.Register(L); break;

        case "RectTransformWrap": RectTransformWrap.Register(L); break;

        case "RendererWrap": RendererWrap.Register(L); break;

        case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break;

        case "RenderTextureWrap": RenderTextureWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break;

        case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break;

        case "SpaceWrap": SpaceWrap.Register(L); break;

        case "SphereColliderWrap": SphereColliderWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "TestDelegateListenerWrap": TestDelegateListenerWrap.Register(L); break;

        case "TestEventListenerWrap": TestEventListenerWrap.Register(L); break;

        case "TestLuaDelegateWrap": TestLuaDelegateWrap.Register(L); break;

        case "TextureWrap": TextureWrap.Register(L); break;

        case "TextWrap": TextWrap.Register(L); break;

        case "TimerManagerWrap": TimerManagerWrap.Register(L); break;

        case "TimeWrap": TimeWrap.Register(L); break;

        case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break;

        case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UIBehaviourWrap": UIBehaviourWrap.Register(L); break;

        case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break;

        case "UIFollowTargetWrap": UIFollowTargetWrap.Register(L); break;

        case "UIProgressWrap": UIProgressWrap.Register(L); break;

        case "UnityEngine_Events_UnityEventBaseWrap": UnityEngine_Events_UnityEventBaseWrap.Register(L); break;

        case "UnityEngine_Events_UnityEventWrap": UnityEngine_Events_UnityEventWrap.Register(L); break;

        case "UtilCommonWrap": UtilCommonWrap.Register(L); break;

        case "UtilMathWrap": UtilMathWrap.Register(L); break;

        case "UtilWrap": UtilWrap.Register(L); break;
        }
    }
Example #18
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break;

        case "AnimationClipWrap": AnimationClipWrap.Register(L); break;

        case "AnimationStateWrap": AnimationStateWrap.Register(L); break;

        case "AnimationWrap": AnimationWrap.Register(L); break;

        case "AppConstWrap": AppConstWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "AssetBundleWrap": AssetBundleWrap.Register(L); break;

        case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break;

        case "AudioClipWrap": AudioClipWrap.Register(L); break;

        case "AudioSourceWrap": AudioSourceWrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "DebuggerWrap": DebuggerWrap.Register(L); break;

        case "DelegateFactoryWrap": DelegateFactoryWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "KeyCodeWrap": KeyCodeWrap.Register(L); break;

        case "LightTypeWrap": LightTypeWrap.Register(L); break;

        case "LightWrap": LightWrap.Register(L); break;

        case "LocalizationWrap": LocalizationWrap.Register(L); break;

        case "LuaEnumTypeWrap": LuaEnumTypeWrap.Register(L); break;

        case "MaterialWrap": MaterialWrap.Register(L); break;

        case "MeshColliderWrap": MeshColliderWrap.Register(L); break;

        case "MeshRendererWrap": MeshRendererWrap.Register(L); break;

        case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break;

        case "NGUIToolsWrap": NGUIToolsWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break;

        case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break;

        case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break;

        case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break;

        case "PhysicsWrap": PhysicsWrap.Register(L); break;

        case "PlayModeWrap": PlayModeWrap.Register(L); break;

        case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.Register(L); break;

        case "RendererWrap": RendererWrap.Register(L); break;

        case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break;

        case "RenderTextureWrap": RenderTextureWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break;

        case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break;

        case "SpaceWrap": SpaceWrap.Register(L); break;

        case "SphereColliderWrap": SphereColliderWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "TestDelegateListenerWrap": TestDelegateListenerWrap.Register(L); break;

        case "TestEventListenerWrap": TestEventListenerWrap.Register(L); break;

        case "TestLuaDelegateWrap": TestLuaDelegateWrap.Register(L); break;

        case "TextureWrap": TextureWrap.Register(L); break;

        case "TimeWrap": TimeWrap.Register(L); break;

        case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break;

        case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TweenPositionWrap": TweenPositionWrap.Register(L); break;

        case "TweenRotationWrap": TweenRotationWrap.Register(L); break;

        case "TweenScaleWrap": TweenScaleWrap.Register(L); break;

        case "TweenWidthWrap": TweenWidthWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UIAtlasWrap": UIAtlasWrap.Register(L); break;

        case "UIBasicSpriteWrap": UIBasicSpriteWrap.Register(L); break;

        case "UIButtonWrap": UIButtonWrap.Register(L); break;

        case "UICameraWrap": UICameraWrap.Register(L); break;

        case "UICenterOnChildWrap": UICenterOnChildWrap.Register(L); break;

        case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break;

        case "UIGridWrap": UIGridWrap.Register(L); break;

        case "UIInputWrap": UIInputWrap.Register(L); break;

        case "UILabelWrap": UILabelWrap.Register(L); break;

        case "UIPanelWrap": UIPanelWrap.Register(L); break;

        case "UIProgressBarWrap": UIProgressBarWrap.Register(L); break;

        case "UIRectWrap": UIRectWrap.Register(L); break;

        case "UIScrollViewWrap": UIScrollViewWrap.Register(L); break;

        case "UISliderWrap": UISliderWrap.Register(L); break;

        case "UISpriteWrap": UISpriteWrap.Register(L); break;

        case "UITextureWrap": UITextureWrap.Register(L); break;

        case "UIToggleWrap": UIToggleWrap.Register(L); break;

        case "UITweenerWrap": UITweenerWrap.Register(L); break;

        case "UIWidgetContainerWrap": UIWidgetContainerWrap.Register(L); break;

        case "UIWidgetWrap": UIWidgetWrap.Register(L); break;

        case "UtilsWrap": UtilsWrap.Register(L); break;

        case "UtilWrap": UtilWrap.Register(L); break;

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
Example #19
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "ActivityConfigWrap": ActivityConfigWrap.Register(L); break;

        case "ActivityDataWrap": ActivityDataWrap.Register(L); break;

        case "AIConfigWrap": AIConfigWrap.Register(L); break;

        case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break;

        case "AnimationClipWrap": AnimationClipWrap.Register(L); break;

        case "AnimationRespWrap": AnimationRespWrap.Register(L); break;

        case "AnimationStateWrap": AnimationStateWrap.Register(L); break;

        case "AnimationWrap": AnimationWrap.Register(L); break;

        case "AnimatorStateInfoWrap": AnimatorStateInfoWrap.Register(L); break;

        case "AnimatorWrap": AnimatorWrap.Register(L); break;

        case "AnnouncementConfigWrap": AnnouncementConfigWrap.Register(L); break;

        case "AnnouncementItemWrap": AnnouncementItemWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "AssetBundleWrap": AssetBundleWrap.Register(L); break;

        case "AsyncItemWrap": AsyncItemWrap.Register(L); break;

        case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break;

        case "AttrDataWrap": AttrDataWrap.Register(L); break;

        case "AttributeTypeWrap": AttributeTypeWrap.Register(L); break;

        case "AttrNameConfigWrap": AttrNameConfigWrap.Register(L); break;

        case "AttrNameDataWrap": AttrNameDataWrap.Register(L); break;

        case "AudioClipWrap": AudioClipWrap.Register(L); break;

        case "AudioListenerWrap": AudioListenerWrap.Register(L); break;

        case "AudioManagerWrap": AudioManagerWrap.Register(L); break;

        case "AudioSourceWrap": AudioSourceWrap.Register(L); break;

        case "AwardConfigListWrap": AwardConfigListWrap.Register(L); break;

        case "AwardPackDataConfigWrap": AwardPackDataConfigWrap.Register(L); break;

        case "BadgeAttrBaseConfigWrap": BadgeAttrBaseConfigWrap.Register(L); break;

        case "BadgeAttrConfigDictionaryWrap": BadgeAttrConfigDictionaryWrap.Register(L); break;

        case "BadgeAttrConfigWrap": BadgeAttrConfigWrap.Register(L); break;

        case "BadgeBookListWrap": BadgeBookListWrap.Register(L); break;

        case "BadgeSlotBaseConfigDictionaryWrap": BadgeSlotBaseConfigDictionaryWrap.Register(L); break;

        case "BadgeSlotBaseConfigKeyValuePairWrap": BadgeSlotBaseConfigKeyValuePairWrap.Register(L); break;

        case "BadgeSlotBaseConfigWrap": BadgeSlotBaseConfigWrap.Register(L); break;

        case "BadgeSlotConfigWrap": BadgeSlotConfigWrap.Register(L); break;

        case "BadgeSlotListWrap": BadgeSlotListWrap.Register(L); break;

        case "BadgeSystemInfoWrap": BadgeSystemInfoWrap.Register(L); break;

        case "BaseDataBuyConfigWrap": BaseDataBuyConfigWrap.Register(L); break;

        case "BaseDataConfig2ListWrap": BaseDataConfig2ListWrap.Register(L); break;

        case "BaseDataConfig2Wrap": BaseDataConfig2Wrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break;

        case "BlockableWrap": BlockableWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "BullFightConfigWrap": BullFightConfigWrap.Register(L); break;

        case "BullFightLevelDictionaryWrap": BullFightLevelDictionaryWrap.Register(L); break;

        case "BullFightLevelKeyValuePairWrap": BullFightLevelKeyValuePairWrap.Register(L); break;

        case "BullFightLevelWrap": BullFightLevelWrap.Register(L); break;

        case "BuyDataWrap": BuyDataWrap.Register(L); break;

        case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "CareerConfigWrap": CareerConfigWrap.Register(L); break;

        case "ChapterConfigDictionaryWrap": ChapterConfigDictionaryWrap.Register(L); break;

        case "ChapterConfigKeyValuePairWrap": ChapterConfigKeyValuePairWrap.Register(L); break;

        case "ChapterDictionaryWrap": ChapterDictionaryWrap.Register(L); break;

        case "ChapterKeyValuePairWrap": ChapterKeyValuePairWrap.Register(L); break;

        case "ChapterWrap": ChapterWrap.Register(L); break;

        case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break;

        case "ChatBroadcastListWrap": ChatBroadcastListWrap.Register(L); break;

        case "ChatBroadcastWrap": ChatBroadcastWrap.Register(L); break;

        case "ChatContentWrap": ChatContentWrap.Register(L); break;

        case "ClientWrap": ClientWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "CommonConfigWrap": CommonConfigWrap.Register(L); break;

        case "CommonFunctionWrap": CommonFunctionWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "ConditionTypeWrap": ConditionTypeWrap.Register(L); break;

        case "ConditionValidatorWrap": ConditionValidatorWrap.Register(L); break;

        case "DataByIdListWrap": DataByIdListWrap.Register(L); break;

        case "DataByIdWrap": DataByIdWrap.Register(L); break;

        case "DaySignDataWrap": DaySignDataWrap.Register(L); break;

        case "DBG_0Wrap": DBG_0Wrap.Register(L); break;

        case "DBG_1Wrap": DBG_1Wrap.Register(L); break;

        case "DebuggerWrap": DebuggerWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "DynamicStringManagerWrap": DynamicStringManagerWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "EquipInfoListWrap": EquipInfoListWrap.Register(L); break;

        case "EquipInfoWrap": EquipInfoWrap.Register(L); break;

        case "EquipmentBaseDataConfigWrap": EquipmentBaseDataConfigWrap.Register(L); break;

        case "EquipmentConfigWrap": EquipmentConfigWrap.Register(L); break;

        case "EquipmentSlotListWrap": EquipmentSlotListWrap.Register(L); break;

        case "EquipmentSlotWrap": EquipmentSlotWrap.Register(L); break;

        case "EventDelegateListWrap": EventDelegateListWrap.Register(L); break;

        case "EventDelegateWrap": EventDelegateWrap.Register(L); break;

        case "ExerciseInfoKeyValuePairWrap": ExerciseInfoKeyValuePairWrap.Register(L); break;

        case "ExerciseInfoListDictionaryWrap": ExerciseInfoListDictionaryWrap.Register(L); break;

        case "ExerciseInfoListWrap": ExerciseInfoListWrap.Register(L); break;

        case "ExerciseInfoWrap": ExerciseInfoWrap.Register(L); break;

        case "FashionAttrWrap": FashionAttrWrap.Register(L); break;

        case "FashionConfigWrap": FashionConfigWrap.Register(L); break;

        case "FashionDataWrap": FashionDataWrap.Register(L); break;

        case "FashionShopConfigItemDictionaryWrap": FashionShopConfigItemDictionaryWrap.Register(L); break;

        case "FashionShopConfigItemListWrap": FashionShopConfigItemListWrap.Register(L); break;

        case "FashionShopConfigItemWrap": FashionShopConfigItemWrap.Register(L); break;

        case "FashionShopConfigWrap": FashionShopConfigWrap.Register(L); break;

        case "FashionSlotProtoListWrap": FashionSlotProtoListWrap.Register(L); break;

        case "FashionSlotProtoWrap": FashionSlotProtoWrap.Register(L); break;

        case "FightRoleInfoListWrap": FightRoleInfoListWrap.Register(L); break;

        case "FightRoleListDictionaryWrap": FightRoleListDictionaryWrap.Register(L); break;

        case "fogs_proto_config_AwardConfigWrap": fogs_proto_config_AwardConfigWrap.Register(L); break;

        case "fogs_proto_config_AwardPackConfigWrap": fogs_proto_config_AwardPackConfigWrap.Register(L); break;

        case "fogs_proto_config_ChapterConfigWrap": fogs_proto_config_ChapterConfigWrap.Register(L); break;

        case "fogs_proto_config_DataConstructionWrap": fogs_proto_config_DataConstructionWrap.Register(L); break;

        case "fogs_proto_config_GenerateNewGoodsArgConfigWrap": fogs_proto_config_GenerateNewGoodsArgConfigWrap.Register(L); break;

        case "fogs_proto_config_GoodsAttrConfigWrap": fogs_proto_config_GoodsAttrConfigWrap.Register(L); break;

        case "fogs_proto_config_GoodsCompositeConfigWrap": fogs_proto_config_GoodsCompositeConfigWrap.Register(L); break;

        case "fogs_proto_config_GoodsUseConfigWrap": fogs_proto_config_GoodsUseConfigWrap.Register(L); break;

        case "fogs_proto_config_LotteryConfigWrap": fogs_proto_config_LotteryConfigWrap.Register(L); break;

        case "fogs_proto_config_NPCConfigWrap": fogs_proto_config_NPCConfigWrap.Register(L); break;

        case "fogs_proto_config_QualifyingNewConfigWrap": fogs_proto_config_QualifyingNewConfigWrap.Register(L); break;

        case "fogs_proto_config_QualifyingNewerConfigWrap": fogs_proto_config_QualifyingNewerConfigWrap.Register(L); break;

        case "fogs_proto_config_QualifyingNewerLeagueAwardsConfigWrap": fogs_proto_config_QualifyingNewerLeagueAwardsConfigWrap.Register(L); break;

        case "fogs_proto_config_QualifyingNewerSeasonConfigWrap": fogs_proto_config_QualifyingNewerSeasonConfigWrap.Register(L); break;

        case "fogs_proto_config_QualifyingNewSeasonConfigWrap": fogs_proto_config_QualifyingNewSeasonConfigWrap.Register(L); break;

        case "fogs_proto_config_RankConfigWrap": fogs_proto_config_RankConfigWrap.Register(L); break;

        case "fogs_proto_config_SectionConfigWrap": fogs_proto_config_SectionConfigWrap.Register(L); break;

        case "fogs_proto_config_StoreRefreshConsumeConfigWrap": fogs_proto_config_StoreRefreshConsumeConfigWrap.Register(L); break;

        case "fogs_proto_config_TaskConfigWrap": fogs_proto_config_TaskConfigWrap.Register(L); break;

        case "fogs_proto_msg_ActivityInfoWrap": fogs_proto_msg_ActivityInfoWrap.Register(L); break;

        case "fogs_proto_msg_BadgeBookWrap": fogs_proto_msg_BadgeBookWrap.Register(L); break;

        case "fogs_proto_msg_BadgeCGWrap": fogs_proto_msg_BadgeCGWrap.Register(L); break;

        case "fogs_proto_msg_BadgeSlotStatusWrap": fogs_proto_msg_BadgeSlotStatusWrap.Register(L); break;

        case "fogs_proto_msg_BadgeSlotWrap": fogs_proto_msg_BadgeSlotWrap.Register(L); break;

        case "fogs_proto_msg_BullFightWrap": fogs_proto_msg_BullFightWrap.Register(L); break;

        case "fogs_proto_msg_ChatChannelTypeWrap": fogs_proto_msg_ChatChannelTypeWrap.Register(L); break;

        case "fogs_proto_msg_EnhanceExerciseRespWrap": fogs_proto_msg_EnhanceExerciseRespWrap.Register(L); break;

        case "fogs_proto_msg_EnhanceLevelRespWrap": fogs_proto_msg_EnhanceLevelRespWrap.Register(L); break;

        case "fogs_proto_msg_EquipmentOperationTypeWrap": fogs_proto_msg_EquipmentOperationTypeWrap.Register(L); break;

        case "fogs_proto_msg_EquipmentSlotIDWrap": fogs_proto_msg_EquipmentSlotIDWrap.Register(L); break;

        case "fogs_proto_msg_EquipmentTypeWrap": fogs_proto_msg_EquipmentTypeWrap.Register(L); break;

        case "fogs_proto_msg_ErrorIDWrap": fogs_proto_msg_ErrorIDWrap.Register(L); break;

        case "fogs_proto_msg_FashionOperationTypeWrap": fogs_proto_msg_FashionOperationTypeWrap.Register(L); break;

        case "fogs_proto_msg_FightRoleInfoWrap": fogs_proto_msg_FightRoleInfoWrap.Register(L); break;

        case "fogs_proto_msg_FightRoleWrap": fogs_proto_msg_FightRoleWrap.Register(L); break;

        case "fogs_proto_msg_FightStatusWrap": fogs_proto_msg_FightStatusWrap.Register(L); break;

        case "fogs_proto_msg_FriendInfoWrap": fogs_proto_msg_FriendInfoWrap.Register(L); break;

        case "fogs_proto_msg_FriendOperationTypeWrap": fogs_proto_msg_FriendOperationTypeWrap.Register(L); break;

        case "fogs_proto_msg_GameModeInfoWrap": fogs_proto_msg_GameModeInfoWrap.Register(L); break;

        case "fogs_proto_msg_GameModeWrap": fogs_proto_msg_GameModeWrap.Register(L); break;

        case "fogs_proto_msg_GenderTypeWrap": fogs_proto_msg_GenderTypeWrap.Register(L); break;

        case "fogs_proto_msg_GoodsCategoryWrap": fogs_proto_msg_GoodsCategoryWrap.Register(L); break;

        case "fogs_proto_msg_GoodsProtoWrap": fogs_proto_msg_GoodsProtoWrap.Register(L); break;

        case "fogs_proto_msg_GoodsQualityWrap": fogs_proto_msg_GoodsQualityWrap.Register(L); break;

        case "fogs_proto_msg_ImproveQualityRespWrap": fogs_proto_msg_ImproveQualityRespWrap.Register(L); break;

        case "fogs_proto_msg_InviteRoleRespWrap": fogs_proto_msg_InviteRoleRespWrap.Register(L); break;

        case "fogs_proto_msg_LotteryInfoWrap": fogs_proto_msg_LotteryInfoWrap.Register(L); break;

        case "fogs_proto_msg_MailInfoWrap": fogs_proto_msg_MailInfoWrap.Register(L); break;

        case "fogs_proto_msg_MatchTypeWrap": fogs_proto_msg_MatchTypeWrap.Register(L); break;

        case "fogs_proto_msg_NewComerInfoWrap": fogs_proto_msg_NewComerInfoWrap.Register(L); break;

        case "fogs_proto_msg_PlayerDataWrap": fogs_proto_msg_PlayerDataWrap.Register(L); break;

        case "fogs_proto_msg_PositionTypeWrap": fogs_proto_msg_PositionTypeWrap.Register(L); break;

        case "fogs_proto_msg_PvpLadderInfoWrap": fogs_proto_msg_PvpLadderInfoWrap.Register(L); break;

        case "fogs_proto_msg_PvpPlusInfoWrap": fogs_proto_msg_PvpPlusInfoWrap.Register(L); break;

        case "fogs_proto_msg_QualifyingInfoWrap": fogs_proto_msg_QualifyingInfoWrap.Register(L); break;

        case "fogs_proto_msg_QualifyingNewerInfoWrap": fogs_proto_msg_QualifyingNewerInfoWrap.Register(L); break;

        case "fogs_proto_msg_QualifyingNewInfoWrap": fogs_proto_msg_QualifyingNewInfoWrap.Register(L); break;

        case "fogs_proto_msg_ResetRoleRespWrap": fogs_proto_msg_ResetRoleRespWrap.Register(L); break;

        case "fogs_proto_msg_RoleInfoWrap": fogs_proto_msg_RoleInfoWrap.Register(L); break;

        case "fogs_proto_msg_ShootInfoWrap": fogs_proto_msg_ShootInfoWrap.Register(L); break;

        case "fogs_proto_msg_SignInfoWrap": fogs_proto_msg_SignInfoWrap.Register(L); break;

        case "fogs_proto_msg_StoreTypeWrap": fogs_proto_msg_StoreTypeWrap.Register(L); break;

        case "fogs_proto_msg_TaskDataWrap": fogs_proto_msg_TaskDataWrap.Register(L); break;

        case "fogs_proto_msg_TaskInfoWrap": fogs_proto_msg_TaskInfoWrap.Register(L); break;

        case "fogs_proto_msg_TaskTypeWrap": fogs_proto_msg_TaskTypeWrap.Register(L); break;

        case "fogs_proto_msg_TattooTypeWrap": fogs_proto_msg_TattooTypeWrap.Register(L); break;

        case "fogs_proto_msg_TeamTypeWrap": fogs_proto_msg_TeamTypeWrap.Register(L); break;

        case "fogs_proto_msg_TourInfoWrap": fogs_proto_msg_TourInfoWrap.Register(L); break;

        case "fogs_proto_msg_TrainingInfoWrap": fogs_proto_msg_TrainingInfoWrap.Register(L); break;

        case "fogs_proto_msg_TrainingStateWrap": fogs_proto_msg_TrainingStateWrap.Register(L); break;

        case "fogs_proto_msg_vipOperTypeWrap": fogs_proto_msg_vipOperTypeWrap.Register(L); break;

        case "FriendDataWrap": FriendDataWrap.Register(L); break;

        case "FuncConditionWrap": FuncConditionWrap.Register(L); break;

        case "FunctionConditionConfigWrap": FunctionConditionConfigWrap.Register(L); break;

        case "GameMatchWrap": GameMatchWrap.Register(L); break;

        case "GameMatch_1ON1Wrap": GameMatch_1ON1Wrap.Register(L); break;

        case "GameMatch_AsynPVP3ON3Wrap": GameMatch_AsynPVP3ON3Wrap.Register(L); break;

        case "GameMatch_ConfigWrap": GameMatch_ConfigWrap.Register(L); break;

        case "GameMatch_LeagueTypeWrap": GameMatch_LeagueTypeWrap.Register(L); break;

        case "GameMatch_MultiPlayerWrap": GameMatch_MultiPlayerWrap.Register(L); break;

        case "GameMatch_Practice1V1Wrap": GameMatch_Practice1V1Wrap.Register(L); break;

        case "GameMatch_TypeWrap": GameMatch_TypeWrap.Register(L); break;

        case "GameModeConfigWrap": GameModeConfigWrap.Register(L); break;

        case "GameModeInfoListWrap": GameModeInfoListWrap.Register(L); break;

        case "GameModeWrap": GameModeWrap.Register(L); break;

        case "GameObjectPlaceholderWrap": GameObjectPlaceholderWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "GameSceneWrap": GameSceneWrap.Register(L); break;

        case "GameSystemWrap": GameSystemWrap.Register(L); break;

        case "GameUtilsWrap": GameUtilsWrap.Register(L); break;

        case "GenerateNewGoodsArgConfigListWrap": GenerateNewGoodsArgConfigListWrap.Register(L); break;

        case "GlobalConstWrap": GlobalConstWrap.Register(L); break;

        case "GoodsAttrConfigDictionaryWrap": GoodsAttrConfigDictionaryWrap.Register(L); break;

        case "GoodsAttrConfigKeyValuePairWrap": GoodsAttrConfigKeyValuePairWrap.Register(L); break;

        case "GoodsComposeBaseNewConfigWrap": GoodsComposeBaseNewConfigWrap.Register(L); break;

        case "GoodsComposeNewConfigWrap": GoodsComposeNewConfigWrap.Register(L); break;

        case "GoodsConfigWrap": GoodsConfigWrap.Register(L); break;

        case "GoodsDictionaryWrap": GoodsDictionaryWrap.Register(L); break;

        case "GoodsKeyValuePairWrap": GoodsKeyValuePairWrap.Register(L); break;

        case "GoodsListWrap": GoodsListWrap.Register(L); break;

        case "GoodsWrap": GoodsWrap.Register(L); break;

        case "GuideModuleWrap": GuideModuleWrap.Register(L); break;

        case "GuideSystemWrap": GuideSystemWrap.Register(L); break;

        case "GuideTipWrap": GuideTipWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "IM_NumberWrap": IM_NumberWrap.Register(L); break;

        case "IM_Vector3Wrap": IM_Vector3Wrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "IntListWrap": IntListWrap.Register(L); break;

        case "KeyCodeWrap": KeyCodeWrap.Register(L); break;

        case "KeyValueDataListWrap": KeyValueDataListWrap.Register(L); break;

        case "KeyValueDataWrap": KeyValueDataWrap.Register(L); break;

        case "LadderConfigWrap": LadderConfigWrap.Register(L); break;

        case "LadderLevelWrap": LadderLevelWrap.Register(L); break;

        case "LadderRewardWrap": LadderRewardWrap.Register(L); break;

        case "LadderSeasonWrap": LadderSeasonWrap.Register(L); break;

        case "LayerMaskWrap": LayerMaskWrap.Register(L); break;

        case "LightTypeWrap": LightTypeWrap.Register(L); break;

        case "LightWrap": LightWrap.Register(L); break;

        case "LocalizationWrap": LocalizationWrap.Register(L); break;

        case "LoginIDManagerWrap": LoginIDManagerWrap.Register(L); break;

        case "LotteryConfigWrap": LotteryConfigWrap.Register(L); break;

        case "LuaComponentWrap": LuaComponentWrap.Register(L); break;

        case "LuaHelperWrap": LuaHelperWrap.Register(L); break;

        case "MailInfoListWrap": MailInfoListWrap.Register(L); break;

        case "MainPlayerWrap": MainPlayerWrap.Register(L); break;

        case "MapConfigWrap": MapConfigWrap.Register(L); break;

        case "MapGroupDataWrap": MapGroupDataWrap.Register(L); break;

        case "MatchStateBeginWrap": MatchStateBeginWrap.Register(L); break;

        case "MatchStateFoulWrap": MatchStateFoulWrap.Register(L); break;

        case "MatchStateGoalWrap": MatchStateGoalWrap.Register(L); break;

        case "MatchStateMachineWrap": MatchStateMachineWrap.Register(L); break;

        case "MatchStateOpeningWrap": MatchStateOpeningWrap.Register(L); break;

        case "MatchStateOverWrap": MatchStateOverWrap.Register(L); break;

        case "MatchStatePlayerCloseUpWrap": MatchStatePlayerCloseUpWrap.Register(L); break;

        case "MatchStatePlayingWrap": MatchStatePlayingWrap.Register(L); break;

        case "MatchStatePlotWrap": MatchStatePlotWrap.Register(L); break;

        case "MatchStateShowRuleWrap": MatchStateShowRuleWrap.Register(L); break;

        case "MatchStateTipOffWrap": MatchStateTipOffWrap.Register(L); break;

        case "MatchStateWrap": MatchStateWrap.Register(L); break;

        case "MatchState_StateWrap": MatchState_StateWrap.Register(L); break;

        case "MaterialWrap": MaterialWrap.Register(L); break;

        case "MeshColliderWrap": MeshColliderWrap.Register(L); break;

        case "MeshFilterWrap": MeshFilterWrap.Register(L); break;

        case "MeshRendererWrap": MeshRendererWrap.Register(L); break;

        case "MeshWrap": MeshWrap.Register(L); break;

        case "ModelShowItemWrap": ModelShowItemWrap.Register(L); break;

        case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break;

        case "MonthSignDataWrap": MonthSignDataWrap.Register(L); break;

        case "MotionWrap": MotionWrap.Register(L); break;

        case "MultiLabelWrap": MultiLabelWrap.Register(L); break;

        case "NetworkConnWrap": NetworkConnWrap.Register(L); break;

        case "NetworkManagerWrap": NetworkManagerWrap.Register(L); break;

        case "NetworkProfilerWrap": NetworkProfilerWrap.Register(L); break;

        case "NewComerSignConfigWrap": NewComerSignConfigWrap.Register(L); break;

        case "NewComerSignDataDictionaryWrap": NewComerSignDataDictionaryWrap.Register(L); break;

        case "NewComerSignDataKeyValuePairWrap": NewComerSignDataKeyValuePairWrap.Register(L); break;

        case "NewComerSignDataWrap": NewComerSignDataWrap.Register(L); break;

        case "NewComerTotalDataDictionaryWrap": NewComerTotalDataDictionaryWrap.Register(L); break;

        case "NewComerTotalDataKeyValuePairWrap": NewComerTotalDataKeyValuePairWrap.Register(L); break;

        case "NewComerTotalDataWrap": NewComerTotalDataWrap.Register(L); break;

        case "NewComerTrialInfoWrap": NewComerTrialInfoWrap.Register(L); break;

        case "NGUITextWrap": NGUITextWrap.Register(L); break;

        case "NGUIText_AlignmentWrap": NGUIText_AlignmentWrap.Register(L); break;

        case "NGUIToolsWrap": NGUIToolsWrap.Register(L); break;

        case "NPCDataConfigWrap": NPCDataConfigWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break;

        case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break;

        case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break;

        case "ParticleSystemRendererWrap": ParticleSystemRendererWrap.Register(L); break;

        case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break;

        case "PhysicsWrap": PhysicsWrap.Register(L); break;

        case "PlatNetworkWrap": PlatNetworkWrap.Register(L); break;

        case "PlayerDataBridgeWrap": PlayerDataBridgeWrap.Register(L); break;

        case "PlayerInfoVisualizerWrap": PlayerInfoVisualizerWrap.Register(L); break;

        case "PlayerListWrap": PlayerListWrap.Register(L); break;

        case "PlayerModelWrap": PlayerModelWrap.Register(L); break;

        case "PlayerPrefsWrap": PlayerPrefsWrap.Register(L); break;

        case "PlayerStateMachineWrap": PlayerStateMachineWrap.Register(L); break;

        case "PlayerStateMachine_ListenerWrap": PlayerStateMachine_ListenerWrap.Register(L); break;

        case "PlayerStateWrap": PlayerStateWrap.Register(L); break;

        case "PlayerState_BackBlockWrap": PlayerState_BackBlockWrap.Register(L); break;

        case "PlayerState_BackCompeteWrap": PlayerState_BackCompeteWrap.Register(L); break;

        case "PlayerState_BackToBackForwardWrap": PlayerState_BackToBackForwardWrap.Register(L); break;

        case "PlayerState_BackToBackWrap": PlayerState_BackToBackWrap.Register(L); break;

        case "PlayerState_BackToStandWrap": PlayerState_BackToStandWrap.Register(L); break;

        case "PlayerState_BackTurnRunWrap": PlayerState_BackTurnRunWrap.Register(L); break;

        case "PlayerState_BlockWrap": PlayerState_BlockWrap.Register(L); break;

        case "PlayerState_BodyThrowCatchWrap": PlayerState_BodyThrowCatchWrap.Register(L); break;

        case "PlayerState_CrossedWrap": PlayerState_CrossedWrap.Register(L); break;

        case "PlayerState_CrossOverWrap": PlayerState_CrossOverWrap.Register(L); break;

        case "PlayerState_DefenseCrossWrap": PlayerState_DefenseCrossWrap.Register(L); break;

        case "PlayerState_DefenseWrap": PlayerState_DefenseWrap.Register(L); break;

        case "PlayerState_DisturbWrap": PlayerState_DisturbWrap.Register(L); break;

        case "PlayerState_DunkWrap": PlayerState_DunkWrap.Register(L); break;

        case "PlayerState_FallGroundWrap": PlayerState_FallGroundWrap.Register(L); break;

        case "PlayerState_FallLostBallWrap": PlayerState_FallLostBallWrap.Register(L); break;

        case "PlayerState_GoalPoseWrap": PlayerState_GoalPoseWrap.Register(L); break;

        case "PlayerState_HoldWrap": PlayerState_HoldWrap.Register(L); break;

        case "PlayerState_KnockedWrap": PlayerState_KnockedWrap.Register(L); break;

        case "PlayerState_LayupFailedWrap": PlayerState_LayupFailedWrap.Register(L); break;

        case "PlayerState_LayupWrap": PlayerState_LayupWrap.Register(L); break;

        case "PlayerState_PickupWrap": PlayerState_PickupWrap.Register(L); break;

        case "PlayerState_PrepareToShootWrap": PlayerState_PrepareToShootWrap.Register(L); break;

        case "PlayerState_ReboundWrap": PlayerState_ReboundWrap.Register(L); break;

        case "PlayerState_ResultPoseWrap": PlayerState_ResultPoseWrap.Register(L); break;

        case "PlayerState_RunWrap": PlayerState_RunWrap.Register(L); break;

        case "PlayerState_RushWrap": PlayerState_RushWrap.Register(L); break;

        case "PlayerState_ShootWrap": PlayerState_ShootWrap.Register(L); break;

        case "PlayerState_SkillWrap": PlayerState_SkillWrap.Register(L); break;

        case "PlayerState_StandWrap": PlayerState_StandWrap.Register(L); break;

        case "PlayerState_StateWrap": PlayerState_StateWrap.Register(L); break;

        case "PlayerState_StealWrap": PlayerState_StealWrap.Register(L); break;

        case "PlayerState_StolenWrap": PlayerState_StolenWrap.Register(L); break;

        case "PlayerWrap": PlayerWrap.Register(L); break;

        case "PlayModeWrap": PlayModeWrap.Register(L); break;

        case "PlaySoundManagerWrap": PlaySoundManagerWrap.Register(L); break;

        case "PositionTypeUintDictionaryWrap": PositionTypeUintDictionaryWrap.Register(L); break;

        case "PracticePveConfigWrap": PracticePveConfigWrap.Register(L); break;

        case "PracticePveDataWrap": PracticePveDataWrap.Register(L); break;

        case "PractiseConfigWrap": PractiseConfigWrap.Register(L); break;

        case "PractiseDataDictionaryWrap": PractiseDataDictionaryWrap.Register(L); break;

        case "PractiseDataKeyValuePairWrap": PractiseDataKeyValuePairWrap.Register(L); break;

        case "PractiseDataWrap": PractiseDataWrap.Register(L); break;

        case "PractiseData_TypeWrap": PractiseData_TypeWrap.Register(L); break;

        case "PresentHpConfigWrap": PresentHpConfigWrap.Register(L); break;

        case "ProfilerWrap": ProfilerWrap.Register(L); break;

        case "PvpRegularInfoWrap": PvpRegularInfoWrap.Register(L); break;

        case "QualifyingAwardsDataListWrap": QualifyingAwardsDataListWrap.Register(L); break;

        case "QualifyingAwardsDataWrap": QualifyingAwardsDataWrap.Register(L); break;

        case "QualifyingConfigWrap": QualifyingConfigWrap.Register(L); break;

        case "QualifyingNewConfigWrap": QualifyingNewConfigWrap.Register(L); break;

        case "QualifyingNewerConfigWrap": QualifyingNewerConfigWrap.Register(L); break;

        case "QualityAttrCorConfigWrap": QualityAttrCorConfigWrap.Register(L); break;

        case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.Register(L); break;

        case "RankConfigWrap": RankConfigWrap.Register(L); break;

        case "RankSubTypeWrap": RankSubTypeWrap.Register(L); break;

        case "RankTypeWrap": RankTypeWrap.Register(L); break;

        case "RechargeDictionaryWrap": RechargeDictionaryWrap.Register(L); break;

        case "RechargeKeyValuePairWrap": RechargeKeyValuePairWrap.Register(L); break;

        case "RechargeWrap": RechargeWrap.Register(L); break;

        case "RendererWrap": RendererWrap.Register(L); break;

        case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break;

        case "RenderTextureWrap": RenderTextureWrap.Register(L); break;

        case "ResourceLoadManagerWrap": ResourceLoadManagerWrap.Register(L); break;

        case "ResourcesWrap": ResourcesWrap.Register(L); break;

        case "RobotPlayerListWrap": RobotPlayerListWrap.Register(L); break;

        case "RoleBaseData2ListWrap": RoleBaseData2ListWrap.Register(L); break;

        case "RoleBaseData2Wrap": RoleBaseData2Wrap.Register(L); break;

        case "RoleBaseDataDictionarryWrap": RoleBaseDataDictionarryWrap.Register(L); break;

        case "RoleBaseDataKeyValuePairWrap": RoleBaseDataKeyValuePairWrap.Register(L); break;

        case "RoleGiftConfigWrap": RoleGiftConfigWrap.Register(L); break;

        case "RoleInfoListWrap": RoleInfoListWrap.Register(L); break;

        case "RoleLevelConfigWrap": RoleLevelConfigWrap.Register(L); break;

        case "RoleShapeConfigWrap": RoleShapeConfigWrap.Register(L); break;

        case "RoleShapeDictionaryWrap": RoleShapeDictionaryWrap.Register(L); break;

        case "RoleShapeKeyValuePairWrap": RoleShapeKeyValuePairWrap.Register(L); break;

        case "RoleShapeWrap": RoleShapeWrap.Register(L); break;

        case "SchedulerWrap": SchedulerWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "ScrollViewAsyncLoadItemWrap": ScrollViewAsyncLoadItemWrap.Register(L); break;

        case "ScrollViewIncLoadWrap": ScrollViewIncLoadWrap.Register(L); break;

        case "SectionConfigDictionaryWrap": SectionConfigDictionaryWrap.Register(L); break;

        case "SectionDictionaryWrap": SectionDictionaryWrap.Register(L); break;

        case "SectionKeyValuePairWrap": SectionKeyValuePairWrap.Register(L); break;

        case "SectionWrap": SectionWrap.Register(L); break;

        case "ShaderWrap": ShaderWrap.Register(L); break;

        case "ShootGameConfigWrap": ShootGameConfigWrap.Register(L); break;

        case "ShootGameWrap": ShootGameWrap.Register(L); break;

        case "SignConfigWrap": SignConfigWrap.Register(L); break;

        case "Singleton_AudioManagerWrap": Singleton_AudioManagerWrap.Register(L); break;

        case "Singleton_ConditionValidatorWrap": Singleton_ConditionValidatorWrap.Register(L); break;

        case "Singleton_DebuggerWrap": Singleton_DebuggerWrap.Register(L); break;

        case "Singleton_GuideSystemWrap": Singleton_GuideSystemWrap.Register(L); break;

        case "Singleton_MainPlayerWrap": Singleton_MainPlayerWrap.Register(L); break;

        case "Singleton_PlatNetworkWrap": Singleton_PlatNetworkWrap.Register(L); break;

        case "Singleton_ResourceLoadManagerWrap": Singleton_ResourceLoadManagerWrap.Register(L); break;

        case "SkillAttrWrap": SkillAttrWrap.Register(L); break;

        case "SkillConfigWrap": SkillConfigWrap.Register(L); break;

        case "SkillConsumableListWrap": SkillConsumableListWrap.Register(L); break;

        case "SkillConsumableWrap": SkillConsumableWrap.Register(L); break;

        case "SkillLevelDictionaryWrap": SkillLevelDictionaryWrap.Register(L); break;

        case "SkillLevelWrap": SkillLevelWrap.Register(L); break;

        case "SkillSlotProtoListWrap": SkillSlotProtoListWrap.Register(L); break;

        case "SkillSlotProWrap": SkillSlotProWrap.Register(L); break;

        case "SkillTypeWrap": SkillTypeWrap.Register(L); break;

        case "SkillUpConfigWrap": SkillUpConfigWrap.Register(L); break;

        case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break;

        case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break;

        case "SpaceWrap": SpaceWrap.Register(L); break;

        case "SphereColliderWrap": SphereColliderWrap.Register(L); break;

        case "SpringPanelWrap": SpringPanelWrap.Register(L); break;

        case "StarAttrConfigWrap": StarAttrConfigWrap.Register(L); break;

        case "StarAttrWrap": StarAttrWrap.Register(L); break;

        case "StoreGoodsConfigWrap": StoreGoodsConfigWrap.Register(L); break;

        case "StoreGoodsDataListDictionaryWrap": StoreGoodsDataListDictionaryWrap.Register(L); break;

        case "StoreGoodsDataListKeyValuePairWrap": StoreGoodsDataListKeyValuePairWrap.Register(L); break;

        case "StoreGoodsDataListWrap": StoreGoodsDataListWrap.Register(L); break;

        case "StoreGoodsDataWrap": StoreGoodsDataWrap.Register(L); break;

        case "StrengthBarWrap": StrengthBarWrap.Register(L); break;

        case "StringListWrap": StringListWrap.Register(L); break;

        case "StringUintDictionaryWrap": StringUintDictionaryWrap.Register(L); break;

        case "StringUintKeyValuePairWrap": StringUintKeyValuePairWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "SuitAddnAttrDataWrap": SuitAddnAttrDataWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "TalentConfigWrap": TalentConfigWrap.Register(L); break;

        case "TalentItemWrap": TalentItemWrap.Register(L); break;

        case "TaskDataConfigWrap": TaskDataConfigWrap.Register(L); break;

        case "TaskDataListWrap": TaskDataListWrap.Register(L); break;

        case "TeamLevelConfigWrap": TeamLevelConfigWrap.Register(L); break;

        case "TeamLevelDataWrap": TeamLevelDataWrap.Register(L); break;

        case "TextAssetWrap": TextAssetWrap.Register(L); break;

        case "TextLabelReplaceWrap": TextLabelReplaceWrap.Register(L); break;

        case "Texture2DWrap": Texture2DWrap.Register(L); break;

        case "TextureWrap": TextureWrap.Register(L); break;

        case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break;

        case "TourConfigWrap": TourConfigWrap.Register(L); break;

        case "TourDataWrap": TourDataWrap.Register(L); break;

        case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TrialConfigWrap": TrialConfigWrap.Register(L); break;

        case "TrialDataListWrap": TrialDataListWrap.Register(L); break;

        case "TrialDataWrap": TrialDataWrap.Register(L); break;

        case "TweenPositionWrap": TweenPositionWrap.Register(L); break;

        case "TweenRotationWrap": TweenRotationWrap.Register(L); break;

        case "TweenScaleWrap": TweenScaleWrap.Register(L); break;

        case "TweenWidthWrap": TweenWidthWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UBasketballWrap": UBasketballWrap.Register(L); break;

        case "UBasketWrap": UBasketWrap.Register(L); break;

        case "UIAtlasWrap": UIAtlasWrap.Register(L); break;

        case "UIBasicSpriteWrap": UIBasicSpriteWrap.Register(L); break;

        case "UIBasicSprite_FlipWrap": UIBasicSprite_FlipWrap.Register(L); break;

        case "UIButtonColorWrap": UIButtonColorWrap.Register(L); break;

        case "UIButtonWrap": UIButtonWrap.Register(L); break;

        case "UICameraWrap": UICameraWrap.Register(L); break;

        case "UICenterOnChildWrap": UICenterOnChildWrap.Register(L); break;

        case "UIChallengeLoadingWrap": UIChallengeLoadingWrap.Register(L); break;

        case "UICloseOnClickWrap": UICloseOnClickWrap.Register(L); break;

        case "UIDragDropItemEventWrap": UIDragDropItemEventWrap.Register(L); break;

        case "UIDragDropItemWrap": UIDragDropItemWrap.Register(L); break;

        case "UIDragScrollViewWrap": UIDragScrollViewWrap.Register(L); break;

        case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break;

        case "UIForm_ShowHideDirectionWrap": UIForm_ShowHideDirectionWrap.Register(L); break;

        case "UIGridWrap": UIGridWrap.Register(L); break;

        case "UIGrid_ArrangementWrap": UIGrid_ArrangementWrap.Register(L); break;

        case "UIInputWrap": UIInputWrap.Register(L); break;

        case "UILabelWrap": UILabelWrap.Register(L); break;

        case "UIManagerWrap": UIManagerWrap.Register(L); break;

        case "UintBooleanKeyValuePairWrap": UintBooleanKeyValuePairWrap.Register(L); break;

        case "UintBooleanListWrap": UintBooleanListWrap.Register(L); break;

        case "UintDictionaryDictionaryWrap": UintDictionaryDictionaryWrap.Register(L); break;

        case "UintDictionaryKeyValuePairWrap": UintDictionaryKeyValuePairWrap.Register(L); break;

        case "UintDictionaryWrap": UintDictionaryWrap.Register(L); break;

        case "UintKeyValuePairWrap": UintKeyValuePairWrap.Register(L); break;

        case "UintListWrap": UintListWrap.Register(L); break;

        case "UIPanelWrap": UIPanelWrap.Register(L); break;

        case "UIProgressBarWrap": UIProgressBarWrap.Register(L); break;

        case "UIRectWrap": UIRectWrap.Register(L); break;

        case "UIRect_AnchorPointWrap": UIRect_AnchorPointWrap.Register(L); break;

        case "UIScrollBarWrap": UIScrollBarWrap.Register(L); break;

        case "UIScrollViewWrap": UIScrollViewWrap.Register(L); break;

        case "UISliderWrap": UISliderWrap.Register(L); break;

        case "UISpriteWrap": UISpriteWrap.Register(L); break;

        case "UIStoreFashionWrap": UIStoreFashionWrap.Register(L); break;

        case "UITableWrap": UITableWrap.Register(L); break;

        case "UITextureWrap": UITextureWrap.Register(L); break;

        case "UIToggleWrap": UIToggleWrap.Register(L); break;

        case "UITweenerWrap": UITweenerWrap.Register(L); break;

        case "UITweener_MethodWrap": UITweener_MethodWrap.Register(L); break;

        case "UIViewportWrap": UIViewportWrap.Register(L); break;

        case "UIWidgetContainerWrap": UIWidgetContainerWrap.Register(L); break;

        case "UIWidgetWrap": UIWidgetWrap.Register(L); break;

        case "UIWidget_PivotWrap": UIWidget_PivotWrap.Register(L); break;

        case "UIWrapContentWrap": UIWrapContentWrap.Register(L); break;

        case "UnityEngine_Experimental_Director_DirectorPlayerWrap": UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L); break;

        case "UnityTimeWrap": UnityTimeWrap.Register(L); break;

        case "UtilWrap": UtilWrap.Register(L); break;

        case "VipDataWrap": VipDataWrap.Register(L); break;

        case "VipPrivilegeConfigWrap": VipPrivilegeConfigWrap.Register(L); break;

        case "VipStateWrap": VipStateWrap.Register(L); break;

        case "WidgetPlaceholderWrap": WidgetPlaceholderWrap.Register(L); break;

        case "YieldInstructionWrap": YieldInstructionWrap.Register(L); break;
        }
    }
Example #20
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break;

        case "AnimationClipWrap": AnimationClipWrap.Register(L); break;

        case "AnimationStateWrap": AnimationStateWrap.Register(L); break;

        case "AnimationWrap": AnimationWrap.Register(L); break;

        case "AppConstWrap": AppConstWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "AssetBundleWrap": AssetBundleWrap.Register(L); break;

        case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break;

        case "AudioClipWrap": AudioClipWrap.Register(L); break;

        case "AudioSourceWrap": AudioSourceWrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "DebuggerWrap": DebuggerWrap.Register(L); break;

        case "DelegateFactoryWrap": DelegateFactoryWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "GConsoleCoreWrap": GConsoleCoreWrap.Register(L); break;

        case "GConsoleWrap": GConsoleWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "KeyCodeWrap": KeyCodeWrap.Register(L); break;

        case "LightTypeWrap": LightTypeWrap.Register(L); break;

        case "LightWrap": LightWrap.Register(L); break;

        case "LuaManagerWrap": LuaManagerWrap.Register(L); break;

        case "MaterialWrap": MaterialWrap.Register(L); break;

        case "MeshColliderWrap": MeshColliderWrap.Register(L); break;

        case "MeshRendererWrap": MeshRendererWrap.Register(L); break;

        case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break;

        case "NavMeshAgentWrap": NavMeshAgentWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break;

        case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break;

        case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break;

        case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break;

        case "PhysicsWrap": PhysicsWrap.Register(L); break;

        case "PlayModeWrap": PlayModeWrap.Register(L); break;

        case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.Register(L); break;

        case "RendererWrap": RendererWrap.Register(L); break;

        case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break;

        case "RenderTextureWrap": RenderTextureWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break;

        case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break;

        case "SpaceWrap": SpaceWrap.Register(L); break;

        case "SphereColliderWrap": SphereColliderWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "TextureWrap": TextureWrap.Register(L); break;

        case "TimeWrap": TimeWrap.Register(L); break;

        case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break;

        case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UtilWrap": UtilWrap.Register(L); break;

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
Example #21
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break;

        case "AnimationClipWrap": AnimationClipWrap.Register(L); break;

        case "AnimationStateWrap": AnimationStateWrap.Register(L); break;

        case "AnimationWrap": AnimationWrap.Register(L); break;

        case "AnimatorWrap": AnimatorWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "AssetBundleWrap": AssetBundleWrap.Register(L); break;

        case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break;

        case "AudioClipWrap": AudioClipWrap.Register(L); break;

        case "AudioSourceWrap": AudioSourceWrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break;

        case "BoundsWrap": BoundsWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "DebuggerWrap": DebuggerWrap.Register(L); break;

        case "DelegateFactoryWrap": DelegateFactoryWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "DoTweenManagerWrap": DoTweenManagerWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "KeyCodeWrap": KeyCodeWrap.Register(L); break;

        case "LightTypeWrap": LightTypeWrap.Register(L); break;

        case "LightWrap": LightWrap.Register(L); break;

        case "MaterialWrap": MaterialWrap.Register(L); break;

        case "Matrix4x4Wrap": Matrix4x4Wrap.Register(L); break;

        case "MeshColliderWrap": MeshColliderWrap.Register(L); break;

        case "MeshFilterWrap": MeshFilterWrap.Register(L); break;

        case "MeshRendererWrap": MeshRendererWrap.Register(L); break;

        case "MeshWrap": MeshWrap.Register(L); break;

        case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break;

        case "NetworkReachWrap": NetworkReachWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break;

        case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break;

        case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break;

        case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break;

        case "PhysicsWrap": PhysicsWrap.Register(L); break;

        case "PlayerPrefsWrap": PlayerPrefsWrap.Register(L); break;

        case "PlayModeWrap": PlayModeWrap.Register(L); break;

        case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.Register(L); break;

        case "RectTransformWrap": RectTransformWrap.Register(L); break;

        case "RectWrap": RectWrap.Register(L); break;

        case "RendererWrap": RendererWrap.Register(L); break;

        case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break;

        case "RenderTextureWrap": RenderTextureWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "SDKManagerWrap": SDKManagerWrap.Register(L); break;

        case "ShaderWrap": ShaderWrap.Register(L); break;

        case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break;

        case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break;

        case "SpaceWrap": SpaceWrap.Register(L); break;

        case "SphereColliderWrap": SphereColliderWrap.Register(L); break;

        case "SpriteWrap": SpriteWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "SystemInfoWrap": SystemInfoWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "Teacher_AppConstWrap": Teacher_AppConstWrap.Register(L); break;

        case "Teacher_ByteBufferWrap": Teacher_ByteBufferWrap.Register(L); break;

        case "Teacher_LuaBehaviourWrap": Teacher_LuaBehaviourWrap.Register(L); break;

        case "Teacher_LuaHelperWrap": Teacher_LuaHelperWrap.Register(L); break;

        case "Teacher_Manager_NetworkManagerWrap": Teacher_Manager_NetworkManagerWrap.Register(L); break;

        case "Teacher_Manager_PanelManagerWrap": Teacher_Manager_PanelManagerWrap.Register(L); break;

        case "Teacher_Manager_ResourceManagerWrap": Teacher_Manager_ResourceManagerWrap.Register(L); break;

        case "Teacher_Manager_TimerManagerWrap": Teacher_Manager_TimerManagerWrap.Register(L); break;

        case "Teacher_UtilWrap": Teacher_UtilWrap.Register(L); break;

        case "TestDelegateListenerWrap": TestDelegateListenerWrap.Register(L); break;

        case "TestEventListenerWrap": TestEventListenerWrap.Register(L); break;

        case "TestLuaDelegateWrap": TestLuaDelegateWrap.Register(L); break;

        case "Texture2DWrap": Texture2DWrap.Register(L); break;

        case "TextureWrap": TextureWrap.Register(L); break;

        case "TimeWrap": TimeWrap.Register(L); break;

        case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break;

        case "TouchWrap": TouchWrap.Register(L); break;

        case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UnityEngine_EventSystems_EventSystemWrap": UnityEngine_EventSystems_EventSystemWrap.Register(L); break;

        case "UnityEngine_Events_UnityEventBaseWrap": UnityEngine_Events_UnityEventBaseWrap.Register(L); break;

        case "UnityEngine_Events_UnityEventWrap": UnityEngine_Events_UnityEventWrap.Register(L); break;

        case "UnityEngine_UI_ButtonWrap": UnityEngine_UI_ButtonWrap.Register(L); break;

        case "UnityEngine_UI_Button_ButtonClickedEventWrap": UnityEngine_UI_Button_ButtonClickedEventWrap.Register(L); break;

        case "UnityEngine_UI_ImageWrap": UnityEngine_UI_ImageWrap.Register(L); break;

        case "UnityEngine_UI_InputFieldWrap": UnityEngine_UI_InputFieldWrap.Register(L); break;

        case "UnityEngine_UI_ScrollRectWrap": UnityEngine_UI_ScrollRectWrap.Register(L); break;

        case "UnityEngine_UI_TextWrap": UnityEngine_UI_TextWrap.Register(L); break;

        case "UnityEngine_UI_ToggleWrap": UnityEngine_UI_ToggleWrap.Register(L); break;

        case "UploadManagerWrap": UploadManagerWrap.Register(L); break;

        case "WWWFormWrap": WWWFormWrap.Register(L); break;

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
Example #22
0
 public static void Bind(IntPtr L)
 {
     ActiveButtonWrap.Register(L);
     ActiveGroupWrap.Register(L);
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     AnimatorWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     CC_Module_Menu_MenuLayerTypeWrap.Register(L);
     CC_Module_Menu_MenuManagerWrap.Register(L);
     CC_Runtime_AssetManagerWrap.Register(L);
     CC_Runtime_CooWrap.Register(L);
     CC_Runtime_PB_ProtoBattleVideoInfoWrap.Register(L);
     CC_Runtime_PB_ProtoBattleVideoRoleInfoWrap.Register(L);
     CC_Runtime_PB_ProtoLeagueInfoWrap.Register(L);
     CC_Runtime_PB_ProtoRoleBaseInfoWrap.Register(L);
     CC_Runtime_PB_ProtoRoleBattleInfoWrap.Register(L);
     CC_Runtime_PacketManagerWrap.Register(L);
     CC_Runtime_SocketIdWrap.Register(L);
     CC_Runtime_SocketManagerWrap.Register(L);
     CC_Runtime_Utils_DateTimeUtilsWrap.Register(L);
     CC_UI_BaseUIWrap.Register(L);
     CC_UI_LuaUIEventWrap.Register(L);
     CC_UI_TabButtonWrap.Register(L);
     CC_UI_TabGroupWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CanvasWrap.Register(L);
     CharacterControllerWrap.Register(L);
     CityControlWrap.Register(L);
     ColliderWrap.Register(L);
     ColorUtilityWrap.Register(L);
     ColorWrap.Register(L);
     ComponentWrap.Register(L);
     CrashReporterWrap.Register(L);
     DG_Tweening_DOTweenWrap.Register(L);
     DG_Tweening_EaseWrap.Register(L);
     DG_Tweening_RotateModeWrap.Register(L);
     DG_Tweening_ScrambleModeWrap.Register(L);
     DG_Tweening_ShortcutExtensions46Wrap.Register(L);
     DG_Tweening_ShortcutExtensionsWrap.Register(L);
     DG_Tweening_TweenExtensionsWrap.Register(L);
     DG_Tweening_TweenSettingsExtensionsWrap.Register(L);
     DOTweenLuaUtilsWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateWrap.Register(L);
     EnumWrap.Register(L);
     ExtendButtonWrap.Register(L);
     GameObjectWrap.Register(L);
     Games_ConstConfigWrap.Register(L);
     Games_ConstConfig_IDWrap.Register(L);
     Games_GameConstWrap.Register(L);
     Games_Module_Props_PropConfigWrap.Register(L);
     Games_Module_Props_PropIdWrap.Register(L);
     Games_Module_Props_PropWrap.Register(L);
     Games_Module_Sound_SoundManagerWrap.Register(L);
     Games_Module_Sysmsgs_SysmsgManagerWrap.Register(L);
     Games_Module_Wars_FormationPositionWrap.Register(L);
     Games_Module_Wars_FormationWrap.Register(L);
     Games_Module_Wars_LegionTypeWrap.Register(L);
     Games_Module_Wars_MonsterConfigWrap.Register(L);
     Games_Module_Wars_OverTypeWrap.Register(L);
     Games_Module_Wars_SkillWarConfWrap.Register(L);
     Games_Module_Wars_StageConfigWrap.Register(L);
     Games_Module_Wars_StagePositionConfigWrap.Register(L);
     Games_Module_Wars_StageTypeWrap.Register(L);
     Games_Module_Wars_VSModeWrap.Register(L);
     Games_Module_Wars_WarEnterDataWrap.Register(L);
     Games_Module_Wars_WarEnterHeroDataWrap.Register(L);
     Games_Module_Wars_WarEnterLegionDataWrap.Register(L);
     Games_Module_Wars_WarEnterSoliderDataWrap.Register(L);
     Games_Module_Wars_WarModelWrap.Register(L);
     Games_Module_Wars_WarOverDataWrap.Register(L);
     Games_Module_Wars_WarOverLegionDataWrap.Register(L);
     Games_Module_Wars_WarRecordIOWrap.Register(L);
     Games_Module_Wars_WarServiceWrap.Register(L);
     Games_Module_Wars_WarWrap.Register(L);
     Games_Module_Wars_WinConfigWrap.Register(L);
     Games_Module_Wars_WinTypeWrap.Register(L);
     GuidWrap.Register(L);
     IEnumeratorWrap.Register(L);
     ImageSetMaterialWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MiscLuaUtilWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     MultiImageWrap.Register(L);
     NativeCodeManagerWrap.Register(L);
     ObjectWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PathUtilWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayModeWrap.Register(L);
     PlayerPrefsUtilWrap.Register(L);
     PrefabTextWrap.Register(L);
     ProvinceControlWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RectTransformWrap.Register(L);
     RectWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     RendererWrap.Register(L);
     ScreenWrap.Register(L);
     ScrollZoomContainerWrap.Register(L);
     SimpleFramework_ByteBufferWrap.Register(L);
     SimpleFramework_LuaBehaviourWrap.Register(L);
     SimpleFramework_LuaHelperWrap.Register(L);
     SimpleFramework_UtilWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SliderWithTextWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     SpriteWrap.Register(L);
     SystemInfoWrap.Register(L);
     System_ObjectWrap.Register(L);
     TableViewWrap.Register(L);
     TextAnchorWrap.Register(L);
     TextureWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     TypeWrap.Register(L);
     UnityEngine_Events_UnityEventWrap.Register(L);
     UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L);
     UnityEngine_UI_ButtonWrap.Register(L);
     UnityEngine_UI_Button_ButtonClickedEventWrap.Register(L);
     UnityEngine_UI_CanvasScalerWrap.Register(L);
     UnityEngine_UI_CanvasScaler_ScreenMatchModeWrap.Register(L);
     UnityEngine_UI_DropdownWrap.Register(L);
     UnityEngine_UI_GraphicWrap.Register(L);
     UnityEngine_UI_ImageWrap.Register(L);
     UnityEngine_UI_InputFieldWrap.Register(L);
     UnityEngine_UI_SelectableWrap.Register(L);
     UnityEngine_UI_SliderWrap.Register(L);
     UnityEngine_UI_TextWrap.Register(L);
     UnityEngine_UI_ToggleWrap.Register(L);
     WrapModeWrap.Register(L);
     bitWrap.Register(L);
     stringWrap.Register(L);
 }
Example #23
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "AppConstWrap": AppConstWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "AssetBundleWrap": AssetBundleWrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "DebuggerWrap": DebuggerWrap.Register(L); break;

        case "DelegateFactoryWrap": DelegateFactoryWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "DelManagerWrap": DelManagerWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "EventDelegateWrap": EventDelegateWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "HotfixManagerWrap": HotfixManagerWrap.Register(L); break;

        case "HotfixWrap": HotfixWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "LocalizationWrap": LocalizationWrap.Register(L); break;

        case "LuaDlgWrap": LuaDlgWrap.Register(L); break;

        case "LuaEngineWrap": LuaEngineWrap.Register(L); break;

        case "LuaEnumTypeWrap": LuaEnumTypeWrap.Register(L); break;

        case "LuaGameInfoWrap": LuaGameInfoWrap.Register(L); break;

        case "LuaStringBufferWrap": LuaStringBufferWrap.Register(L); break;

        case "LuaUIManagerWrap": LuaUIManagerWrap.Register(L); break;

        case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break;

        case "NGUIToolsWrap": NGUIToolsWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "PlayerPrefsWrap": PlayerPrefsWrap.Register(L); break;

        case "PrivateExtensionsWrap": PrivateExtensionsWrap.Register(L); break;

        case "PublicExtensionsWrap": PublicExtensionsWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "System_IO_BinaryReaderWrap": System_IO_BinaryReaderWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "TestProtolWrap": TestProtolWrap.Register(L); break;

        case "TimeWrap": TimeWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UIAtlasWrap": UIAtlasWrap.Register(L); break;

        case "UIButtonColorWrap": UIButtonColorWrap.Register(L); break;

        case "UIButtonWrap": UIButtonWrap.Register(L); break;

        case "UICameraWrap": UICameraWrap.Register(L); break;

        case "UICenterOnChildWrap": UICenterOnChildWrap.Register(L); break;

        case "UIDummyWrap": UIDummyWrap.Register(L); break;

        case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break;

        case "UIGridWrap": UIGridWrap.Register(L); break;

        case "UIInputWrap": UIInputWrap.Register(L); break;

        case "UILabelWrap": UILabelWrap.Register(L); break;

        case "UIProgressBarWrap": UIProgressBarWrap.Register(L); break;

        case "UIRectWrap": UIRectWrap.Register(L); break;

        case "UIScrollViewWrap": UIScrollViewWrap.Register(L); break;

        case "UISliderWrap": UISliderWrap.Register(L); break;

        case "UISpriteWrap": UISpriteWrap.Register(L); break;

        case "UITableWrap": UITableWrap.Register(L); break;

        case "UITextureWrap": UITextureWrap.Register(L); break;

        case "UIToggleWrap": UIToggleWrap.Register(L); break;

        case "UIWidgetContainerWrap": UIWidgetContainerWrap.Register(L); break;

        case "UIWidgetWrap": UIWidgetWrap.Register(L); break;

        case "XUtliPoolLib_XDirectoryWrap": XUtliPoolLib_XDirectoryWrap.Register(L); break;

        case "XUtliPoolLib_XFileWrap": XUtliPoolLib_XFileWrap.Register(L); break;

        case "XUtliPoolLib_XLuaLongWrap": XUtliPoolLib_XLuaLongWrap.Register(L); break;
        }
    }
Example #24
0
 public static void Bind(IntPtr L)
 {
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     BaseLuaWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     ByteBufferWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     ConstWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateWrap.Register(L);
     EnumWrap.Register(L);
     GameObjectWrap.Register(L);
     IEnumeratorWrap.Register(L);
     InputWrap.Register(L);
     iooWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     LuaHelperWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     NetworkManagerWrap.Register(L);
     ObjectWrap.Register(L);
     PanelManagerWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayModeWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RectTransformWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ResourceManagerWrap.Register(L);
     ScreenWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     stringWrap.Register(L);
     System_ObjectWrap.Register(L);
     TextureWrap.Register(L);
     TimerManagerWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     TypeWrap.Register(L);
     UnityEngine_UI_TextWrap.Register(L);
     UtilWrap.Register(L);
 }
Example #25
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "AnimatorWrap": AnimatorWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "ColorWrap": ColorWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "DebugWrap": DebugWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "EventWrap": EventWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "LuaHelperWrap": LuaHelperWrap.Register(L); break;

        case "MonoToolsWrap": MonoToolsWrap.Register(L); break;

        case "NGUITextWrap": NGUITextWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "PlayerPrefsWrap": PlayerPrefsWrap.Register(L); break;

        case "RectWrap": RectWrap.Register(L); break;

        case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "SpringPanelWrap": SpringPanelWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "SystemInfoWrap": SystemInfoWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "TextureWrap": TextureWrap.Register(L); break;

        case "TimerWrap": TimerWrap.Register(L); break;

        case "TimeWrap": TimeWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TweenAlphaWrap": TweenAlphaWrap.Register(L); break;

        case "TweenPositionWrap": TweenPositionWrap.Register(L); break;

        case "TweenScaleWrap": TweenScaleWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UIBasicSpriteWrap": UIBasicSpriteWrap.Register(L); break;

        case "UICameraWrap": UICameraWrap.Register(L); break;

        case "UICenterOnChildWrap": UICenterOnChildWrap.Register(L); break;

        case "UIDragScrollViewWrap": UIDragScrollViewWrap.Register(L); break;

        case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break;

        case "UIGridWrap": UIGridWrap.Register(L); break;

        case "UIInputWrap": UIInputWrap.Register(L); break;

        case "UILabelWrap": UILabelWrap.Register(L); break;

        case "UIPanelWrap": UIPanelWrap.Register(L); break;

        case "UIPlayTweenWrap": UIPlayTweenWrap.Register(L); break;

        case "UIProgressBarWrap": UIProgressBarWrap.Register(L); break;

        case "UIRectWrap": UIRectWrap.Register(L); break;

        case "UIRootWrap": UIRootWrap.Register(L); break;

        case "UIScrollViewWrap": UIScrollViewWrap.Register(L); break;

        case "UISliderWrap": UISliderWrap.Register(L); break;

        case "UISpriteWrap": UISpriteWrap.Register(L); break;

        case "UITableWrap": UITableWrap.Register(L); break;

        case "UITextureWrap": UITextureWrap.Register(L); break;

        case "UIToggleWrap": UIToggleWrap.Register(L); break;

        case "UITweenerWrap": UITweenerWrap.Register(L); break;

        case "UIWidgetContainerWrap": UIWidgetContainerWrap.Register(L); break;

        case "UIWidgetWrap": UIWidgetWrap.Register(L); break;

        case "Vector2Wrap": Vector2Wrap.Register(L); break;

        case "Vector3Wrap": Vector3Wrap.Register(L); break;

        case "Vector4Wrap": Vector4Wrap.Register(L); break;
        }
    }