AddLSLEvent() public static method

public static AddLSLEvent ( EventInfo ev ) : void
ev EventInfo
return void
Esempio n. 1
0
        public void Initialise(Compiler compiler)
        {
            m_compiler = compiler;
            new CSCodeGenerator(compiler);
            //            LSL_Converter = new CSCodeGenerator(null, compiler);

            //Add new LSL events that haven't been added into the parser
            LSL2CSCodeTransformer.AddLSLEvent(new EventInfo("transaction_result", new [] {
                "LSL_Types.LSLString", "LSL_Types.LSLInteger", "LSL_Types.LSLString"
            }));
            LSL2CSCodeTransformer.AddLSLEvent(new EventInfo("path_update", new [] {
                "LSL_Types.LSLInteger", "LSL_Types.list"
            }));
        }
Esempio n. 2
0
        public void Initialise(Compiler compiler)
        {
            m_compiler = compiler;
            //? // new CSCodeGenerator(compiler);

            //Add new LSL events that haven't been added into the parser
            LSL2CSCodeTransformer.AddLSLEvent(new EventInfo("experience_permissions", new [] {
                "LSL_Types.LSLString"
            }));
            LSL2CSCodeTransformer.AddLSLEvent(new EventInfo("experience_permissions_denied", new [] {
                "LSL_Types.LSLString", "LSL_Types.LSLInteger"
            }));
            LSL2CSCodeTransformer.AddLSLEvent(new EventInfo("path_update", new [] {
                "LSL_Types.LSLInteger", "LSL_Types.List"
            }));
            LSL2CSCodeTransformer.AddLSLEvent(new EventInfo("transaction_result", new [] {
                "LSL_Types.LSLString", "LSL_Types.LSLInteger", "LSL_Types.LSLString"
            }));
        }