repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
apathyboy/swganh
src/swganh_core/object/permissions/permission_type.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { enum PermissionType { DEFAULT_PERMISSION = 1, WORLD_PERMISSION, STATIC_CONTAINER_PERMISSION, WORLD_CELL_PERMISSION, CREATURE_PERMISS...
apathyboy/swganh
src/swganh_core/messages/controllers/show_fly_text.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/obj_controller_message.h" namespace swganh { namespace messages { namespace c...
apathyboy/swganh
src/swganh_core/spawn/fsm_manager.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <vector> #include <map> #include <swganh/event_dispatcher.h> #include <boost/thread/mutex.hpp> namespace swganh { namespace object { class Object; } namespace spawn { ...
apathyboy/swganh
src/swganh_core/object/weapon/weapon.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/tangible/tangible.h" namespace swganh { namespace object { class WeaponFactory; class WeaponMessageBuilder; enum WeaponType { MELEE = 0, RANGED };...
apathyboy/swganh
src/swganh_core/badge/badge_region.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #include <swganh_core/object/object.h> namespace swganh { namespace badge { class BadgeService; class BadgeRegion : public swganh::object::Object { public: BadgeRegion(std::string badge_n...
apathyboy/swganh
src/swganh_core/messages/client_open_container_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct ClientOpenContainerMessage : public BaseSwgMe...
apathyboy/swganh
src/swganh_core/chat/spatial_chat_internal_command.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <memory> #include "swganh_core/command/base_swg_command.h" namespace swganh { namespace chat { class ChatService; /** * An command implementation for spatial ch...
apathyboy/swganh
src/swganh_core/spawn/finite_state_machine.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/spawn/finite_state_machine_interface.h" #include <atomic> #include <map> #include <set> #include <thread> #include <boost/thread/mutex.hpp> #include <boost...
apathyboy/swganh
src/swganh_core/messages/connect_player_response_message.h
<filename>src/swganh_core/messages/connect_player_response_message.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace...
apathyboy/swganh
src/swganh_core/chat/chat_service.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <memory> #include <string> #include <boost/thread/mutex.hpp> #include "swganh_core/chat/chat_service_interface.h" #include...
apathyboy/swganh
src/swganh_core/messages/play_client_effect_object_with_transform_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct PlayClientEffectObjectWithT...
apathyboy/swganh
src/swganh_core/messages/chat/chat_friends_list_update.h
<filename>src/swganh_core/messages/chat/chat_friends_list_update.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_swg_mes...
apathyboy/swganh
src/swganh_core/combat/buff_events.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { class Creature; } namespace combat { struct BuffEvent : swganh::BaseEvent { BuffEvent(swganh::EventType type, std::shared_ptr<swgan...
apathyboy/swganh
src/swganh_core/messages/controllers/player_match_results.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/obj_controller_message.h" namespace swganh { namespace message...
apathyboy/swganh
src/swganh_core/chat/mysql_chat_user_provider.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <unordered_map> #include <boost/thread/mutex.hpp> #include "chat_user_provider_interface.h" namespace swganh { namespace app { class SwganhKernel; } nam...
apathyboy/swganh
src/swganh_core/messages/client_mfd_status_update_message.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <glm/glm.hpp> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace ...
apathyboy/swganh
src/swganh_core/messages/client_create_character.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct ClientCreateCh...
apathyboy/swganh
src/swganh_core/messages/login_cluster_status.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <algorithm> #include <list> #include <string> #include <vector> #include "swganh/byte_buffer.h" #include "base_swg_message.h" #include "swganh_core/log...
apathyboy/swganh
src/swganh_core/object/resource_container/resource_container.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <glm/glm.hpp> #include "swganh_core/object/tangible/tangible.h" namespace swganh { namespace object { class ResourceContainerFactory; class ResourceContainerMessageBui...
apathyboy/swganh
src/swganh_core/sui/sui_service_binding.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #ifndef WIN32 #include <Python.h> #endif #include "swganh/logger.h" #include "swganh/scripting/python_shared_ptr.h" #include <boost/python.hpp> #include <boost/python/overloads...
apathyboy/swganh
src/swganh_core/messages/client_inactivity_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct ClientInactivityMessage : public BaseSwgMessa...
apathyboy/swganh
src/swganh_core/messages/containers/network_map.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <map> #include <queue> #include <functional> #include "swganh_core/messages/baselines_message.h" #include "swganh_core/messages/deltas_message.h" #include "default_seri...
apathyboy/swganh
src/swganh_core/object/installation/resource.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { struct Resource { uint64_t global_id; std::string resource_name; std::string resource_type; }; } }
apathyboy/swganh
src/swganh_core/travel/purchase_ticket_command.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <memory> #include <swganh_core/command/base_swg_command.h> namespace swganh { namespace travel { class TravelService; class PurchaseTicke...
apathyboy/swganh
src/swganh_core/messages/parameters_message.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct ParametersMessage : public Bas...
apathyboy/swganh
src/swganh_core/messages/controllers/object_menu_response.h
<filename>src/swganh_core/messages/controllers/object_menu_response.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/obj_cont...
apathyboy/swganh
src/swganh_core/attributes/attributes_binding.h
<reponame>apathyboy/swganh<filename>src/swganh_core/attributes/attributes_binding.h #pragma once #ifndef WIN32 #include <Python.h> #endif #include "swganh/logger.h" #include "swganh/scripting/python_shared_ptr.h" #include "swganh/app/swganh_kernel.h" #include <boost/python.hpp> #include <boost/python/overloads.hpp> ...
apathyboy/swganh
src/swganh_core/object/permissions/world_cell_permission.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/permissions/container_permissions_interface.h" namespace swganh { namespace object { class WorldCellPermission : public ContainerPermissionsInterfa...
apathyboy/swganh
src/swganh_core/command/base_swg_command.h
<filename>src/swganh_core/command/base_swg_command.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <memory> #include "swganh_core/messages/controllers/command_queue_enqueue.h" #include "command_interface.h" #includ...
apathyboy/swganh
src/swganh_core/login/authentication_manager_interface.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <memory> #include "swganh_core/login/encoders/encoder_interface.h" namespace swganh { namespace login { class Account; class LoginClientInte...
apathyboy/swganh
src/swganh_core/messages/logout_message.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct LogoutMessage : public Bas...
apathyboy/swganh
src/swganh_core/messages/character_sheet_response_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include <glm/glm.hpp> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct Char...
apathyboy/swganh
src/swganh_core/object/creature/mission_critical_object.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { struct MissionCriticalObject { MissionCriticalObject(uint64_t mission_owner_id, uint16_t critical_object_id) : mi...
apathyboy/swganh
src/swganh_core/object/waypoint/waypoint_binding.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/waypoint/waypoint.h" #include <boost/python.hpp> void exportWaypoint() { namespace bp = boost::python; namespace so = swganh::object; ...
apathyboy/swganh
src/swganh_core/messages/base_baselines_message.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct BaseBaselinesMessage : pub...
apathyboy/swganh
src/swganh_core/login/sha512_encoder.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/login/encoders/encoder_interface.h" #include <memory> namespace swganh { namespace database { class DatabaseManager; }} // swganh::database namespace swg...
apathyboy/swganh
src/swganh_core/object/player/player_binding.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/player/player.h" #include "swganh_core/object/creature/creature_binding.h" #include <boost/python.hpp> using namespace boost::python...
apathyboy/swganh
src/swganh_core/messages/enumerate_character_id.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <algorithm> #include <string> #include <vector> #include "swganh/byte_buffer.h" #include "base_swg_message.h" #include "swganh_core/char...
apathyboy/swganh
src/swganh_core/object/player/waypoint_serializer.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/waypoint/waypoint.h" namespace swganh { namespace object { struct PlayerWaypointSerializer { PlayerWaypointSerializer() : waypoint(nullp...
apathyboy/swganh
src/swganh_core/messages/controllers/sit_on_object.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/obj_controller_message.h" namespace swganh { namespace messages { namespace c...
apathyboy/swganh
src/swganh_core/object/intangible/intangible.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh_core/object/object.h" namespace swganh { namespace object { class IntangibleFactory; class Int...
apathyboy/swganh
src/swganh_core/character/character_service_interface.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <tuple> #include <vector> #include "swganh/service/service_interface.h" #include "swganh/app/swganh_kernel.h" #include "swganh_core/messages/delete_c...
apathyboy/swganh
src/swganh_core/object/manufacture_schematic/customization.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { struct Customization { uint16_t index; std::string name; uint32_t pallet_selection; uint32_t pallet_start_index; uint32_t pallet_end_in...
apathyboy/swganh
src/swganh_core/spawn/fsm_state.h
<filename>src/swganh_core/spawn/fsm_state.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/spawn/fsm_state_interface.h" namespace swganh { namespace spawn { class FsmState : public swganh::spawn::FsmSt...
apathyboy/swganh
src/swganh_core/simulation/player_view_box.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <swganh_core/object/object.h> namespace swganh { namespace simulation { class PlayerViewBox : public swganh::object::Object { public: PlayerViewBox(std::shared_ptr...
apathyboy/swganh
src/swganh_core/object/object_controller_interface.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <exception> #include <functional> #include <memory> #include <unordered_map> #include <boost/noncopyable.hpp> #ifdef WIN32 #include <concurrent_unordered_map.h> #else #...
apathyboy/swganh
src/swganh_core/connection/providers/session_provider_interface.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> namespace swganh { namespace connection { namespace providers { class SessionProviderInterface { public: virtual ~SessionProvid...
apathyboy/swganh
src/swganh_core/messages/obj_controller_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { class ObjControllerMessage : public BaseSwgMessage...
apathyboy/swganh
src/swganh_core/login/login_service_interface.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <unordered_map> #include <boost/asio.hpp> #include <boost/thread/mutex.hpp> #include "swganh/active_object.h" #include "swganh/logger.h" #in...
apathyboy/swganh
src/swganh_core/travel/travel_service_interface.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <swganh/service/service_interface.h> namespace swganh { namespace object { class Object; } // namespace swganh::object namespace travel { class TravelS...
apathyboy/swganh
src/swganh_core/messages/update_cell_permission_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct UpdateCellPermissionMessage : public BaseSwgM...
apathyboy/swganh
src/swganh_core/messages/chat/chat_room_message.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_swg_message.h" namespace swganh { namespace me...
apathyboy/swganh
src/swganh_core/messages/play_music_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct PlayMusicMessage : public B...
apathyboy/swganh
src/swganh_core/command/command_factory.h
<reponame>apathyboy/swganh<filename>src/swganh_core/command/command_factory.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <map> #include <tuple> #include <boost/thread/mutex.hpp> #include "swganh_core/command/comm...
apathyboy/swganh
src/swganh_core/object/guild/guild_binding.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/guild/guild.h" #include <boost/python.hpp> using namespace boost::python; using namespace std; using namespace swganh::o...
apathyboy/swganh
src/swganh_core/login/mysql_account_provider.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/login/providers/account_provider_interface.h" namespace swganh { namespace database { class DatabaseManager; }} // swganh::database namespace swganh { na...
apathyboy/swganh
src/swganh_core/equipment/equipment_service.h
<reponame>apathyboy/swganh<filename>src/swganh_core/equipment/equipment_service.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <swganh_core/equipment/equipment_service_interface.h> namespace swganh { namespace tre ...
apathyboy/swganh
src/swganh_core/messages/chat/chat_on_moderator_add.h
<reponame>apathyboy/swganh<filename>src/swganh_core/messages/chat/chat_on_moderator_add.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_sw...
apathyboy/swganh
src/swganh_core/object/player/quest_journal_data.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { struct QuestJournalData { QuestJournalData() : quest_crc(0) , owner_id(0) , active_step_bitmask(0) , com...
apathyboy/swganh
src/swganh_core/simulation/simulation_service_binding.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #ifndef WIN32 #include <Python.h> #endif #include "swganh/scripting/python_shared_ptr.h" #include "simulation_service_interface.h" #include "swganh_core/object/ob...
apathyboy/swganh
src/swganh_core/object/creature/stat_index.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { /** * Represents a Stats index. */ enum StatIndex : uint16_t { HEALTH = 0, STRENGTH, CONSTITUTION, ACTION, ...
apathyboy/swganh
src/swganh_core/messages/controllers/remove_buff.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh/hash_string.h" #include "swganh_core/messages/obj_controller_message.h" namespace swganh { ...
apathyboy/swganh
src/swganh_core/messages/out_of_band.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <memory> #include <string> namespace swganh{ class ByteBuffer; } /*! \brief Common is a catch-all library containing primarily base classes and ...
apathyboy/swganh
src/swganh_core/messages/cancel_live_auction_response_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct CancelLiveAuctionResponseMessage : public Bas...
apathyboy/swganh
src/swganh_core/messages/create_immediate_auction_message.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct CreateImmedi...
apathyboy/swganh
src/swganh_core/command/command_interface.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <functional> #include <memory> #include <boost/optional.hpp> #include "swganh/app/swganh_kernel.h" namespace swganh { namespace obser...
apathyboy/swganh
src/swganh_core/object/slot_interface.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <memory> #include <functional> namespace swganh { namespace object { class Object; class SlotInterface { public: virtual ~SlotInterface() {} virtual std::share...
apathyboy/swganh
src/swganh_core/command/command_service_binding.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace command { void ExportCommandService(); }}
apathyboy/swganh
src/swganh_core/object/mission/mission_message_builder.h
<filename>src/swganh_core/object/mission/mission_message_builder.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #ifndef SWGANH_OBJECT_MISSION_MISSION_MESSAGE_BUILDER_H_ #define SWGANH_OBJECT_MISSION_MISSION_MESSAGE_BUILDER_H_ #include "...
apathyboy/swganh
src/swganh_core/messages/create_client_path_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <algorithm> #include <glm/glm.hpp> #include <list> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages...
apathyboy/swganh
src/swganh_core/login/mysql_session_provider.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/connection/providers/session_provider_interface.h" #include <memory> namespace swganh { namespace database { class DatabaseManager; }} // swganh::database...
apathyboy/swganh
src/swganh_core/object/resource_container/resource_container_message_builder.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #ifndef SWGANH_OBJECT_RESOURCE_CONTAINER_RESOURCE_CONTAINER_MESSAGE_BUILDER_H_ #define SWGANH_OBJECT_RESOURCE_CONTAINER_RESOURCE_CONTAINER_MESSAGE_BUILDER_H_ #include <cstdint> #include <stri...
apathyboy/swganh
src/swganh_core/static/skill_manager.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <swganh_core/object/creature/creature.h> namespace sql { class Statement; class ResultSet; } namespace swganh { namespace object { class Creature; } namespace sta...
apathyboy/swganh
src/swganh_core/object/creature/creature_offset.h
<filename>src/swganh_core/object/creature/creature_offset.h<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { /** * Represents the id offset of various "linked" items. */ enu...
apathyboy/swganh
src/swganh_core/messages/badges_response_message.h
<filename>src/swganh_core/messages/badges_response_message.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <array> #include <bitset> #include "swganh/byte_buffer.h" #include "base_swg_message.h" ...
apathyboy/swganh
src/swganh_core/spawn/fsm_controller.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <swganh/observer/observer_interface.h> #include <swganh_core/spawn/fsm_state_interface.h> #include "boost/date_time/posix_time/posix_time_types.hpp" #include <queue> #i...
apathyboy/swganh
src/swganh_core/command/base_combat_command.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "base_swg_command.h" namespace swganh { namespace combat { struct CombatData; } namespace command { class BaseCombatCommand : public BaseSwgCommand, public std::e...
apathyboy/swganh
src/swganh_core/messages/base_swg_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cassert> #include <cstdint> #include "swganh/byte_buffer.h" #include "swganh/utilities.h" namespace swganh { namespace messages { struct BaseSwgMessage ...
apathyboy/swganh
src/swganh_core/object/object_events.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #include "swganh/event_dispatcher.h" #include "object.h" namespace swganh { namespace object { struct ControllerEvent : swganh::BaseEvent { ControllerEvent(swganh::EventType type, std::s...
apathyboy/swganh
src/swganh_core/messages/chat/chat_system_message.h
<reponame>apathyboy/swganh<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_swg_message.h" namespace swganh { namespace messag...
apathyboy/swganh
src/swganh_core/messages/sui_create_page_message.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <glm/glm.hpp> #include "swganh/byte_buffer.h" #include "base_swg_message.h" #include <swganh_core/sui/sui_window_interface....
apathyboy/swganh
src/swganh_core/simulation/scene_events.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh/event_dispatcher.h" namespace swganh { namespace simulation { struct NewSceneEvent : swganh::BaseEvent { NewSceneEvent(swganh::EventType type, uint32_t scene_i...
apathyboy/swganh
src/swganh_core/messages/chat/chat_persistent_message_to_server.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <glm/glm.hpp> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_swg_message.h" namespace swganh { namespace messag...
apathyboy/swganh
src/swganh_core/object/manufacture_schematic/manufacture_schematic.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh_core/object/intangible/intangible.h" #include "swganh_core/messages/containers/network_vector.h" #include "swganh_core/mess...
apathyboy/swganh
src/swganh_core/messages/controllers/combat_action_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "swganh_core/messages/obj_controller_message.h" namespace swganh { namespace messages { namespace controllers { enu...
apathyboy/swganh
src/swganh_core/object/guild/guild_tag.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { struct GuildTag { GuildTag(uint32_t id_, std::string abbreviation_) : id(id_) , abbreviation(abbreviation_) {} ...
apathyboy/swganh
src/swganh_core/messages/faction_response_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <algorithm> #include <list> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { ...
apathyboy/swganh
src/swganh_core/messages/system_message.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <memory> #include <string> #include "swganh_core/messages/controllers/show_fly_text.h" #include <glm/glm.hpp> #include <glm/gtx/quatern...
apathyboy/swganh
src/swganh_core/simulation/simulation_service.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/simulation/simulation_service_interface.h" namespace swganh { namespace network { class ServerInterface; } namespace object { class ObjectManager; } n...
apathyboy/swganh
src/swganh_core/spawn/rectangle_spawn_region.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "spawn_region.h" #include <boost/geometry/geometries/point_xy.hpp> namespace swganh { namespace terrain { class TerrainServiceInterface; } namespace s...
apathyboy/swganh
src/swganh_core/messages/attribute_list_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <algorithm> #include <string> #include <vector> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { ...
apathyboy/swganh
src/swganh_core/map/map_service_binding.h
<filename>src/swganh_core/map/map_service_binding.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #ifndef WIN32 #include <Python.h> #endif #include "swganh/scripting/python_shared_ptr.h" #include "map_service_interface.h" #...
apathyboy/swganh
src/swganh_core/messages/execute_console_command.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct ExecuteConsoleCommand : pub...
apathyboy/swganh
src/swganh_core/messages/get_map_locations_response_message.h
<filename>src/swganh_core/messages/get_map_locations_response_message.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <algorithm> #include <list> #include <string> #include "swganh/byte_buffer.h" #...
aceeric/aws-crt-java
src/native/directory_traversal.c
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include "crt.h" #include "java_class_ids.h" #include <aws/common/file.h> #include <aws/common/string.h> struct directory_traversal_callback_ctx { JNIEnv *env; jobject handler; }; static bool ...
aaronsky/metal-playground
MetalPlayground/Supporting Files/MetalPlayground-Bridging-Header.h
// // MetalPlayground-Bridging-Header.h // MetalPlayground // // Created by <NAME> on 4/9/20. // #ifndef MetalPlayground_Bridging_Header_h #define MetalPlayground_Bridging_Header_h #import "ShaderTypes.h" #endif /* MetalPlayground_Bridging_Header_h */
aaronsky/metal-playground
MetalPlayground/Engine/Content/Shaders/ShaderTypes.h
<filename>MetalPlayground/Engine/Content/Shaders/ShaderTypes.h /* Header containing types and enum constants shared between Metal shaders and C/ObjC source */ #ifndef ShaderTypes_h #define ShaderTypes_h #include <simd/simd.h> typedef enum __attribute__ ((enum_extensibility(closed))) VertexAttribute { VertexAtt...
jspam/stubby
src/configfile.c
/* * Copyright (c) 2020, NLNet Labs, Sinodun * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of cond...
tofhddl9/Pinball-with-Box2D
PinballGame/PinballGame/Flipper.h
#pragma once #include <Box2D/Box2D.h> #include <GL/glut.h> #include "setting.h" class Flipper { public: Flipper(b2World*, const b2Vec2 pivot_pos, const float head_angle, const bool is_left, b2Vec2 LWH); Flipper(b2World*, const b2Vec2 pivot_pos, const b2Vec2 LWH); ~Flipper(); void Render(); ...
tofhddl9/Pinball-with-Box2D
PinballGame/PinballGame/piston.h
<reponame>tofhddl9/Pinball-with-Box2D<gh_stars>0 #pragma once #include "Box2D/Box2D.h" #include "GL/glut.h" #include "setting.h" class Piston { public: Piston(b2World *world, const b2Vec2 pivot_pos, const b2Vec2 head_pos, const float radius); void Pull(); void Push(int time); void Render(); pr...