Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
windbot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
windbot
Commits
437b9fb2
Commit
437b9fb2
authored
Jun 22, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "NLua"
This reverts commit
201d8c21
.
parent
0eb79e2b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
10 deletions
+1
-10
.gitmodules
.gitmodules
+0
-3
Game/GameBehavior.cs
Game/GameBehavior.cs
+1
-6
NLua
NLua
+0
-1
No files found.
.gitmodules
deleted
100644 → 0
View file @
0eb79e2b
[submodule "NLua"]
path = NLua
url = https://github.com/NLua/NLua
Game/GameBehavior.cs
View file @
437b9fb2
...
@@ -7,7 +7,6 @@ using System.Text.RegularExpressions;
...
@@ -7,7 +7,6 @@ using System.Text.RegularExpressions;
using
WindBot.Game.AI
;
using
WindBot.Game.AI
;
using
YGOSharp.Network
;
using
YGOSharp.Network
;
using
YGOSharp.Network.Enums
;
using
YGOSharp.Network.Enums
;
using
NLua
;
namespace
WindBot.Game
namespace
WindBot.Game
{
{
...
@@ -27,10 +26,6 @@ namespace WindBot.Game
...
@@ -27,10 +26,6 @@ namespace WindBot.Game
public
GameBehavior
(
GameClient
game
)
public
GameBehavior
(
GameClient
game
)
{
{
Lua
state
=
new
Lua
();
var
res
=
(
double
)
state
.
DoString
(
"return 10 + 3*(5 + 2)"
)[
0
];
Console
.
WriteLine
(
res
);
Game
=
game
;
Game
=
game
;
Connection
=
game
.
Connection
;
Connection
=
game
.
Connection
;
...
@@ -955,4 +950,4 @@ namespace WindBot.Game
...
@@ -955,4 +950,4 @@ namespace WindBot.Game
Connection
.
Send
(
CtosMessage
.
Response
,
reply
);
Connection
.
Send
(
CtosMessage
.
Response
,
reply
);
}
}
}
}
}
}
\ No newline at end of file
NLua
@
106b34ce
Subproject commit 106b34ce219592b766b7a7bbc5b23ceeb360cf2f
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment