screeps/enums/action_error_codes/
mod.rs1mod constructionsite_error_codes;
4mod creep_error_codes;
5mod flag_error_codes;
6#[cfg(feature = "mmo")]
7mod game_cpu_error_codes;
8mod game_map_error_codes;
9mod game_market_error_codes;
10mod powercreep_error_codes;
11mod room_error_codes;
12mod roomposition_error_codes;
13mod sharedcreep_error_codes;
14mod spawning_error_codes;
15mod structure_error_codes;
16mod structurecontroller_error_codes;
17mod structurefactory_error_codes;
18mod structurelab_error_codes;
19mod structurelink_error_codes;
20mod structurenuker_error_codes;
21mod structureobserver_error_codes;
22mod structurepowerspawn_error_codes;
23mod structurerampart_error_codes;
24mod structurespawn_error_codes;
25mod structureterminal_error_codes;
26mod structuretower_error_codes;
27
28pub mod construction_site {
29 pub use super::constructionsite_error_codes::ConstructionSiteRemoveErrorCode;
30}
31
32pub mod creep {
33 pub use super::creep_error_codes::{
34 AttackControllerErrorCode, BuildErrorCode, ClaimControllerErrorCode, CreepAttackErrorCode,
35 CreepCancelOrderErrorCode, CreepHealErrorCode, CreepMoveByPathErrorCode,
36 CreepMoveDirectionErrorCode, CreepMovePulledByErrorCode, CreepMoveToErrorCode,
37 CreepRepairErrorCode, DismantleErrorCode, GenerateSafeModeErrorCode, HarvestErrorCode,
38 PullErrorCode, RangedAttackErrorCode, RangedHealErrorCode, RangedMassAttackErrorCode,
39 ReserveControllerErrorCode, SignControllerErrorCode, UpgradeControllerErrorCode,
40 };
41
42 #[cfg(feature = "seasonal-season-5")]
43 pub use super::creep_error_codes::CreepClaimReactorErrorCode;
44}
45
46pub mod flag {
47 pub use super::flag_error_codes::{
48 FlagRemoveErrorCode, SetColorErrorCode, SetPositionErrorCode,
49 };
50}
51
52pub mod game {
53 use super::{game_map_error_codes, game_market_error_codes};
54
55 #[cfg(feature = "mmo")]
56 use super::game_cpu_error_codes;
57
58 #[cfg(feature = "mmo")]
59 pub mod cpu {
60 pub use super::game_cpu_error_codes::{
61 GeneratePixelErrorCode, SetShardLimitsErrorCode, UnlockErrorCode,
62 };
63 }
64
65 pub mod map {
66 pub use super::game_map_error_codes::{FindExitErrorCode, FindRouteErrorCode};
67 }
68
69 pub mod market {
70 pub use super::game_market_error_codes::{
71 ChangeOrderPriceErrorCode, CreateOrderErrorCode, DealErrorCode, ExtendOrderErrorCode,
72 MarketCancelOrderErrorCode,
73 };
74 }
75}
76
77pub mod powercreep {
78 pub use super::powercreep_error_codes::{
79 DeleteErrorCode, EnableRoomErrorCode, PowerCreepCancelOrderErrorCode,
80 PowerCreepCreateErrorCode, PowerCreepMoveByPathErrorCode, PowerCreepMoveDirectionErrorCode,
81 PowerCreepMoveToErrorCode, RenameErrorCode, RenewErrorCode, SpawnErrorCode,
82 UpgradeErrorCode, UsePowerErrorCode,
83 };
84}
85
86pub mod room {
87 pub use super::room_error_codes::{
88 FindExitToErrorCode, RoomCreateConstructionSiteErrorCode, RoomCreateFlagErrorCode,
89 };
90}
91
92pub mod room_position {
93 pub use super::roomposition_error_codes::{
94 RoomPositionCreateConstructionSiteErrorCode, RoomPositionCreateFlagErrorCode,
95 };
96}
97
98pub mod shared {
99 pub use super::sharedcreep_error_codes::{
100 DropErrorCode, NotifyWhenAttackedErrorCode, PickupErrorCode, SayErrorCode,
101 SuicideErrorCode, TransferErrorCode, WithdrawErrorCode,
102 };
103}
104
105pub mod spawning {
106 pub use super::spawning_error_codes::{CancelErrorCode, SetDirectionsErrorCode};
107}
108
109pub mod structure {
110 pub use super::structure_error_codes::{
111 DestroyErrorCode, StructureNotifyWhenAttackedErrorCode,
112 };
113}
114
115pub mod structure_controller {
116 pub use super::structurecontroller_error_codes::{ActivateSafeModeErrorCode, UnclaimErrorCode};
117}
118
119pub mod structure_factory {
120 pub use super::structurefactory_error_codes::ProduceErrorCode;
121}
122
123pub mod structure_lab {
124 pub use super::structurelab_error_codes::{
125 BoostCreepErrorCode, ReverseReactionErrorCode, RunReactionErrorCode, UnboostCreepErrorCode,
126 };
127}
128
129pub mod structure_link {
130 pub use super::structurelink_error_codes::TransferEnergyErrorCode;
131}
132
133pub mod structure_nuker {
134 pub use super::structurenuker_error_codes::LaunchNukeErrorCode;
135}
136
137pub mod structure_observer {
138 pub use super::structureobserver_error_codes::ObserveRoomErrorCode;
139}
140
141pub mod structure_powerspawn {
142 pub use super::structurepowerspawn_error_codes::ProcessPowerErrorCode;
143}
144
145pub mod structure_rampart {
146 pub use super::structurerampart_error_codes::SetPublicErrorCode;
147}
148
149pub mod structure_spawn {
150 pub use super::structurespawn_error_codes::{
151 RecycleCreepErrorCode, RenewCreepErrorCode, SpawnCreepErrorCode,
152 };
153}
154
155pub mod structure_terminal {
156 pub use super::structureterminal_error_codes::SendErrorCode;
157}
158
159pub mod structure_tower {
160 pub use super::structuretower_error_codes::{
161 TowerAttackErrorCode, TowerHealErrorCode, TowerRepairErrorCode,
162 };
163}
164
165pub use self::{
166 construction_site::*, creep::*, flag::*, game::*, powercreep::*, room::*, room_position::*,
167 shared::*, spawning::*, structure::*, structure_controller::*, structure_factory::*,
168 structure_lab::*, structure_link::*, structure_nuker::*, structure_observer::*,
169 structure_powerspawn::*, structure_rampart::*, structure_spawn::*, structure_terminal::*,
170 structure_tower::*,
171};