-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
13,409 additions
and
2,925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
AssemblyCopyright.cs |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,69 @@ | ||
// Copyright (c) FFCafe. All rights reserved. | ||
// Copyright (c) FFCafe. All rights reserved. | ||
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information. | ||
|
||
namespace Cafe.Matcha.Constant | ||
{ | ||
internal enum MatchaOpcode : ushort | ||
using System.Collections.Generic; | ||
|
||
internal enum MatchaOpcode | ||
{ | ||
ActorControlSelf, | ||
CEDirector, | ||
CompanyAirshipStatus, | ||
CompanySubmersibleStatus, | ||
ContentFinderNotifyPop, | ||
DirectorStart, | ||
EventPlay, | ||
Examine, | ||
InitZone, | ||
InventoryTransaction, | ||
ItemInfo, | ||
MarketBoardItemListing, | ||
MarketBoardItemListingCount, | ||
MarketBoardItemListingHistory, | ||
PlayerSetup, | ||
PlayerSpawn, | ||
} | ||
|
||
internal static class OpcodeStorage | ||
{ | ||
#if GLOBAL | ||
ActorControlSelf = 0x0165, | ||
DirectorStart = 0x0399, // | ||
ContentFinderNotifyPop = 0x145, | ||
EventPlay = 0x02C3, | ||
Examine = 0x038D, // | ||
InitZone = 0x01CD, | ||
ItemInfo = 0x02AA, | ||
MarketBoardItemListingHistory = 0x0240, | ||
MarketBoardItemListing = 0x00D7, | ||
MarketBoardItemListingCount = 0x0244, | ||
PlayerSpawn = 0x00B9, | ||
PlayerSetup = 0x0071, | ||
#else | ||
ActorControlSelf = 0x007C, | ||
CEDirector = 0x0144, | ||
CompanyAirshipStatus = 0x0271, | ||
CompanySubmersibleStatus = 0x0345, | ||
ContentFinderNotifyPop = 0x02D0, | ||
DirectorStart = 0x02f2, | ||
EventPlay = 0x01B9, | ||
Examine = 0x0316, | ||
InitZone = 0x02D2, | ||
InventoryTransaction = 0x00A8, | ||
ItemInfo = 0x031A, | ||
MarketBoardItemListing = 0x0158, | ||
MarketBoardItemListingCount = 0x0280, | ||
MarketBoardItemListingHistory = 0x01F3, | ||
PlayerSetup = 0x01f9, | ||
PlayerSpawn = 0x00D1, | ||
#endif | ||
public static Dictionary<ushort, MatchaOpcode> Global = new Dictionary<ushort, MatchaOpcode> | ||
{ | ||
{ 0x03d5, MatchaOpcode.ActorControlSelf }, | ||
{ 0x01f5, MatchaOpcode.CEDirector }, | ||
{ 0x0206, MatchaOpcode.CompanyAirshipStatus }, | ||
{ 0x013b, MatchaOpcode.CompanySubmersibleStatus }, | ||
{ 0x026e, MatchaOpcode.ContentFinderNotifyPop }, | ||
{ 0x01d8, MatchaOpcode.DirectorStart }, | ||
{ 0x0276, MatchaOpcode.EventPlay }, | ||
{ 0x0261, MatchaOpcode.Examine }, | ||
{ 0x0233, MatchaOpcode.InitZone }, | ||
{ 0x02ee, MatchaOpcode.InventoryTransaction }, | ||
{ 0x0175, MatchaOpcode.ItemInfo }, | ||
{ 0x016b, MatchaOpcode.MarketBoardItemListing }, | ||
{ 0x00c0, MatchaOpcode.MarketBoardItemListingCount }, | ||
{ 0x01c3, MatchaOpcode.MarketBoardItemListingHistory }, | ||
{ 0x01e9, MatchaOpcode.PlayerSetup }, | ||
{ 0x01ab, MatchaOpcode.PlayerSpawn }, | ||
}; | ||
public static Dictionary<ushort, MatchaOpcode> China = new Dictionary<ushort, MatchaOpcode> | ||
{ | ||
{ 0x007c, MatchaOpcode.ActorControlSelf }, | ||
{ 0x0144, MatchaOpcode.CEDirector }, | ||
{ 0x0271, MatchaOpcode.CompanyAirshipStatus }, | ||
{ 0x0345, MatchaOpcode.CompanySubmersibleStatus }, | ||
{ 0x02d0, MatchaOpcode.ContentFinderNotifyPop }, | ||
{ 0x02f2, MatchaOpcode.DirectorStart }, | ||
{ 0x01b9, MatchaOpcode.EventPlay }, | ||
{ 0x0316, MatchaOpcode.Examine }, | ||
{ 0x02d2, MatchaOpcode.InitZone }, | ||
{ 0x00a8, MatchaOpcode.InventoryTransaction }, | ||
{ 0x031a, MatchaOpcode.ItemInfo }, | ||
{ 0x0158, MatchaOpcode.MarketBoardItemListing }, | ||
{ 0x0280, MatchaOpcode.MarketBoardItemListingCount }, | ||
{ 0x01f3, MatchaOpcode.MarketBoardItemListingHistory }, | ||
{ 0x01f9, MatchaOpcode.PlayerSetup }, | ||
{ 0x00d1, MatchaOpcode.PlayerSpawn }, | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Cafe.Matcha.Constant | ||
{ | ||
public enum Region | ||
{ | ||
Global, | ||
China, | ||
Korea | ||
} | ||
} |
Oops, something went wrong.