本文整理汇总了C#中LuaValue.AsIdentifier方法的典型用法代码示例。如果您正苦于以下问题:C# LuaValue.AsIdentifier方法的具体用法?C# LuaValue.AsIdentifier怎么用?C# LuaValue.AsIdentifier使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LuaValue
的用法示例。
在下文中一共展示了LuaValue.AsIdentifier方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CreateMessage_RetrieveLocals
void CreateMessage_RetrieveLocals(LuaValue thread, int stackFrame)
{
m_writeBuffer.Begin();
m_writeBuffer.Write((int)DebuggerMessage.RetrieveLocals);
m_writeBuffer.WriteObjectID(thread.AsIdentifier());
m_writeBuffer.Write((int)stackFrame);
m_writeBuffer.End();
}
示例2: CreateMessage_RunSnippet
private void CreateMessage_RunSnippet(string snippet, LuaValue thread, int stackFrame)
{
m_writeBuffer.Begin();
m_writeBuffer.Write((int)DebuggerMessage.RunSnippet);
m_writeBuffer.WriteObjectID(thread.AsIdentifier());
m_writeBuffer.Write((int)stackFrame);
m_writeBuffer.Write(snippet);
m_writeBuffer.End();
}
示例3: CreateMessage_RetrieveAutocompleteOptions
private void CreateMessage_RetrieveAutocompleteOptions(int seqid, string expression, LuaValue thread, int stackFrame)
{
m_writeBuffer.Begin();
m_writeBuffer.Write((int)DebuggerMessage.RetrieveAutocompleteOptions);
m_writeBuffer.Write((int)seqid);
m_writeBuffer.WriteObjectID(thread.AsIdentifier());
m_writeBuffer.Write((int)stackFrame);
m_writeBuffer.Write(expression);
m_writeBuffer.End();
}
示例4: CreateMessage_UpdateWatch
private void CreateMessage_UpdateWatch(int watchid, LuaValue thread, int stackFrame)
{
m_writeBuffer.Begin();
m_writeBuffer.Write((int)DebuggerMessage.UpdateWatch);
m_writeBuffer.Write((int)watchid);
m_writeBuffer.WriteObjectID(thread.AsIdentifier());
m_writeBuffer.Write((int)stackFrame);
m_writeBuffer.End();
}