예제 #1
0
    public async void CallBuildShip(SB_Shipbuilder_Screen screen)
    {
        Ship shipData = screen.ShipGameObject.shipData;
        Dictionary <string, object> options = new Dictionary <string, object>()
        {
            { "action", "create" },
            { "ship", shipData }
        };
        await shipBuilderRoom.Send(options);

        RoomManager.HandleOnShipBuilt();
    }
예제 #2
0
 public void CallBuildShip(SB_Shipbuilder_Screen screen)
 {
     shipyard.CallBuildShip(screen);
 }